Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Apr 30, 2025

Simple pipeline hasn't been working for some time now, due to #3289 . I've tracked the issue down in transformers utils.py.

It appears that usage of torchscript, is changing type of output from invocations of GenerationMixin objects. I'm not sure about the exact reason why is this happening. But the behavior is normalized by simply removing torchscript parameter from config.

Since purpose of Torchscript is to improve performance, I can guess that merging this fix may cause the pipeline to run a bit slower. But at least it will run.

Proper fix should be implemented in transformers, but I don't have enough experience with the code base to know what to look for.

I'm also reverting #3290 since things should be working now.

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.

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

jaideepr97 and others added 4 commits April 23, 2025 03:15
Signed-off-by: Jaideep Rao <[email protected]>
(cherry picked from commit 8ea9979)
missed adding logic to pick up teacher model id from config in earlier PR. This PR fixes that 







**Checklist:**

- [ ] **Commit Message Formatting**: Commit titles and messages follow guidelines in the
  [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary).
- [ ] [Changelog](https://github.com/instructlab/instructlab/blob/main/CHANGELOG.md) 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.
<hr>This is an automatic backport of pull request #3309 done by [Mergify](https://mergify.com).


Approved-by: courtneypacheco

Approved-by: jaideepr97
Signed-off-by: Jiri Podivin <[email protected]>
(cherry picked from commit 7a55400)
This reverts commit 3a53869.

Signed-off-by: Jiri Podivin <[email protected]>
(cherry picked from commit 9f90f9f)
@mergify mergify bot mentioned this pull request Apr 30, 2025
6 tasks
@mergify mergify bot added CI/CD Affects CI/CD configuration release-branch Pull Request directly to a release branch labels Apr 30, 2025
@mergify mergify bot added one-approval PR has one approval from a maintainer ci-failure PR has at least one CI failure labels Apr 30, 2025
@booxter
Copy link
Contributor

booxter commented Apr 30, 2025

Unit tests fail because we need: #3329

@mergify mergify bot removed the one-approval PR has one approval from a maintainer label Apr 30, 2025
@cdoern
Copy link
Contributor

cdoern commented Apr 30, 2025

#3334

@cdoern cdoern closed this Apr 30, 2025
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 ci-failure PR has at least one CI failure release-branch Pull Request directly to a release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants