You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restoring the Tuner Trials on Windows yields FileExistsError. Solution would be in _restore_from_path_or_uri():
Adding in file tuner_internal.py, in function _restore_from_path_or_uri after line 217 within the loop:
if os.path.isfile(new_exp_path / file_dir.name):
os.remove(new_exp_path / file_dir.name)
Versions / Dependencies
OS: Windows 10
Python: 3.8
Ray: 2.0.0
Reproduction script
Solution is already available in Bug description. This is an OS dependent error caused by rename(), because it works different on OS's.
Issue Severity
No response
The text was updated successfully, but these errors were encountered:
ChVo24
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Sep 9, 2022
I think we can just use file_dir.replace instead of file_dir.rename. Do you want to file a quick PR for that? Otherwise I'm happy to do it.
krfricke
added
P1
Issue that should be fixed within a few weeks
and removed
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Sep 9, 2022
What happened + What you expected to happen
Restoring the Tuner Trials on Windows yields FileExistsError. Solution would be in _restore_from_path_or_uri():
Adding in file tuner_internal.py, in function _restore_from_path_or_uri after line 217 within the loop:
if os.path.isfile(new_exp_path / file_dir.name):
os.remove(new_exp_path / file_dir.name)
Versions / Dependencies
OS: Windows 10
Python: 3.8
Ray: 2.0.0
Reproduction script
Solution is already available in Bug description. This is an OS dependent error caused by rename(), because it works different on OS's.
Issue Severity
No response
The text was updated successfully, but these errors were encountered: