skypilot-users

Is the `workdir` in the yaml file relative to the user's current working directory or relative to the yaml file itself?

Ch

Chaskin Saroff

Asked on Nov 18, 2023

Yes, the workdir specified in the yaml file is relative to the user's current working directory. This behavior is similar to python or bash scripts, where the relative path in the file is relative to the place where the command is run, rather than relative to the script/yaml file itself.

Dec 19, 2023Edited by