transformers
Make Transformers more torch-exportable and dynamo-friendly
#42317
Merged

Make Transformers more torch-exportable and dynamo-friendly #42317

ArthurZucker merged 70 commits into main from export-friendly
IlyasMoutawwakil
IlyasMoutawwakil make vlms export friendly
1ab6216a
IlyasMoutawwakil IlyasMoutawwakil marked this pull request as draft 117 days ago
HuggingFaceDocBuilderDev
IlyasMoutawwakil seq2seq lms
25456f08
IlyasMoutawwakil biogpt
6d4f744f
IlyasMoutawwakil more vlms
b8135b4e
IlyasMoutawwakil colqwen2
2d3f986a
IlyasMoutawwakil vision models
7e03b171
IlyasMoutawwakil more vlms
a58b0494
IlyasMoutawwakil more vlms
e776c188
IlyasMoutawwakil more vlms
5377e2c5
IlyasMoutawwakil vectorized vision embedding
6b4c37da
IlyasMoutawwakil fixup
44e8e47d
IlyasMoutawwakil more vlms
df1559f2
IlyasMoutawwakil more vlms
bb6b8a38
IlyasMoutawwakil generate_masks_with_special_tokens_and_transfer_map
b606772d
IlyasMoutawwakil custom torch_check
fdc9535f
IlyasMoutawwakil use custom torch_check
0184d208
IlyasMoutawwakil revert grounding dino changes
a4d754ec
IlyasMoutawwakil fixup
75c0fd35
IlyasMoutawwakil remove file
713c8956
IlyasMoutawwakil undo
2a4081bb
IlyasMoutawwakil undo
73cd1baa
IlyasMoutawwakil
IlyasMoutawwakil commented on 2025-11-21
IlyasMoutawwakil
IlyasMoutawwakil commented on 2025-11-21
IlyasMoutawwakil IlyasMoutawwakil requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 117 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2025-11-21
IlyasMoutawwakil testing
8aea2bb9
IlyasMoutawwakil fixes
d3213195
IlyasMoutawwakil Merge branch 'main' into export-friendly
dd5dc7a0
IlyasMoutawwakil IlyasMoutawwakil marked this pull request as ready for review 117 days ago
IlyasMoutawwakil
IlyasMoutawwakil IlyasMoutawwakil requested a review from ArthurZucker ArthurZucker 117 days ago
IlyasMoutawwakil standard error message
52515c3d
IlyasMoutawwakil use torch._check_with to raise value error instead of torch._check's …
7cbf4c4f
IlyasMoutawwakil fix recurrent gemma
bf2578d7
IlyasMoutawwakil only itemize tensors
f33368da
IlyasMoutawwakil use spatial shapes list instead of tensor
4ad0bace
IlyasMoutawwakil fix udop use_cache default value
0241d53d
IlyasMoutawwakil use tracable condition for seq2seq lms
e55f3836
IlyasMoutawwakil IlyasMoutawwakil requested a review from echarlaix echarlaix 114 days ago
IlyasMoutawwakil
IlyasMoutawwakil commented on 2025-11-24
echarlaix
echarlaix approved these changes on 2025-11-27
echarlaix echarlaix requested a review from molbap molbap 111 days ago
IlyasMoutawwakil Merge branch 'main' into export-friendly
2eb2ed17
IlyasMoutawwakil Merge branch 'main' into export-friendly
942dadf5
IlyasMoutawwakil make smolvlm exportable
45f88acf
IlyasMoutawwakil Merge branch 'main' into export-friendly
de845895
IlyasMoutawwakil fix fastvlm and t5gemma2
25b804fe
IlyasMoutawwakil Merge branch 'main' into export-friendly
b2ca9e31
IlyasMoutawwakil fix qwen2_audio and idefics
beeb6729
IlyasMoutawwakil remove script
3911d411
IlyasMoutawwakil IlyasMoutawwakil requested a review from Rocketknight1 Rocketknight1 103 days ago
IlyasMoutawwakil tbc
76972108
IlyasMoutawwakil Merge branch 'main' into export-friendly
14113861
IlyasMoutawwakil skip mra model
8d4d9550
IlyasMoutawwakil helper
0fcf3e43
IlyasMoutawwakil Merge branch 'main' into export-friendly
8cf3d2ff
IlyasMoutawwakil style and document
9cb62d7a
IlyasMoutawwakil Merge branch 'main' into export-friendly
ada12be8
IlyasMoutawwakil fix
10bd5198
IlyasMoutawwakil set experts impl to batched
e8abb270
IlyasMoutawwakil make xmod exportable and efficient
f4431d66
IlyasMoutawwakil make more ssms exportable
e04a4746
IlyasMoutawwakil fix
44316335
IlyasMoutawwakil revert recurrent gemma
faa4540b
IlyasMoutawwakil skip models that use chunked attention or rope_index
01d93a20
IlyasMoutawwakil qwen3_next
23f4485d
IlyasMoutawwakil assert async
60050d89
IlyasMoutawwakil Merge branch 'main' into export-friendly
526fb5c8
IlyasMoutawwakil tensorize (mm) grounding dino mask generation
799ad58a
IlyasMoutawwakil IlyasMoutawwakil changed the title Make Transformers more export-friendly Make Transformers more torch-exportable and dynamo-friendly 69 days ago
IlyasMoutawwakil Merge branch 'main' into export-friendly
c551dd01
IlyasMoutawwakil Merge branch 'main' into export-friendly
ae787661
IlyasMoutawwakil style
a6d56f1f
IlyasMoutawwakil fix repo
04dee522
ArthurZucker
ArthurZucker approved these changes on 2026-01-09
IlyasMoutawwakil address comments
d3e145da
IlyasMoutawwakil Merge branch 'main' into export-friendly
ac7c941d
IlyasMoutawwakil fix qwen2 audio and vits checks
86df05d0
IlyasMoutawwakil skip two models using kernels by default
e98872d2
IlyasMoutawwakil skip granite moe hybrid using custom kernels
b9f20c26
ArthurZucker
IlyasMoutawwakil disable mamba kernels
d20b998c
IlyasMoutawwakil vits splinter and videomae
b2884efe
github-actions
IlyasMoutawwakil Merge branch 'main' into export-friendly
d45e2cd2
IlyasMoutawwakil Merge branch 'main' into export-friendly
99be85b4
github-actions
ArthurZucker ArthurZucker merged eff263cd into main 55 days ago
ArthurZucker ArthurZucker deleted the export-friendly branch 55 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone