Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

[backport] fix: Update model_generate to output logits#3261

Closed
courtneypacheco wants to merge 1 commit intorelease-v0.23from
fix-logits-error-linux-train-v0.23-release
Closed

[backport] fix: Update model_generate to output logits#3261
courtneypacheco wants to merge 1 commit intorelease-v0.23from
fix-logits-error-linux-train-v0.23-release

Conversation

@courtneypacheco
Copy link
Copy Markdown
Contributor

@courtneypacheco courtneypacheco commented Apr 8, 2025

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the
    conventional commits.
  • Changelog updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Functional tests have been added, if necessary.
  • E2E Workflow tests have been added, if necessary.

We need to force moded_generate to output logits so that linux_train.py can reference the logits attribute. Otherwise, we run into an issue in our sister repos, like instructlab/sdg. For example, see instructlab/sdg#595 failing due to this issue: https://github.com/instructlab/sdg/actions/runs/14317698278/job/40169189831?pr=595

The following commit on main resolved the above issue: 8fe9bc6

Evidence that instructlab/sdg#595 passed:
instructlab/sdg#595

…e 'logits'`

We need to force `moded_generate` to output logits so that `linux_train.py` can reference the `logits` attribute

Signed-off-by: Courtney Pacheco <[email protected]>
@mergify mergify Bot added release-branch Pull Request directly to a release branch ci-failure PR has at least one CI failure labels Apr 8, 2025
@courtneypacheco
Copy link
Copy Markdown
Contributor Author

Needs this backport to be merged first: #3262

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 8, 2025

This pull request has been automatically marked as stale because it has not had activity within 60 days. It will be automatically closed if no further activity occurs within 30 days.

@github-actions github-actions Bot added the stale label Jun 8, 2025
@booxter
Copy link
Copy Markdown
Contributor

booxter commented Jun 18, 2025

We are disabling the small job for linux-train and won't do any fixes going forward for the code path.

@booxter booxter closed this Jun 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci-failure PR has at least one CI failure release-branch Pull Request directly to a release branch stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants