This repository was archived by the owner on Apr 23, 2026. It is now read-only.
fix: Removing torchscript from autoconfig#3307
Merged
mergify[bot] merged 2 commits intoinstructlab:mainfrom Apr 28, 2025
Merged
fix: Removing torchscript from autoconfig#3307mergify[bot] merged 2 commits intoinstructlab:mainfrom
mergify[bot] merged 2 commits intoinstructlab:mainfrom
Conversation
Signed-off-by: Jiri Podivin <[email protected]>
Contributor
Author
|
I'm executing the pipeline now, looking for further issues. But so far I'm progressing well, with loss dropping as expected. edit: execution has finished successfully. |
This reverts commit 3a53869. Signed-off-by: Jiri Podivin <[email protected]>
booxter
approved these changes
Apr 28, 2025
Contributor
booxter
left a comment
There was a problem hiding this comment.
Thank you for digging. If there are still some concerns about performance or otherwise, we can follow up separately. As you said and I agree, at least it runs again.
RobotSail
approved these changes
Apr 28, 2025
Member
RobotSail
left a comment
There was a problem hiding this comment.
LGTM, thank you for finding and fixing this!
Contributor
|
@mergify backport release-v0.26 |
Contributor
✅ Backports have been createdDetails
|
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
GenerationMixinobjects. I'm not sure about the exact reason why is this happening. But the behavior is normalized by simply removingtorchscriptparameter 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:
conventional commits.