Skip to content
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

chore: add exit code & tox fix (backport #217) #282

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 18, 2024

Currently, the training library does not exit when an error is encountered
within the training loop (invoked through torchrun). This commit updates
that functionality so we correctly return an exit code of 1 on child failure.

Additionally, this commit also adds the make fix command which
automatically fixes all trivial issues picked up on by ruff

Signed-off-by: Oleg S [email protected]

Resolves #216


This is an automatic backport of pull request #217 done by [Mergify](https://mergify.com).

@mergify mergify bot mentioned this pull request Oct 18, 2024
@mergify mergify bot added CI/CD Affects CI/CD configuration testing Relates to testing release-branch ci-failure labels Oct 18, 2024
@Maxusmusti Maxusmusti force-pushed the mergify/bp/release-v0.5/pr-217 branch from 4c4258e to 38caa4d Compare October 21, 2024 13:56
@mergify mergify bot removed the ci-failure label Oct 21, 2024
Currently, the training library does not exit when an error is encountered
within the training loop (invoked through torchrun). This commit updates
that functionality so we correctly return an exit code of 1 on child failure.

Additionally, this commit also adds the `make fix` command which
automatically fixes all trivial issues picked up on by ruff

Signed-off-by: Oleg S <[email protected]>
(cherry picked from commit 9c899dc)
@Maxusmusti Maxusmusti force-pushed the mergify/bp/release-v0.5/pr-217 branch from 38caa4d to 1a57a86 Compare October 21, 2024 19:31
@mergify mergify bot added ci-failure and removed ci-failure labels Oct 21, 2024
@mergify mergify bot merged commit 204cf61 into release-v0.5 Oct 21, 2024
13 checks passed
@mergify mergify bot deleted the mergify/bp/release-v0.5/pr-217 branch October 21, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Affects CI/CD configuration release-branch testing Relates to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants