skypilot
skypilot copied to clipboard
[Feature Request] Logs of Setup
It'd be nice to be setup.log
in ~/sky_logs/timestamp/...
. In that case, I can happily debug environment from past iterations of debugging.
Edit: It is actually a bug instead.
The setup-{ip}.log
should appear in the ~/sky_logs/timestamp/...
.
https://github.com/skypilot-org/skypilot/blob/f49ed5aed4d180c18d7feddcb2733c61d9170441/sky/backends/cloud_vm_ray_backend.py#L1982-L1986
Just tested with the following yaml, and the setup-ip.log
correctly shows up.
setup: |
pip install jupyterlab
run: |
nohup jupyter-lab --LabApp.token='' > /dev/null 2>&1 &
Do we want to close the issue @michaelzhiluo ?
Should be a bug then @Michaelvll I dont see it after setting up resnet environment.
The logs should be on your local machine, not on the remote VM.
Was this originally intended to have different local
and remote
log directories? It was surprising that the directory contents on my laptop does not match remote and I would have never known otherwise.
Suggested fixes:
- Match
setup.log
for both remote and local. - Have documentation that
setup.log
is only on local, etc.
@Michaelvll If there is detach setup, is this fixed?
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.
We now have a --detach-setup
option now. The problem should be fixed. : )