Install numpy in CI.

This commit is contained in:
Fangjun Kuang 2022-06-01 19:46:16 +08:00
parent a81f3618ff
commit f3de3c67d7
2 changed files with 5 additions and 5 deletions

View File

@ -84,11 +84,11 @@ jobs:
torch: ${{ matrix.torch }} torch: ${{ matrix.torch }}
shell: bash shell: bash
run: | run: |
sudo apt update sudo apt-get update
sudo apt install libsndfile1-dev libsndfile1 ffmpeg sudo apt-get install -y libsndfile1-dev libsndfile1 ffmpeg
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
python3 -m pip install wheel twine typing_extensions soundfile python3 -m pip install wheel twine typing_extensions soundfile
python3 -m pip install bs4 requests tqdm python3 -m pip install bs4 requests tqdm numpy
./scripts/github_actions/install_torch.sh ./scripts/github_actions/install_torch.sh
python3 -c "import torch; print('torch version:', torch.__version__)" python3 -c "import torch; print('torch version:', torch.__version__)"

View File

@ -80,7 +80,7 @@ jobs:
sudo apt install libsndfile1-dev libsndfile1 ffmpeg sudo apt install libsndfile1-dev libsndfile1 ffmpeg
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
python3 -m pip install wheel twine typing_extensions soundfile python3 -m pip install wheel twine typing_extensions soundfile
python3 -m pip install bs4 requests tqdm python3 -m pip install bs4 requests tqdm numpy
./scripts/github_actions/install_torch.sh ./scripts/github_actions/install_torch.sh
python3 -c "import torch; print('torch version:', torch.__version__)" python3 -c "import torch; print('torch version:', torch.__version__)"
@ -91,7 +91,7 @@ jobs:
run: | run: |
python3 -m pip install -qq --upgrade pip python3 -m pip install -qq --upgrade pip
python3 -m pip install -qq wheel twine typing_extensions soundfile python3 -m pip install -qq wheel twine typing_extensions soundfile
python3 -m pip install -qq torch==${{ matrix.torch }} python3 -m pip install -qq torch==${{ matrix.torch }} numpy
python3 -c "import torch; print('torch version:', torch.__version__)" python3 -c "import torch; print('torch version:', torch.__version__)"