codeflare-sdk
codeflare-sdk copied to clipboard
Updated Ray version to 2.20.0
Issue link
What changes have been made
Updated CFSDK ray dependency to 2.20.0
Verification steps
Setup
Notebook server ODH/RHOAI/Local
- Clone this repository with
git clone https://github.com/project-codeflare/codeflare-sdk.git - Checkout this PR's branch
- Run
poetry build- install if needed (pip install poetry) - Run
pip install --force-reinstall dist/codeflare_sdk-0.0.0.dev0-py3-none-any.whl - Restart your notebook kernel
Testing
Use this image for the following test scenarios: quay.io/mcampbel/ray:220-py39-cu118-dev
- Run through demo notebooks
- Ensure GPU utilization is working correctly
- Ensure basic & local interactive demos work correctly
- Ensure job submission works correctly
Checks
- [x] I've made sure the tests are passing.
- Testing Strategy
- [x] Unit tests
- [x] Manual tests
- [ ] Testing is not required for this change
Tested these changes through the SDK demo notebooks using quay.io/mcampbel/ray:220-py39-cu118-dev as the ray image.
- Was able to run basic ray demo.
- Was able to run job client demo and use gpus.
- While running basic_interactive demo I see this info message (see screenshot below). I wasn't able to run through the entire demo due to issues with training script which I am currently looking into. But was able to run ray.init successfully.
- Was able to run local interactive demo - including ray.init but also seeing the info about the python version mismatch
This is not an error as such and I was able to submit jobs successfully.
/retest
The e2e tests fail here due to the CertGenerator image on the CFO side when setting up the Kind Cluster. Here is proof of a passing e2e test with the new Ray image for the CertGenerator.
I have made a PR to update the CFO with the new image
/retest
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Fiona-Waters, Srihari1192
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [Fiona-Waters]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment