diff --git a/.github/workflows/download-emnist.yml b/.github/workflows/download-emnist.yml index 3df8bd7..54722ed 100644 --- a/.github/workflows/download-emnist.yml +++ b/.github/workflows/download-emnist.yml @@ -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 diff --git a/.github/workflows/example-emnist.yml b/.github/workflows/example-emnist.yml index d72abaf..90350f2 100644 --- a/.github/workflows/example-emnist.yml +++ b/.github/workflows/example-emnist.yml @@ -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 diff --git a/.github/workflows/example-plots.yml b/.github/workflows/example-plots.yml index 0aca059..535fbcb 100644 --- a/.github/workflows/example-plots.yml +++ b/.github/workflows/example-plots.yml @@ -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 diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 2016504..a749efa 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -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: |