Commit
·
cdf1f46
1
Parent(s):
6e625ce
small change
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -40,7 +40,7 @@ RUN git clone https://github.com/BachiLi/diffvg.git /tmp/diffvg \
|
|
| 40 |
&& cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON \
|
| 41 |
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \
|
| 42 |
&& make -j$(nproc) \
|
| 43 |
-
&& cd
|
| 44 |
python setup.py install --user \
|
| 45 |
&& cd /app \
|
| 46 |
&& rm -rf /tmp/diffvg
|
|
|
|
| 40 |
&& cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON \
|
| 41 |
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \
|
| 42 |
&& make -j$(nproc) \
|
| 43 |
+
&& cd .. && TORCH_CUDA_ARCH_LIST="6.0;7.0;7.5;8.0;8.6;8.9" \
|
| 44 |
python setup.py install --user \
|
| 45 |
&& cd /app \
|
| 46 |
&& rm -rf /tmp/diffvg
|