Skip to content
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

[train][doc] Add documentation on RAY_CHDIR_TO_TRIAL_DIR environment variable #42891

Merged
merged 4 commits into from
Feb 3, 2024

Conversation

justinvyu
Copy link
Contributor

Why are these changes needed?

This environment variable can be used to disable Ray Train's default behavior of changing the working directory to the trial directory. There is already an FAQ section about this in Ray Tune, but no documentation for Ray Train users, so this PR adds that.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@justinvyu justinvyu merged commit 98768c2 into ray-project:master Feb 3, 2024
9 checks passed
@justinvyu justinvyu deleted the document_chdir_behavior branch February 3, 2024 00:11
tterrysun pushed a commit to tterrysun/ray that referenced this pull request Feb 14, 2024
…t variable (ray-project#42891)

This environment variable can be used to disable Ray Train's default behavior of changing the working directory to the trial directory. There is already an FAQ section about this in Ray Tune, but no documentation for Ray Train users, so this PR adds that.

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: tterrysun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants