fix
parent
1c6eff0a99
commit
a8fe7aa1b1
|
@ -222,18 +222,19 @@ jobs:
|
|||
- name: Install PyTorch
|
||||
run: |
|
||||
python -V
|
||||
python -m pip list
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
|
||||
python -m pip install --no-cache-dir torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -V
|
||||
export CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'`
|
||||
python -m pip install openmim
|
||||
python -m pip install -r requirements.txt
|
||||
python -m pip install -r requirements/backends.txt
|
||||
python -m pip install --no-cache-dir openmim
|
||||
python -m pip install --no-cache-dir -r requirements.txt
|
||||
python -m pip install --no-cache-dir -r requirements/backends.txt
|
||||
python -m mim install "mmcv>=2.0.0rc1"
|
||||
python -m mim install -r requirements/codebases.txt
|
||||
python -m pip install -U pycuda numpy clip numba transformers
|
||||
python -m pip install --no-cache-dir -U pycuda numpy==1.23 clip numba transformers
|
||||
python -m pip list
|
||||
- name: Build and install
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue