transformers
🚨 Exporters: `ExportedModel`, Hub save/load, one backend registry
#50029
Merged

🚨 Exporters: `ExportedModel`, Hub save/load, one backend registry #50029

IlyasMoutawwakil merged 23 commits into main from exporters-artifacts
IlyasMoutawwakil
IlyasMoutawwakil Exporters: return ExportArtifacts, split backends into export_artifac…
e9b4b630
HuggingFaceDocBuilderDev
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 IlyasMoutawwakil requested a review from echarlaix echarlaix 37 days ago
echarlaix
echarlaix approved these changes on 2026-10-28
IlyasMoutawwakil
IlyasMoutawwakil commented on 2026-10-29
ArthurZucker
ArthurZucker approved these changes on 2026-11-02
IlyasMoutawwakil Exporters: load through cached_files, plain ExportMetadata fields, re…
b14325a4
IlyasMoutawwakil IlyasMoutawwakil changed the title 🚨 Exporters: `ExportArtifacts` return type, `export_artifact`/`save_artifact` backends, one backend registry 🚨 Exporters: `ExportArtifacts`, Hub save/load, one backend registry 31 days ago
IlyasMoutawwakil
IlyasMoutawwakil Exporters: register a backend by its exporter, export every component…
2fcae0d9
IlyasMoutawwakil IlyasMoutawwakil requested a review from vasqu vasqu 31 days ago
IlyasMoutawwakil Exporters: feed bf16 inputs to OpenVINO as bf16 tensors
b6f63b47
IlyasMoutawwakil Exporters: import torch in the quantizers' utils only when it's avail…
e6472aa3
IlyasMoutawwakil IlyasMoutawwakil enabled auto-merge 28 days ago
disabled auto-merge 28 days ago
Manually disabled by user
IlyasMoutawwakil Merge branch 'main' into exporters-artifacts
e207dc34
IlyasMoutawwakil Exporters: an export returns an ExportedModel, not ExportArtifacts
ad541c1d
IlyasMoutawwakil Exporters: simplify the export plumbing
5a191224
IlyasMoutawwakil IlyasMoutawwakil changed the title 🚨 Exporters: `ExportArtifacts`, Hub save/load, one backend registry 🚨 Exporters: `ExportedModel`, Hub save/load, one backend registry 22 days ago
IlyasMoutawwakil Tests: expect the single unknown-format error for a missing format
d1b5bb87
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 Exporters: save loaded exports again safely; load remote-code configs…
b480efae
IlyasMoutawwakil Exporters: convert the export config where it is used
42138b79
IlyasMoutawwakil Exporters: clearer names; the export config serializes itself
edb1ec98
IlyasMoutawwakil Exporters: to_json_string without a trailing newline
53e45bba
IlyasMoutawwakil
IlyasMoutawwakil Exporters: a runnable ONNX quantization example; inline the one-use c…
96584b3c
IlyasMoutawwakil Tests: configs are serialized now, just never read back from a dict
c3bc94e3
IlyasMoutawwakil IlyasMoutawwakil enabled auto-merge 22 days ago
IlyasMoutawwakil Exporters: import repeat_kv only with torch, so the OpenVINO exporter…
13f4ebbb
IlyasMoutawwakil IlyasMoutawwakil merged 28ec08c4 into main 22 days ago
IlyasMoutawwakil IlyasMoutawwakil deleted the exporters-artifacts branch 22 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone