Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added capability to quantize a model while exporting through ONNX. (h…
…uggingface#6089) * Added capability to quantize a model while exporting through ONNX. Signed-off-by: Morgan Funtowicz <[email protected]> We do not support multiple extensions Signed-off-by: Morgan Funtowicz <[email protected]> * Reformat files Signed-off-by: Morgan Funtowicz <[email protected]> * More quality Signed-off-by: Morgan Funtowicz <[email protected]> * Ensure test_generate_identified_name compares the same object types Signed-off-by: Morgan Funtowicz <[email protected]> * Added documentation everywhere on ONNX exporter Signed-off-by: Morgan Funtowicz <[email protected]> * Use pathlib.Path instead of plain-old string Signed-off-by: Morgan Funtowicz <[email protected]> * Use f-string everywhere Signed-off-by: Morgan Funtowicz <[email protected]> * Use the correct parameters for black formatting Signed-off-by: Morgan Funtowicz <[email protected]> * Use Python 3 super() style. Signed-off-by: Morgan Funtowicz <[email protected]> * Use packaging.version to ensure installed onnxruntime version match requirements Signed-off-by: Morgan Funtowicz <[email protected]> * Fixing imports sorting order. Signed-off-by: Morgan Funtowicz <[email protected]> * Missing raise(s) Signed-off-by: Morgan Funtowicz <[email protected]> * Added quantization documentation Signed-off-by: Morgan Funtowicz <[email protected]> * Fix some spelling. Signed-off-by: Morgan Funtowicz <[email protected]> * Fix bad list header format Signed-off-by: Morgan Funtowicz <[email protected]>
- Loading branch information