transformers
15d95abf - Exporters: load the ONNX Runtime quantizer's tensor attributes before its temporary directory goes

Commit
21 days ago
Exporters: load the ONNX Runtime quantizer's tensor attributes before its temporary directory goes `onnx_ir.external_data.load_to_model` loads only the initializers, so the quantized graph's `Constant` values kept pointing at `quantized.onnx.data` in the deleted temporary directory: the saved export referenced a file that no longer exists, and loading it in a fresh process failed ("External data path validation failed for initializer"). Running it in the exporting process hid it. Each external tensor attribute is now loaded into memory too.
Committer
Parents
Loading