Skip to content

Commit

Permalink
Fix pip install numpy<2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony-Y committed Sep 21, 2024
1 parent 7f10156 commit 538e874
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/download-emnist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
sudo apt-get update && sudo apt-get install -y libtinfo5
python -m pip install --upgrade pip
pip install numpy<2 -U
pip install 'numpy<2' -U
pip install torchvision==${{ matrix.torchvision-version }} -f https://download.pytorch.org/whl/torch_stable.html
pip install setuptools
pip install requests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-emnist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy<2 -U
pip install 'numpy<2' -U
pip install torch==${{ matrix.pytorch-version }}${{ matrix.pytorch-option }} torchvision==${{ matrix.torchvision-version }}${{ matrix.pytorch-option }} -f https://download.pytorch.org/whl/torch_stable.html
pip install setuptools
pip install requests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-plots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy<2 -U
pip install 'numpy<2' -U
pip install torch==${{ matrix.pytorch-version }}${{ matrix.pytorch-option }} -f https://download.pytorch.org/whl/torch_stable.html
pip install matplotlib
pip install setuptools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy<2 -U
pip install 'numpy<2' -U
pip install torch==${{ matrix.pytorch-version }}${{ matrix.pytorch-option }} -f https://download.pytorch.org/whl/torch_stable.html
- name: Lint with flake8
run: |
Expand Down

0 comments on commit 538e874

Please sign in to comment.