Instructions to use CatSnowdrop/universal_onnxruntime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use CatSnowdrop/universal_onnxruntime with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download onnxruntime/quantization/__init__.py from CatSnowdrop/universal_onnxruntime: direct link, hf CLI and curl.
- Browser
- Download file 763 Bytes
-
https://huggingface.co/CatSnowdrop/universal_onnxruntime/resolve/main/onnxruntime/quantization/__init__.py
- Command line
-
hf download hf://CatSnowdrop/universal_onnxruntime/onnxruntime/quantization/__init__.py
-
curl -L -o __init__.py https://huggingface.co/CatSnowdrop/universal_onnxruntime/resolve/main/onnxruntime/quantization/__init__.py
763 Bytes
| from .calibrate import ( # noqa: F401 | |
| CalibraterBase, | |
| CalibrationDataReader, | |
| CalibrationMethod, | |
| MinMaxCalibrater, | |
| TensorData, | |
| TensorsData, | |
| create_calibrator, | |
| load_tensors_data, | |
| save_tensors_data, | |
| ) | |
| from .cuda_quantizer import CudaQuantizer # noqa: F401 | |
| from .qdq_quantizer import QDQQuantizer # noqa: F401 | |
| from .quant_utils import QuantFormat, QuantType, write_calibration_table # noqa: F401 | |
| from .quantize import ( | |
| DynamicQuantConfig, # noqa: F401 | |
| QuantizationMode, # noqa: F401 | |
| StaticQuantConfig, # noqa: F401 | |
| get_qdq_config, # noqa: F401 | |
| quantize, # noqa: F401 | |
| quantize_dynamic, # noqa: F401 | |
| quantize_static, # noqa: F401 | |
| ) | |
| from .shape_inference import quant_pre_process # noqa: F401 | |