[ray_client] Support calling functions from other functions and correct the tests#12141
[ray_client] Support calling functions from other functions and correct the tests#12141ericl merged 4 commits intoray-project:masterfrom
Conversation
There was a problem hiding this comment.
Do we need to apply the remote decorator args here (e.g., num_cpus=1)?
There was a problem hiding this comment.
Remote decorator args are probably a followup, but yeah, this is where it gets piped in.
There was a problem hiding this comment.
Can we add this? Should be simple enough.
There was a problem hiding this comment.
They require another field in the proto -- they tell us how to execute the function, instead of the parameters to execute that function.
Again, it's a simple addition, but orthogonal to the change.
There was a problem hiding this comment.
Hmm why not make this a member of this class instead of ray?
There was a problem hiding this comment.
Because this class can't contain the API (it needs the ray trampoline depending on which end is calling this method)
There was a problem hiding this comment.
Do we need set_remote_func / run_remote_func now?
There was a problem hiding this comment.
Fair cop. Might as well just use it.
|
Needs rebasing... |
bc008ea to
975cfe5
Compare
|
//python/ray/tests:test_experimental_client TIMEOUT in 3 out of 3 in 75.0s |
|
@barakmich looks like tests are hanging |
975cfe5 to
4c64e3f
Compare
|
Failures are now outside the client |
…nd correct the tests (ray-project#12141)" This reverts commit 4066056.
…ctions and correct the tests (ray-project#12141)"" This reverts commit bb27b87.
* attempt to fix windows * fix syntax * try again * try again * try again * Revert "[ray_client] Support calling functions from other functions and correct the tests (#12141)" This reverts commit 4066056. * Revert * Revert "Revert "[ray_client] Support calling functions from other functions and correct the tests (#12141)"" This reverts commit bb27b87. * please work * works * fix
Why are these changes needed?
Related issue number
Closes #11975
Checks
scripts/format.shto lint the changes in this PR.