Skip to content

Commit

Permalink
chore: bump Pytorch version to 2.2.1 in tests (#230)
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <[email protected]>
  • Loading branch information
SdgJlbl authored Jul 25, 2024
1 parent 5c3d3e4 commit d91ab40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/230.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump pytorch version to 2.2.1 in tests.
2 changes: 1 addition & 1 deletion tests/algorithms/pytorch/test_base_algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def test_gpu(
algo_class, strategy_class, use_gpu = dummy_gpu
my_algo = algo_class()
algo_deps = Dependency(
pypi_dependencies=["torch==2.0.1", "numpy==1.24.3", "pytest"],
pypi_dependencies=["torch==2.2.1", "numpy==1.24.3", "pytest"],
editable_mode=True,
)

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def aggregation_node(network):
def torch_cpu_dependency():
return Dependency(
pypi_dependencies=[
"torch==2.0.1",
"torch==2.2.1",
"numpy==1.24.3",
"--extra-index-url https://download.pytorch.org/whl/cpu",
],
Expand Down

0 comments on commit d91ab40

Please sign in to comment.