-
Notifications
You must be signed in to change notification settings - Fork 650
Add The Ability To Trail Logs For Launcher Jobs #1951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Do you mind updating |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For testing, could you try running the slurm, local, and sky clusters? Example local cluster at "notebooks/Oumi - A Tour.ipynb". For these tests, it would be good to confirm that the logs display properly (ex. for Slurm, logs that are colored text should still have color)
Co-authored-by: William Zeng <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge once comments are addressed and tests are fixed
|
Could you keep the PR description updated with the latest status on how the PR works, any issues with it, etc.? |
Description
We currently have built-in support from SkyPilot for trailing logs through their SDK after launching a job. We want to extend this functionality to our other clusters as well.
This PR adds support for Slurm clusters by tailing the log file and streaming its contents directly to the user’s terminal. For clusters not covered in this PR, the behavior will remain unchanged and continue to show the loading spinner.
Features Added:
BEFORE With Slurm

AFTER With Slurm

AFTER With Sky Pilot

After With Local Cluster

Related issues
Towards OPE-1344
Before submitting
Reviewers
At least one review from a member of
oumi-ai/oumi-staffis required.