Spaces:
Runtime error
Runtime error
Fix apex build
Browse files- model.py +1 -1
- packages.txt +1 -0
model.py
CHANGED
@@ -22,7 +22,7 @@ if os.getenv('SYSTEM') == 'spaces':
|
|
22 |
subprocess.run('git clone https://github.com/NVIDIA/apex'.split())
|
23 |
subprocess.run('git checkout 1403c21'.split(), cwd='apex')
|
24 |
subprocess.run(
|
25 |
-
'pip install -v --disable-pip-version-check --no-cache-dir --global-option
|
26 |
.split(),
|
27 |
cwd='apex')
|
28 |
subprocess.run('rm -rf apex'.split())
|
|
|
22 |
subprocess.run('git clone https://github.com/NVIDIA/apex'.split())
|
23 |
subprocess.run('git checkout 1403c21'.split(), cwd='apex')
|
24 |
subprocess.run(
|
25 |
+
'pip install -v --disable-pip-version-check --no-cache-dir --global-option --cpp_ext --global-option --cuda_ext ./'
|
26 |
.split(),
|
27 |
cwd='apex')
|
28 |
subprocess.run('rm -rf apex'.split())
|
packages.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
ninja-build
|