diff --git a/.github/workflows/deploy_on_release.yml b/.github/workflows/deploy_on_release.yml index aa5a7da210..41cf8a357a 100644 --- a/.github/workflows/deploy_on_release.yml +++ b/.github/workflows/deploy_on_release.yml @@ -62,8 +62,6 @@ jobs: run: | # avoid conda bug in >=23.10.0: https://github.com/conda/conda/issues/13412 conda config --set solver classic - # avoid issues with numpy 2.0 on windows builds and in tensorboard - conda install -y "numpy<2.0" conda install -y setuptools_scm conda-build conda-verify anaconda-client conda install -y scipy sphinx pytest flake8 multipledispatch conda install -y -c pytorch pytorch cpuonly diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1975325b67..60832a162b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -32,7 +32,7 @@ jobs: env: ALLOW_LATEST_GPYTORCH_LINOP: true run: | - pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html + pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu pip install git+https://github.com/cornellius-gp/linear_operator.git pip install git+https://github.com/cornellius-gp/gpytorch.git pip install .[test] @@ -81,8 +81,6 @@ jobs: run: | # avoid conda bug in >=23.10.0: https://github.com/conda/conda/issues/13412 conda config --set solver classic - # avoid issues with numpy 2.0 on windows builds and in tensorboard - conda install -y "numpy<2.0" conda install -y scipy multipledispatch setuptools_scm conda-build conda-verify conda config --set anaconda_upload no conda install -y -c pytorch-nightly pytorch cpuonly diff --git a/.github/workflows/reusable_test_pip.yml b/.github/workflows/reusable_test_pip.yml index cc0e436d4a..accc6cbb28 100644 --- a/.github/workflows/reusable_test_pip.yml +++ b/.github/workflows/reusable_test_pip.yml @@ -36,7 +36,7 @@ jobs: env: ALLOW_LATEST_GPYTORCH_LINOP: true run: | - pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html + pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu pip install git+https://github.com/cornellius-gp/linear_operator.git pip install git+https://github.com/cornellius-gp/gpytorch.git pip install .[test] diff --git a/.github/workflows/reusable_tutorials.yml b/.github/workflows/reusable_tutorials.yml index 02cfb1d89d..0b9aa1120b 100644 --- a/.github/workflows/reusable_tutorials.yml +++ b/.github/workflows/reusable_tutorials.yml @@ -43,7 +43,7 @@ jobs: - if: ${{ !inputs.use_stable_pytorch_gpytorch }} name: Install latest PyTorch & GPyTorch run: | - pip install torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html + pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu pip install git+https://github.com/cornellius-gp/linear_operator.git pip install git+https://github.com/cornellius-gp/gpytorch.git - if: ${{ inputs.use_stable_pytorch_gpytorch }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e83ff0d0e5..7b404159ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,8 +38,6 @@ jobs: run: | # avoid conda bug in >=23.10.0: https://github.com/conda/conda/issues/13412 conda config --set solver classic - # avoid issues with numpy 2.0 on windows builds and in tensorboard - conda install -y "numpy<2.0" conda install pytorch torchvision -c pytorch conda install -y pip scipy sphinx pytest flake8 pip install git+https://github.com/cornellius-gp/linear_operator.git diff --git a/.github/workflows/test_stable.yml b/.github/workflows/test_stable.yml index 207ff8edcc..4294e165f1 100644 --- a/.github/workflows/test_stable.yml +++ b/.github/workflows/test_stable.yml @@ -33,8 +33,6 @@ jobs: run: | # avoid conda bug in >=23.10.0: https://github.com/conda/conda/issues/13412 conda config --set solver classic - # avoid issues with numpy 2.0 on windows builds and in tensorboard - conda install -y "numpy<2.0" conda install -y -c pytorch pytorch cpuonly conda install -y pip scipy pytest conda install -y -c gpytorch gpytorch diff --git a/environment.yml b/environment.yml index bfc82679ad..f659c7b9c3 100644 --- a/environment.yml +++ b/environment.yml @@ -10,4 +10,3 @@ dependencies: - scipy - multipledispatch - pyro-ppl>=1.8.4 - - numpy<2.0 diff --git a/requirements.txt b/requirements.txt index 0fe509cb76..c094eede8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,3 @@ torch>=1.13.1 pyro-ppl>=1.8.4 gpytorch==1.12 linear_operator==0.5.2 -numpy<2.0