Skip to content

Commit d76c49b

Browse files
committed
use deprecated solver
1 parent 53a6d16 commit d76c49b

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,8 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip setuptools wheel
32-
python -m pip install --index-url https://download.pytorch.org/whl/cpu "torch>=2.7"
33-
python -m pip install "numpy<2.0.0" "scipy>=1.12.0" cython --upgrade
34-
python -m pip install --only-binary=:all: "GPy>=1.13.1" "paramz>=0.9.6"
35-
python -m pip install "pymoo==0.6.0"
36-
python -m pip install -e .[dev] --check-build-dependencies --use-pep517
32+
python -m pip install --index-url https://download.pytorch.org/whl/cpu "torch>=2.2"
33+
python -m pip install -e .[dev] --check-build-dependencies --use-pep517 --upgrade --upgrade-strategy eager --use-deprecated=legacy-resolver
3734
python -m pip install pytest
3835
- name: Run toy model tests
3936
run: pytest test/test_toy_training.py -q

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ classifiers = ["Intended Audience :: Developers",
1515
"Programming Language :: Python :: 3",
1616
]
1717
dependencies = ["opt-einsum>=3.4.0",
18-
"torch>=2.7.0",
18+
"torch>=2.2,<3.0",
1919
"numpy<2.0.0",
2020
]
2121
keywords = ["torch",

0 commit comments

Comments
 (0)