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

Stop ray to write temp files during simulation #1516

Closed
charlesbvll opened this issue Dec 19, 2022 · 1 comment · Fixed by #1698
Closed

Stop ray to write temp files during simulation #1516

charlesbvll opened this issue Dec 19, 2022 · 1 comment · Fixed by #1698
Labels
bug Something isn't working

Comments

@charlesbvll
Copy link
Member

Discussed in https://github.com/adap/flower/discussions/1394

Originally posted by davideNasi August 29, 2022
I'm using torch implementation of TabNet (https://github.com/dreamquark-ai/tabnet) and when I run simulations each client write a 1.6 GB file every epoch in C:\Users<user>\AppData\Local\Temp\ray\session_\ray_spilled_objects.

Am I doing something wrong or is it possible to prevent this?

Current workaround

Downgrade ray to version 1.11.1 : pip install ray==1.11.1

Possible solutions

  • Find a way to disable object spilling in the current version of ray
  • Escalate the issue to the ray-project
  • Change the ray version to 1.11.1 in the pyproject.toml
@charlesbvll charlesbvll added the bug Something isn't working label Dec 19, 2022
@charlesbvll
Copy link
Member Author

Update

From, https://discuss.ray.io/t/object-store-spilling-terabytes-of-data/8699, it seems that upcoming Ray version 2.3 should resolve the issue.
After some thorough testing with Ray 3.0 nightly, it seems to resolve the issue.

The Ray PR that solved the problem is this one: https://github.com/ray-project/ray/pull/31488/files

If you don't want to wait for Ray to officially release their next version, you can try out the nightly by following this guide:
https://docs.ray.io/en/latest/ray-overview/installation.html#daily-releases-nightlies

@charlesbvll charlesbvll linked a pull request Mar 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant