-
Notifications
You must be signed in to change notification settings - Fork 642
Transformers 4.53 support, SmolLM3 and Fix old Transformers support #2319
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
d28dee8
test
IlyasMoutawwakil 37dac0b
fix seq2seq patched sdpa
IlyasMoutawwakil 19b3dc2
patch qwen3_moe, out_attentions, and eager_mask
IlyasMoutawwakil ce3809f
fix
IlyasMoutawwakil bd8dec6
use optimum model
IlyasMoutawwakil 5593686
editable subpackages
IlyasMoutawwakil b10c340
Apply suggestions from code review
IlyasMoutawwakil d3bd103
smollm3 support
IlyasMoutawwakil f80c1c5
Merge branch 'transformers-4.53' of https://github.com/huggingface/op…
IlyasMoutawwakil 6b33750
deprecate tensorflow onnx export and add smollm3 to export tests
IlyasMoutawwakil 85521dc
write a more general sdpa_mask without vmap that's also vectorized an…
IlyasMoutawwakil dd6d0c1
better and more generic sdpa_mask_without_vmap implementation
IlyasMoutawwakil 3dd85c1
style and fix
IlyasMoutawwakil f7b6ebd
fix
IlyasMoutawwakil c5e0165
patch find_packed_sequence_indices as it's untraceable
IlyasMoutawwakil 3a4ea0d
fix
IlyasMoutawwakil 74f064d
fix
IlyasMoutawwakil 5976851
revert tests removal until refactor
IlyasMoutawwakil 6c602ce
fix temporary hub repo import
IlyasMoutawwakil b43fead
fix
IlyasMoutawwakil 9953b91
fix external data tests on windows
IlyasMoutawwakil 310bcd1
update phi and phi3 min version
IlyasMoutawwakil 459316d
condition modernbert optimization test
IlyasMoutawwakil 4fc5972
get back old (pre 4.44) bloom modeling support and remove the need fo…
IlyasMoutawwakil 4134e46
fix test was using hardcoded architecture
IlyasMoutawwakil 2a6ef9c
unparallelize test that uses remote code
IlyasMoutawwakil 8623353
support older versions of mpt and phi (4.36)
IlyasMoutawwakil a3ad9df
remove parallelism from slow tests
IlyasMoutawwakil 77dd30f
fix vision to text pipelines test
IlyasMoutawwakil d41f0ea
more specific version handling for find_packed_sequence_indices
IlyasMoutawwakil 7790092
fix
IlyasMoutawwakil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
cc @JingyaHuang https://github.com/huggingface/optimum-neuron/blob/4fd7d27fce7f2421e51f9fcabf81a752d32c144f/optimum/exporters/neuron/base.py#L43