Thanks for raising this and following up. This is indeed a bug, and it should be fixed here: [train/tune] Use posix paths throughout library code by krfricke · Pull Request #38319 · ray-project/ray · GitHub
The fix will be included in Ray 2.7.
As a workaround, you should be able to set the storage_path
to a relative directory, which will not trigger the buggy code path:
from ray import air, tune
tuner = tune.Tuner(
train_fn,
run_config=air.RunConfig(storage_path="./")
)
tuner.fit()