Ashish Ajin
commited on
Commit
Β·
cf32271
1
Parent(s):
77438fc
Fix diffvg build by removing outdated commit
Browse files- Dockerfile +1 -2
- README.md +0 -1
Dockerfile
CHANGED
|
@@ -32,10 +32,9 @@ RUN pip install --upgrade pip \
|
|
| 32 |
--extra-index-url https://download.pytorch.org/whl/cu118 \
|
| 33 |
&& pip install --no-cache-dir -r requirements.txt
|
| 34 |
|
| 35 |
-
# ββ Build diffvg from
|
| 36 |
RUN git clone https://github.com/BachiLi/diffvg.git /tmp/diffvg \
|
| 37 |
&& cd /tmp/diffvg \
|
| 38 |
-
&& git checkout 7aa22d3f1ef72e22e5cfae3c8c50288f31bc9bcf \
|
| 39 |
&& git submodule update --init --recursive \
|
| 40 |
&& mkdir build && cd build \
|
| 41 |
&& cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON \
|
|
|
|
| 32 |
--extra-index-url https://download.pytorch.org/whl/cu118 \
|
| 33 |
&& pip install --no-cache-dir -r requirements.txt
|
| 34 |
|
| 35 |
+
# ββ Build diffvg from source ββββββββββββββββ
|
| 36 |
RUN git clone https://github.com/BachiLi/diffvg.git /tmp/diffvg \
|
| 37 |
&& cd /tmp/diffvg \
|
|
|
|
| 38 |
&& git submodule update --init --recursive \
|
| 39 |
&& mkdir build && cd build \
|
| 40 |
&& cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON \
|
README.md
CHANGED
|
@@ -79,7 +79,6 @@ pip install transformers scipy ftfy accelerate
|
|
| 79 |
```bash
|
| 80 |
git clone https://github.com/BachiLi/diffvg.git
|
| 81 |
cd diffvg
|
| 82 |
-
git checkout 7aa22d3f1ef72e22e5cfae3c8c50288f31bc9bcf
|
| 83 |
git submodule update --init --recursive
|
| 84 |
mkdir build && cd build
|
| 85 |
cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON \
|
|
|
|
| 79 |
```bash
|
| 80 |
git clone https://github.com/BachiLi/diffvg.git
|
| 81 |
cd diffvg
|
|
|
|
| 82 |
git submodule update --init --recursive
|
| 83 |
mkdir build && cd build
|
| 84 |
cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON \
|