Skip to content

[Tune] Isolated directory per trial #1300

Closed
@rlnsanz

Description

@rlnsanz

This is a feature request.

Would be useful if each trial gets its own isolated directory for read/write. The location of this directory should be reported or identifiable so the contents of the directory may be accessed (e.g. to copy the contents of the directory out of that directory). There should be an option to keep or destroy the directory after the trial terminates.

Per trial:

original_dir = os.getcwd()
os.chdir('random unique dir')
f()
os.chdir(original_dir)

Activity

self-assigned this
on Dec 8, 2017
ericl

ericl commented on Dec 8, 2017

@ericl
Contributor

#1297 fixes this as part of the cleanup. We will chdir to the log dir for the trial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

    Participants

    @ericl@rlnsanz

    Issue actions

      [Tune] Isolated directory per trial · Issue #1300 · ray-project/ray