-
Notifications
You must be signed in to change notification settings - Fork 450
fix: Removing torchscript from autoconfig #3307
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
Conversation
Signed-off-by: Jiri Podivin <[email protected]>
|
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for finding and fixing this!
|
@mergify backport release-v0.26 |
✅ Backports have been createdDetails
|
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.