Skip to content

Conversation

@t-vi
Copy link
Collaborator

@t-vi t-vi commented Jun 6, 2025

Before submitting
  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • (n/a) Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Recent transformers could be traced on the meta device, but an autocast context manager is erroring (from PyTorch).
We add a lookaside to ignore autocast, and tracing works.

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@t-vi t-vi requested review from lantiga and mruberry as code owners June 6, 2025 13:25
@t-vi t-vi merged commit df41dce into main Jun 6, 2025
49 checks passed
@t-vi t-vi deleted the tom/hf-meta-recipe branch June 6, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants