Spaces:
Running
on
Zero
Running
on
Zero
NIRVANALAN
commited on
Commit
•
97996d9
1
Parent(s):
a032561
update dep
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def install_dependency():
|
|
41 |
|
42 |
# install apex
|
43 |
subprocess.run(
|
44 |
-
f'FORCE_CUDA=1 {sys.executable} -m pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" git+https://github.com/NVIDIA/apex.git@master',
|
45 |
shell=True,
|
46 |
)
|
47 |
|
|
|
41 |
|
42 |
# install apex
|
43 |
subprocess.run(
|
44 |
+
f'TORCH_CUDA_ARCH_LIST="compute capability" FORCE_CUDA=1 {sys.executable} -m pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" git+https://github.com/NVIDIA/apex.git@master',
|
45 |
shell=True,
|
46 |
)
|
47 |
|