Skip to content

(torchx/scheduler) configure srun to pump stderr to *.err file instead of having everything redirected to stdout #414

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

Closed
wants to merge 1 commit into from

Conversation

kiukchung
Copy link
Contributor

Summary:
Addresses the log related QOL mentioned #405.

Split the stdout and stderr into two separate log files and make adjustments to the slurm_scheduler.log_iter implementation to support this.

Differential Revision: D34729144

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Mar 9, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D34729144

@codecov
Copy link

codecov bot commented Mar 9, 2022

Codecov Report

Merging #414 (d42b7d6) into main (500dbb8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #414   +/-   ##
=======================================
  Coverage   94.21%   94.22%           
=======================================
  Files          66       66           
  Lines        3685     3689    +4     
=======================================
+ Hits         3472     3476    +4     
  Misses        213      213           
Impacted Files Coverage Δ
torchx/schedulers/slurm_scheduler.py 98.15% <100.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 500dbb8...d42b7d6. Read the comment docs.

…d of having everything redirected to stdout (#414)

Summary:
Pull Request resolved: #414

Addresses the log related QOL mentioned #405.

Split the stdout and stderr into two separate log files and make adjustments to the slurm_scheduler.log_iter implementation to support this.

Reviewed By: d4l3k

Differential Revision: D34729144

fbshipit-source-id: 7c05f8e30882dab35959278188a9f2deb698583e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D34729144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants