skypilot-org / skypilot

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.
https://skypilot.readthedocs.io
Apache License 2.0
6.82k stars 512 forks source link

[UX] `sky logs` should be able to tail the last lines of the logs instead of showing all logs #4222

Closed Michaelvll closed 1 week ago

Michaelvll commented 3 weeks ago

We should have a way to only tail the logs for the last few lines and follow the outputs with sky logs. Otherwise, if a user have a long log file for a job, it will print a lot of messages on the screen when they run sky logs after a while.

Version & Commit info:

Michaelvll commented 1 week ago

Fixed by #4241. Closing.