transformers
🚨 Exporters: export multimodal models per component (`export_multimodal`)
#50249
Open

🚨 Exporters: export multimodal models per component (`export_multimodal`) #50249

IlyasMoutawwakil
IlyasMoutawwakil Exporters: return ExportArtifacts, split backends into export_artifac…
e9b4b630
IlyasMoutawwakil Exporters: load and push ExportArtifacts, record the saved graphs' ow…
710d30fc
IlyasMoutawwakil Exporters: prefix OpenVINO's saved files with `openvino_`
f50273fd
IlyasMoutawwakil Exporters: simplify the artifacts API after review
10050aaf
IlyasMoutawwakil Exporters: name a single graph a program, load ONNX lazily, test agai…
22ad2de0
IlyasMoutawwakil Exporters: load saved ONNX lazily, record positional metadata for Exe…
b339c72c
IlyasMoutawwakil Exporters: load through cached_files, plain ExportMetadata fields, re…
b14325a4
IlyasMoutawwakil Exporters: register a backend by its exporter, export every component…
2fcae0d9
IlyasMoutawwakil Exporters: run single-graph exports (ExportedModel, AutoExportedModel)
54eb6f1d
IlyasMoutawwakil Exporters: sort the runtimes import, return only tensors from the Exe…
942a0a73
IlyasMoutawwakil Exporters: rebuild the model's outputs from the traced specs, drop Au…
7de7cb11
IlyasMoutawwakil Exporters: register the cache classes a saved export's specs name bef…
4f164d4e
IlyasMoutawwakil Exporters: export multimodal models per component (export_multimodal)
b4f0bea7
HuggingFaceDocBuilderDev
IlyasMoutawwakil Exporters: keep ONNX Runtime CUDA inputs and outputs on the GPU (IO b…
c8818751
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
a87c7516
IlyasMoutawwakil Exporters: run ONNX through IO binding on every device, save a runtim…
fa127e11
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
ce624cdf
IlyasMoutawwakil IlyasMoutawwakil changed the title Exporters: export multimodal models per component (`export_multimodal`) 🚨 Exporters: export multimodal models per component (`export_multimodal`) 24 days ago
IlyasMoutawwakil Exporters: bind only tensor inputs on ONNX, copy OpenVINO outputs once
6b9fba9b
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
52d2b4f4
IlyasMoutawwakil Exporters: carry deepstack features into the language model
4f700fc5
IlyasMoutawwakil Exporters: feed ExecuTorch string constants as None, keep non-string …
69c33a98
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
25724570
IlyasMoutawwakil Exporters: document Granite4-Vision's vision_mask with its real shape
0c53260b
IlyasMoutawwakil Exporters: trace deepstack inputs in a dense form
01f51b49
IlyasMoutawwakil Exporters: let runtime() pass runner options, ONNX Runtime providers …
b7a1d1b4
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
5cf3a48c
IlyasMoutawwakil Exporters: build deepstack inputs from one table and one function
030dcebb
IlyasMoutawwakil Exporters: compile OpenVINO in the export's precision on CPU, take co…
c4f40cf5
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
2e6faee7
IlyasMoutawwakil Exporters: choose per call whether a runner shares its inputs and out…
ef7dacfa
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
0a21b42b
IlyasMoutawwakil Exporters: give a torch program the scalars it was traced with, in it…
3b861dd7
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
3ce7ea57
IlyasMoutawwakil Exporters: record a None kwarg as a constant too
62191414
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
f5c44f75
IlyasMoutawwakil Exporters: bind ONNX inputs by name, run bf16 convolutions in fp32 on…
6d80fa4b
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
9e8186fb
IlyasMoutawwakil Exporters: lay a NaViT tower's positions out on the vision config's grid
1e426a9b
IlyasMoutawwakil Exporters: feed SDPA's boolean mask to ONNX as an additive one
fc78285f
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
5e680529
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
fc65352a
IlyasMoutawwakil Exporters: feed bf16 inputs to OpenVINO as bf16 tensors
b6f63b47
IlyasMoutawwakil Exporters: read bf16 OpenVINO outputs as bf16
41c68b16
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
81ad8530
IlyasMoutawwakil Exporters: split the CPU between torch and OpenVINO (`torch_threads`)
90024083
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
b5d29831
IlyasMoutawwakil Exporters: import torch in the quantizers' utils only when it's avail…
e6472aa3
IlyasMoutawwakil Merge branch 'main' into exporters-artifacts
e207dc34
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
e1afad0a
IlyasMoutawwakil Merge branch 'exporters-forward-runtime' into exporters-multimodal-de…
6222645d
IlyasMoutawwakil Exporters: an export returns an ExportedModel, not ExportArtifacts
ad541c1d
IlyasMoutawwakil Exporters: simplify the export plumbing
5a191224
IlyasMoutawwakil Tests: expect the single unknown-format error for a missing format
d1b5bb87
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
54836cf6
IlyasMoutawwakil Exporters: an ONNX export's program is its onnx_ir.Model, not an ONNX…
677743b7
IlyasMoutawwakil Exporters: an ONNX export loaded from the Hub cache saves again; save…
3b09dad8
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
ef9a7eb0
IlyasMoutawwakil Exporters: load a .pte from its file, record the output spec with the…
680b63a8
IlyasMoutawwakil Exporters: save loaded exports again safely; load remote-code configs…
b480efae
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
dde03d49
IlyasMoutawwakil Exporters: runtimes/ is runners/; size an ONNX graph's weights by `is…
e38b917b
IlyasMoutawwakil Exporters: convert the export config where it is used
42138b79
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
c68ed315
IlyasMoutawwakil Exporters: one single-component check, one import-on-use step; drop u…
8fe966d4
IlyasMoutawwakil Exporters: clearer names; the export config serializes itself
edb1ec98
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
33c1afef
IlyasMoutawwakil Exporters: runner_<backend> modules; from_pretrained takes hub option…
02e37d17
IlyasMoutawwakil Exporters: to_json_string without a trailing newline
53e45bba
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
c43b13d6
IlyasMoutawwakil Exporters: examples and decode tests run through ExportedModel
e0e27289
IlyasMoutawwakil Exporters: a runnable ONNX quantization example; inline the one-use c…
96584b3c
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
ed010764
IlyasMoutawwakil Exporters: the ONNX runner defaults to CUDA only when a GPU is there
8a9be2ac
IlyasMoutawwakil Tests: configs are serialized now, just never read back from a dict
c3bc94e3
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
77ba571b
IlyasMoutawwakil Exporters: leave the SDPA mask change to #50309; dtype from the metad…
a5f786cd
IlyasMoutawwakil Exporters: import repeat_kv only with torch, so the OpenVINO exporter…
13f4ebbb
IlyasMoutawwakil Merge branch 'exporters-artifacts' into exporters-forward-runtime
ab8a94a6
IlyasMoutawwakil Exporters: upcast a 16-bit model's small tensors by swapping in f32 c…
4f4c1984
IlyasMoutawwakil Exporters: ONNX Runtime CUDA graphs in the runner; GatherND at consta…
8ec04c1b
IlyasMoutawwakil Merge remote-tracking branch 'origin/main' into exporters-forward-run…
a88c206c
IlyasMoutawwakil Exporters: load the ONNX Runtime quantizer's tensor attributes before…
c9273d8a
IlyasMoutawwakil Exporters: regression tests for the quantizer's tensor attributes and…
78999a16
IlyasMoutawwakil Exporters: the ONNX runner keeps one CUDA graph
a6260a4b
IlyasMoutawwakil Exporters: record a 16-bit OpenVINO export's own precision, which the…
e84ff1b3
IlyasMoutawwakil Exporters: record a 16-bit OpenVINO export's precision on the model, …
e0d10561
IlyasMoutawwakil Exporters: broadcast in numpy mode in OpenVINO graphs, which the CPU …
7b408b9c
IlyasMoutawwakil Tests: bf16 export tolerances at 1e-2; the bf16 ONNX test needs CUDA
5f0d8448
IlyasMoutawwakil Exporters: keep a rank-adding expand's broadcast bidirectional in Ope…
17845075
IlyasMoutawwakil Exporters: refuse a CUDA graph replay at another shape; stale runner …
0e10ad26
IlyasMoutawwakil Tests: run the Dynamo generate export through its runner; eager outpu…
b0554924
IlyasMoutawwakil Exporters: share the ONNX/OpenVINO graph I/O plumbing; fix the runner…
0a0fa0a3
IlyasMoutawwakil Exporters: size `beam_idx` from the cache's batch; bicubic antialias …
e7aa62df
IlyasMoutawwakil Exporters: ModelOpt quantizer for the converted ONNX model
09952eda
IlyasMoutawwakil Merge remote-tracking branch 'origin/main' into exporters-forward-run…
4c9dc079
Base automatically changed from exporters-forward-runtime to main 14 days ago
IlyasMoutawwakil Merge branch 'main' into exporters-modelopt-quantizer
dbe27d7c
IlyasMoutawwakil Exporters: restore ONNX Runtime's quantizer after ModelOpt, follow ma…
68f510ad
IlyasMoutawwakil Exporters: restore every loaded ONNX Runtime quantization module afte…
ebc4a2f1
IlyasMoutawwakil Exporters: iterate the calibration reader for ModelOpt int4
ffa22dc1
tomaarsen
tomaarsen
IlyasMoutawwakil Merge #50032's final head into exporters-multimodal-decomposition
0b037c53
IlyasMoutawwakil Merge remote-tracking branch 'origin/main' into exporters-multimodal-…
d4b23e30
IlyasMoutawwakil
IlyasMoutawwakil Exporters: precompute inputs only for a module with a config
8ce44f8f
IlyasMoutawwakil Exporters: precompute_export_inputs runs without gradients itself
a6b86158
IlyasMoutawwakil Exporters: the language model drops Gemma's image and video position ids
476f5621
IlyasMoutawwakil
IlyasMoutawwakil Exporters: vision graphs take any image count (get_*_features(return_…
12b4344c
IlyasMoutawwakil
IlyasMoutawwakil Exporters: keep SDPA's boolean mask unless fusing for ONNX Runtime
9ee6e1cf
IlyasMoutawwakil Exporters: export a processor's BatchFeature as a dict; drop more mod…
08694b45
IlyasMoutawwakil Exporters: drop the rest of the getter-only modality inputs from the …
e2d2ca04
IlyasMoutawwakil Exporters: a test that every getter-only model input is in the modali…
9f27a1fa
IlyasMoutawwakil Exporters: run each export on new inputs too; LFM2-VL and SigLIP2 vis…
a37f1b01
IlyasMoutawwakil Exporters: ExportedModel forwards the runner's share_inputs / share_o…
bda28705
IlyasMoutawwakil Exporters: move the LFM2-VL and SigLIP2 vision changes to their own PR
05123ca7
IlyasMoutawwakil Exporters: getters take return_flat through kwargs instead of their s…
7b8edb31
IlyasMoutawwakil Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
3e7990be
IlyasMoutawwakil Exporters: the last getter-only inputs in the modality specs; skips n…
d574ef7a
IlyasMoutawwakil Exporters: ONNX Runtime's CUDA provider uses TF32 only when torch does
d6e67c4f
IlyasMoutawwakil IlyasMoutawwakil changed the base branch from main to vision-getters-return-flat 13 days ago
IlyasMoutawwakil Merge vision-getters-return-flat into exporters-multimodal-decomposition
def63772
IlyasMoutawwakil Exporters: a model reading its modality inputs without any getter sta…
a880f6d0
IlyasMoutawwakil Exporters: window attention with uneven windows
5d87f3b0
IlyasMoutawwakil Exporters: TensorRT's implicit int8 from an ONNX Runtime calibration …
56db61bf
IlyasMoutawwakil Exporters: read ModelOpt's calibration feeds once
1d8ae332
IlyasMoutawwakil Exporters: TensorRT int8 off on a graph with nothing to take scales from
55983dd8
IlyasMoutawwakil Exporters: keep the boolean attention mask only for `ort_fusions="ten…
9abbc034
IlyasMoutawwakil Exporters: fuse multidimensional rotary embeddings (Gemma 4's vision …
6130a9d4
IlyasMoutawwakil Exporters: simplify the multimodal decomposition
29688aad
IlyasMoutawwakil Exporters: sink the head transposes past per-head norms
c09f6aa3
IlyasMoutawwakil Exporters: keep float32-scaled norms apart from their residual after …
c262a337
IlyasMoutawwakil Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
b47faa76
IlyasMoutawwakil Exporters: export the flat vision getters (`get_<modality>_embeddings`)
6752b131
github-actions
github-actions commented on 2026-11-14
IlyasMoutawwakil Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
258f4801
IlyasMoutawwakil Exporters: test the any-image-count vision graph on Qwen2-VL
7142fbf9
IlyasMoutawwakil Merge remote-tracking branch 'origin/vision-getters-return-flat' into…
c0687f83
IlyasMoutawwakil Exporters: flatten a modality's features to [num_tokens, hidden]
24fd5613
github-actions
github-actions commented on 2026-11-14
IlyasMoutawwakil Exporters: skip onnxscript's SlicesSplit rewrite
2864feb0
IlyasMoutawwakil Tests: run the multidimensional rotary fusion test on CPU inputs when…
ae8b7db3
IlyasMoutawwakil Exporters: export the chunked gated delta rule for any chunk count
c26d85fe
IlyasMoutawwakil Exporters: call the scan and while_loop operators directly in the gat…
8bcca893
IlyasMoutawwakil Exporters: pick ONNX Runtime fusions with `OrtFusionConfig`, mixture …
97700608
IlyasMoutawwakil Exporters: replay CUDA graphs for static ONNX exports by default
a40b3047
IlyasMoutawwakil Exporters: replay CUDA graphs for static ONNX exports only, explicit …
5e53c807
IlyasMoutawwakil Tests: the gated delta rule at other chunk counts, and CUDA-fused gra…
b600ca97
IlyasMoutawwakil Merge exporters-main-fixes into exporters-modelopt-quantizer
e67cd469
IlyasMoutawwakil Merge exporters-modelopt-quantizer (and exporters-main-fixes) into ex…
9eab0dcf
IlyasMoutawwakil Exporters: image features keep the model's shape; sequence classifier…
3c108024
IlyasMoutawwakil IlyasMoutawwakil changed the base branch from vision-getters-return-flat to exporters-modelopt-quantizer 11 days ago
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
4e2014e5
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
6efce5e0
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
26de32ad
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
e755b900
IlyasMoutawwakil Merge branch 'exporters-main-fixes' into exporters-modelopt-quantizer
9e662ff7
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
c55aff31
IlyasMoutawwakil Exporters: flatten the TensorRT calibration-table provider resolution
6beedf81
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
570df325
IlyasMoutawwakil Merge branch 'exporters-main-fixes' into exporters-modelopt-quantizer
61d241ca
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
201f7015
IlyasMoutawwakil Merge branch 'exporters-main-fixes' into exporters-modelopt-quantizer
218d90fa
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
a79cb690
IlyasMoutawwakil Exporters: leave non-finite ranges out of the TensorRT calibration table
837cd317
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
173608b2
IlyasMoutawwakil Exporters: leave ranges past fp16's out of the TensorRT calibration t…
fda8624f
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
f370e628
IlyasMoutawwakil Merge branch 'exporters-main-fixes' into exporters-modelopt-quantizer
a65fc712
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
a2451a99
IlyasMoutawwakil Merge branch 'exporters-main-fixes' into exporters-modelopt-quantizer
e66a3faa
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
bca1f8af
IlyasMoutawwakil Merge branch 'exporters-main-fixes' into exporters-modelopt-quantizer
35aaa5ad
IlyasMoutawwakil Merge branch 'exporters-modelopt-quantizer' into exporters-multimodal…
058eb3de
zucchini-nlp
zucchini-nlp commented on 2026-11-16
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
f2647933
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
1a7f701b
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
3ad3da72
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
0d43ce0f
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
e3553f99
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
b8ff562c
IlyasMoutawwakil Exporters tests: load the multimodal Dynamo export with trust_remote_…
d8cf0ecf
github-actions
github-actions commented on 2026-11-18
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
c74a251b
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
7dc9bedf
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
db867749
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
5f7ea5ff
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
2433bc36
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
0c2f0599
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
461623e1
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
1a057aa2
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
5b1a24f4
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
465d2b19
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
112bd173
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
231cbfa5
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
4b07912e
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-modelopt-quantizer' in…
153ec493
IlyasMoutawwakil Qwen3-VL-MoE modular: take the deepstack inputs like Qwen3-VL's forward
d7c466b9
IlyasMoutawwakil IlyasMoutawwakil force-pushed the exporters-modelopt-quantizer branch from 4b07912e to 306ee58d 4 days ago
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
429888f1
IlyasMoutawwakil Take the ModelOpt quantizer out of this stack, it's its own PR on mai…
ebc5a831
IlyasMoutawwakil IlyasMoutawwakil changed the base branch from exporters-modelopt-quantizer to exporters-main-fixes 4 days ago
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
d8dc5f8f
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
10bfbf3c
IlyasMoutawwakil Merge remote-tracking branch 'origin/exporters-main-fixes' into expor…
5559ff04
github-actions
IlyasMoutawwakil FunAsrNano: no data-dependent inputs to delegate to
7e4052c4
IlyasMoutawwakil Return no data-dependent inputs when the base model has no getter
404c62a6

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone