Repository navigation
Conversation
|
Adding folks familiar with runtime env. Is it possible to add a test for this? |
|
Pinging @SJ-L |
|
@xiurobert what's the testing plan here? |
|
Not 100% sure, but I'm thinking creating a python file with spaces and seeing if this change fixes it? Just need to locate where the runtime_env tests are stored. |
|
Honestly, I think this code I wrote is more of a hack than actually a real solution to the problem. The real solution should be to either handle arguments that are paths upstream, or inform the method that paths are being passed in. In any case, can @SJ-L please try out this code? |
|
@xiurobert the tests are in the files The fix looks reasonable to me, @mattip could you please help review this PR and see if there are any issues or edge cases for Windows? |
Sounds good, I will add in a test. |
|
@architkulkarni I created the tests under |
|
Thanks for adding the test, it looks good! Let's wait for @mattip's review. |
|
This seems to have broken runtime environment tests |
|
Good catch, here's an example: https://buildkite.com/ray-project/ray-builders-pr/builds/34084#01812463-ec0e-4d12-89c9-798abb63665d/6473-8952 @xiurobert could you please take a look? |
Implements conversion utilities and a default predict implementation for Predictor. Depends on ray-project#25517
…ctor in case no agent steps in episode. (ray-project#25596)
|
Oh, very sorry about that. I rebased the branch and github did some weird things. |
|
Sorry, let me close this PR. I will re-open a new one |
|
Please see #25659 |
Why are these changes needed?
On Windows systems, the
exec_workermethod may fail due to spaces being present in arguments that are file paths. This addresses said issue.Related issue number
Closes #24574
Checks
scripts/format.shto lint the changes in this PR.