Skip to content

Commit

Permalink
set torch dependency < 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
luigibonati committed Jun 11, 2024
1 parent dbcc3c5 commit ececfae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
# Package dependencies
- numpy
- pandas
- pytorch
- pytorch<2.3
- pydantic<2
- lightning
- matplotlib
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
# Core dependencies
- numpy
- pandas
- pytorch
- pytorch<2.3
- pydantic<2 # workaround to avoid clashes with lightning
- lightning

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ requires-python = ">=3.8"
# Declare any run-time dependencies that should be installed with the package.
dependencies = [
"lightning",
"torch",
"torch<2.3",
"numpy",
"pandas",
"matplotlib",
Expand Down

0 comments on commit ececfae

Please sign in to comment.