transformers
3b09dad8 - Exporters: an ONNX export loaded from the Hub cache saves again; save/load tests per backend

Commit
21 days ago
Exporters: an ONNX export loaded from the Hub cache saves again; save/load tests per backend - The Hub cache links `model.onnx.data` to a blob outside the snapshot, which onnx_ir refuses to read: the loaded graph's weights now read from the blob, so it can be saved, quantized or fused again. Only that file is redirected. - tests/exporters/test_save_load.py: the save/load round trips, one class per backend, plus bfloat16 and Hub-cache ONNX cases. test_runtime.py keeps the decode runtime tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parents
Loading