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
Cannot set root temporary path with ray tune #31478
Comments
You can call |
Thank you! That is what I was suspecting was the fix...happy to submit a PR if you have a suggestion where in the docs this should go. |
@justinvyu could you help shepherd @jpgard for a docs fix here? thanks! |
Looks like another user ran into the same issue: stack overflow. The confusion seems to be that
This guide shows you how to build the docs locally + other tips: https://docs.ray.io/en/latest/ray-contribute/docs.html#contributing-to-the-ray-documentation. Would the changes above be useful when you were looking into how to do this initially? Let me know if you have any other questions, I'm happy to help out! |
Hey @jpgard, just checking in to see if you still want to post a PR for this. I can put it on my backlog otherwise! |
Thanks for following up! Maybe you should put it in your backlog :) |
What is the ray.init line for changing or disabling output to the /tmp directory? |
You may also want to check out this thread, if you're using Ray Tune: #32776 (comment) |
What happened + What you expected to happen
I have a working pipeline where I load a dataset with ray.data and train/tune models with ray tune.
I'd like to change the location of the root temporary directory which is /tmp/ray by default (this fills up the /tmp directory for some tuning runs).
However, the suggestions on the linked page above (change the root temporary directory by passing
--temp-dir={your temp path}
toray start
, or provide the_temp_dir
argument toray.init()
). don't apply to workflows like mine: when using the datasets and tune APIs, I don't ever explicitly callray start
orray.init()
. I also can't identify where these calls are happening, or where I would provide either of those parameters.Is there a way to specify the location of the root temporary directory in this case? If not, I think it is needed.
Versions / Dependencies
ray 2.2.0
Python 3.8.15
Reproduction script
See above; this should apply to any call to ray Tuner.fit()
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: