Skip to content

Commit

Permalink
fix: bump numpy version in tests
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl committed Oct 1, 2024
1 parent ba2eb8f commit a8e46c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions benchmark/camelyon/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def substrafl_fed_avg(
)

pypi_dependencies = [
"numpy==1.26.4",
"torch==2.3.0",
"scikit-learn==1.5.1",
"numpy==2.1.1",
"torch==2.4.1",
"scikit-learn==1.5.2",
]
if not use_gpu:
pypi_dependencies += ["--extra-index-url https://download.pytorch.org/whl/cpu"]
Expand Down
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 @@ -471,7 +471,7 @@ def test_gpu(
algo_class, strategy_class, disable_gpu = dummy_gpu
my_algo = algo_class()
algo_deps = Dependency(
pypi_dependencies=["torch==2.2.1", "numpy==1.26.4", "pytest"],
pypi_dependencies=["torch==2.4.1", "numpy==2.2.1", "pytest"],
editable_mode=True,
)

Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ def aggregation_node(network):
def torch_cpu_dependency():
return Dependency(
pypi_dependencies=[
"torch==2.2.1",
"numpy==1.26.4",
"torch==2.4.1",
"numpy==2.1.1",
"--extra-index-url https://download.pytorch.org/whl/cpu",
],
editable_mode=True,
Expand Down

0 comments on commit a8e46c3

Please sign in to comment.