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

Skip to content

Conversation

@jpodivin
Copy link
Contributor

@jpodivin jpodivin commented Apr 21, 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.

@mergify mergify bot added the ci-failure PR has at least one CI failure label Apr 21, 2025
@mergify mergify bot removed the ci-failure PR has at least one CI failure label Apr 21, 2025
@jpodivin
Copy link
Contributor Author

jpodivin commented Apr 21, 2025

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]>
@mergify mergify bot added the CI/CD Affects CI/CD configuration label Apr 21, 2025
@nathan-weinberg nathan-weinberg requested a review from a team April 24, 2025 14:11
Copy link
Contributor

@booxter booxter left a 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.

@booxter booxter requested a review from RobotSail April 28, 2025 21:09
@mergify mergify bot added the one-approval PR has one approval from a maintainer label Apr 28, 2025
Copy link
Member

@RobotSail RobotSail left a 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 mergify bot merged commit 624462d into instructlab:main Apr 28, 2025
29 checks passed
@mergify mergify bot removed the one-approval PR has one approval from a maintainer label Apr 28, 2025
@courtneypacheco
Copy link
Contributor

@mergify backport release-v0.26

@mergify
Copy link
Contributor

mergify bot commented Apr 30, 2025

backport release-v0.26

✅ Backports have been created

Details

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants