OnnxSlim: A Toolkit to Help Optimize Large Onnx Model
Project description
OnnxSlim
OnnxSlim can help you slim your onnx model, with less operators, but same accuracy, better inference speed.
- 🚀 OnnxSlim is merged to mnn-llm, performance increased by 5%
Installation
Using Prebuilt
pip install onnxslim
Build From Source
pip install .
How to use
onnxslim your_onnx_model slimmed_onnx_model
For more usage, see onnxslim -h or refer to our examples
References
Contact
Discord: https://discord.gg/nRw2Fd3VUS
QQ Group: 873569894
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onnxslim-0.1.25.tar.gz
(91.1 kB
view hashes)
Built Distribution
onnxslim-0.1.25-py3-none-any.whl
(102.1 kB
view hashes)
Close
Hashes for onnxslim-0.1.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be1410a57de9857f1452bf0a51cd5487739d5344d8d96d3adcbf50b0a1d953d6 |
|
MD5 | d127a33b0a5f073e0f51f902b4bd4c71 |
|
BLAKE2b-256 | 93cba292ed51c2f9f730e164ad1427951e4d8c6721641ed9f2e95b17daa37231 |