Skip to content

Commit

Permalink
chore: bump NumPy
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <[email protected]>
  • Loading branch information
SdgJlbl committed Jul 25, 2024
1 parent d91ab40 commit b79c9dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/231.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump NumPy version to 1.26.4 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.2.1", "numpy==1.24.3", "pytest"],
pypi_dependencies=["torch==2.2.1", "numpy==1.26.4", "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 @@ -312,7 +312,7 @@ def torch_cpu_dependency():
return Dependency(
pypi_dependencies=[
"torch==2.2.1",
"numpy==1.24.3",
"numpy==1.26.4",
"--extra-index-url https://download.pytorch.org/whl/cpu",
],
editable_mode=True,
Expand Down

0 comments on commit b79c9dd

Please sign in to comment.