Repository navigation
Changed tune.report import for ray>=2 - #1392
Conversation
|
@microsoft-github-policy-service agree company="Evotec" |
Li Jiang (thinkall)
left a comment
There was a problem hiding this comment.
Thank you, Will Charles (@drwillcharles) , for the PR!
|
Hi Will Charles (@drwillcharles) , could you check the test errors? Looks like the change will lead to test timeout issue. Thanks. |
|
It appears the test I have loosened the pydantic dependency and hope this solves the issue. |
|
OpenML is currently down so a lot of tests are getting connection errors. Will wait until this is back online before I resume development. From the tests that have run successfully, it appears there are still some environment issues to fix |
Sorry for the late reply, Will Charles (@drwillcharles). It's interesting that this underscored test is picked up. For bypassing the test, I think we can detect whether there is a GPU resource and skip the test if None. WDYT? Thanks. |
|
No problem Li Jiang (@thinkall). I did add a check for the GPU resource and even deleted the test to check. Turns out I was wrong and the problem appears to be Looking at the line |
Thank you for pointing out the root cause test, Will Charles (@drwillcharles) . I fixed the tests in #1406 . |
Thanks Li Jiang (@thinkall) ! I have implemented your fix so hopefully these tests pass now 🤞 |


Why are these changes needed?
When using ray>=2, there is an import error for
tune.report.I used the Ray migration guide to update this and use the new report function if the ray version is not 1.x .
I see that in the FLAML codebase there are already a few workarounds like this so I think I can do something similar without needing a full migration to Ray 2.x
Related issue number
Related to #874 - although I still think a full migration to Ray>=2 is needed in the future.
Checks