Code Monkey home page Code Monkey logo

Comments (5)

anyscalesam avatar anyscalesam commented on June 1, 2024

@jjyao thoughts? and would this be a big change?

from ray.

jjyao avatar jjyao commented on June 1, 2024

Hi @j-tr you can specify the temp dir when you start Ray so your application can do the clean-up as you want.

from ray.

j-tr avatar j-tr commented on June 1, 2024

@jjyao could you please elaborate? Are you referring to the _temp_dir parameter of ray.init?
This ticket aims to tackle the challenge of clearing temporary files when the application cannot do so itself due to termination by the operating system or memory monitor.

from ray.

jjyao avatar jjyao commented on June 1, 2024

@j-tr

Just want to make sure I understand your feature request: are you saying that Ray creates a unique temporary folder for each worker process and Ray cleans up it when the worker process exits?

Also can you tell us more why you want to use temporary folder?

from ray.

j-tr avatar j-tr commented on June 1, 2024

@jjyao exactly. a temporary folder per worker process, managed by ray.
Temporary files are often part of our data processing pipeline, when streaming data directly from and to the cloud is not easily possible (e.g. download from cloud to temporary file, process data, store output in another tempfile, upload to cloud).

from ray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.