| | |
| | | --model-name [model_name] \ |
| | | --export-dir [export_dir] \ |
| | | --type [onnx, torch] \ |
| | | --quantize \ |
| | | --quantize [true, false] \ |
| | | --fallback-num [fallback_num] |
| | | ``` |
| | | `model-name`: the model is to export. It could be the models from modelscope, or local finetuned model(named: model.pb). |
| | |
| | | |
| | | ## Acknowledge |
| | | Torch model quantization is supported by [BladeDISC](https://github.com/alibaba/BladeDISC), an end-to-end DynamIc Shape Compiler project for machine learning workloads. BladeDISC provides general, transparent, and ease of use performance optimization for TensorFlow/PyTorch workloads on GPGPU and CPU backends. If you are interested, please contact us. |
| | | |