Skip to content

Commit

Permalink
[ci] deflake rllib release tests (#45901) (#46114)
Browse files Browse the repository at this point in the history
Some of the rllib release tests are still flaky; let's first narrow down
the impact to the dreamerv3 test only to deflake other tests; also mark
dreamerv3 as non-release-blocking, would love your confirmation here
@sven1977 thanks

Test:
- release tests

Signed-off-by: can <[email protected]>
  • Loading branch information
can-anyscale authored Jun 18, 2024
1 parent 4d5768b commit 97c3729
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 9 additions & 0 deletions release/ray_release/byod/byod_rllib_dreamerv3_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# This script is used to build an extra layer on top of the base anyscale/ray image
# to run RLlib dreamerv3 release tests.

set -exo pipefail

# Only DreamerV3 still uses tf on the new API stack. But requires tf==2.11.1 to run.
pip uninstall -y tensorflow tensorflow_probability
pip install tensorflow==2.11.1 tensorflow_probability==0.19.0
4 changes: 0 additions & 4 deletions release/ray_release/byod/byod_rllib_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,3 @@ pip install werkzeug==2.3.8

# not strictly necessary, but makes debugging easier
git clone https://github.com/ray-project/ray.git

# Only DreamerV3 still uses tf on the new API stack. But requires tf==2.11.1 to run.
pip uninstall -y tensorflow tensorflow_probability
pip install tensorflow==2.11.1 tensorflow_probability==0.19.0
4 changes: 2 additions & 2 deletions release/release_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2747,14 +2747,14 @@
group: RLlib tests
working_dir: rllib_tests

stable: true
stable: false

frequency: weekly
team: rllib
cluster:
byod:
type: gpu
post_build_script: byod_rllib_test.sh
post_build_script: byod_rllib_dreamerv3_test.sh
runtime_env:
- RLLIB_TEST_NO_JAX_IMPORT=1
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ray/.mujoco/mujoco210/bin
Expand Down

0 comments on commit 97c3729

Please sign in to comment.