pull/2187/head
RunningLeon 2023-06-26 13:01:00 +08:00
parent 1c6eff0a99
commit a8fe7aa1b1
1 changed files with 6 additions and 5 deletions

View File

@ -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: |