A automatic pipeline for SnapML quantization
Project description
# SnapML Automatic Quantization Pipeline
## Installation:
pip install git+ssh://git@github.sc-corp.net/Snapchat/snapml_auto_quantization.git –upgrade
## Uninstallation:
pip uninstall snapml_auto_quantization
## Exporting ONNX Models:
- torch.onnx.export(net, inputs, onnx_path, verbose=verbose,
input_names=input_names, output_names=output_names, keep_initializers_as_inputs=True, operator_export_type= torch.onnx.OperatorExportTypes.ONNX_ATEN_FALLBACK, opset_version=None)
## API Documenation
[Documentation](https://github.sc-corp.net/pages/Snapchat/snapml_auto_quantization/)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file snapml_auto_quantization-0.0.6.tar.gz
.
File metadata
- Download URL: snapml_auto_quantization-0.0.6.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ff02762022cfc4f8079796050b1a3402bd37e2fd35c2e1ec648f8ececdc02b |
|
MD5 | 98ca872cdfd11d9855bd3d6f34f57f44 |
|
BLAKE2b-256 | eddac19f4da988d98a0c8d22b73e783e3bd9ac40feeeca218b68c406fd18654d |