8000 chore: add exit code & tox fix (backport #217) by mergify[bot] · Pull Request #282 · instructlab/training · GitHub
[go: up one dir, main page]

Skip to content

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

Merged
mergify[bot] merged 1 commit into
release-v0.5from
mergify/bp/release-v0.5/pr-217
Oct 21, 2024
Merged

mergify[bot] merged 1 commit into
release-v0.5from
mergify/bp/release-v0.5/pr-217

Conversation

@mergify
@mergify mergify Bot commented Oct 18, 2024
Copy link
Copy Markdown
Contributor

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 97077423+RobotSail@users.noreply.github.com

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 <97077423+RobotSail@users.noreply.github.com>
(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
@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

0