SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 12+ clouds). Get unified execution, cost savings, and high GPU availability via a simple interface.
A user reported that they saw an error that shows cluster_yaml somehow becomes /local~/.sky/... which is likely due to the replacement of home dir not very robust. This PR makes it more robust.
Tested (run the relevant ones):
[ ] Code formatting: bash format.sh
[ ] Any manual or new tests for this PR (please specify below)
A user reported that they saw an error that shows
cluster_yaml
somehow becomes/local~/.sky/...
which is likely due to the replacement of home dir not very robust. This PR makes it more robust.Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
conda deactivate; bash -i tests/backward_compatibility_tests.sh