-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[RLlib] Upgrade RLlib regression test scripts to new testing tool. #16080
[RLlib] Upgrade RLlib regression test scripts to new testing tool. #16080
Conversation
…b_regression_test_scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, left a couple of minor comments. Feel free to ignore. Assuming the tests run and pass on the releaser tool, feel free to merge
release/rllib_tests/README.rst
Outdated
|
||
Overview | ||
-------- | ||
There are ??? kinds of tests: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fill out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
release/rllib_tests/app_config.yaml
Outdated
#- sudo mkdir -p /data || true | ||
#- sudo chown ray:1000 /data || true | ||
#- rm -rf /data/classification.parquet || true | ||
#- curl -so create_test_data.py https://raw.githubusercontent.com/ray-project/ray/releases/1.3.0/release/xgboost_tests/create_test_data.py | ||
#- python create_test_data.py /data/classification.parquet --seed 1234 --num-rows 1000000 --num-cols 40 --num-partitions 100 --num-classes 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
release/rllib_tests/rllib_tests.yaml
Outdated
|
||
run: | ||
timeout: 3600 | ||
script: unit_gpu_tests/run.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work? Or do we need to use bash unit_gpu_tests/run.sh
? (Is +x set automatically)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
break | ||
|
||
# Run remaining experiments. | ||
trials = run_experiments(experiments_to_run, resume=False, verbose=2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we add a ray.tune.utils.release_test_util.ProgressCallback
here? Then we could track some progress after kicking off. Not mandatory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this for the next release, then. Lot's of changes to the RLlib release tests coming up :)
break | ||
|
||
# Run remaining experiments. | ||
trials = run_experiments(experiments_to_run, resume=False, verbose=2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we add a ray.tune.utils.release_test_util.ProgressCallback
here? Then we could track some progress after kicking off. Not mandatory.
…b_regression_test_scripts
…b_regression_test_scripts
This PR translates all existing RLlib release tests to run with the new
Releaser
tool via anyscale.Why are these changes needed?
Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.