Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Fix h5py dependency in olddeps #2513

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/unittest/linux_libs/scripts_rlhf/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ git submodule sync && git submodule update --init --recursive
printf "Installing PyTorch with cu121"
if [[ "$TORCH_VERSION" == "nightly" ]]; then
if [ "${CU_VERSION:-}" == cpu ] ; then
pip3 install --pre torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cpu -U
pip3 install --pre torch "numpy<2.0.0" --index-url https://download.pytorch.org/whl/nightly/cpu -U
else
pip3 install --pre torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/nightly/cu121 -U
pip3 install --pre torch "numpy<2.0.0" --index-url https://download.pytorch.org/whl/nightly/cu121 -U
fi
elif [[ "$TORCH_VERSION" == "stable" ]]; then
if [ "${CU_VERSION:-}" == cpu ] ; then
pip3 install torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/cpu
pip3 install torch "numpy<2.0.0" --index-url https://download.pytorch.org/whl/cpu
else
pip3 install torch numpy==1.26.4 --index-url https://download.pytorch.org/whl/cu121
pip3 install torch "numpy<2.0.0" --index-url https://download.pytorch.org/whl/cu121
fi
else
printf "Failed to install pytorch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ dependencies:
- pyopengl==3.1.4
- ray
- av
- h5py
3 changes: 3 additions & 0 deletions test/test_cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
pytest.mark.filterwarnings(
"ignore:The current behavior of MLP when not providing `num_cells` is that the number"
),
pytest.mark.filterwarnings(
"ignore:dep_util is Deprecated. Use functions from setuptools instead"
),
]


Expand Down
Loading