hysts HF staff commited on
Commit
b5a91f5
1 Parent(s): 38ca5e2

Fix apex build

Browse files
Files changed (2) hide show
  1. model.py +1 -1
  2. 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="--cpp_ext" --global-option="--cuda_ext" ./'
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