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.17.tar.gz
(62.5 kB
view hashes)
Built Distribution
onnxslim-0.1.17-py3-none-any.whl
(72.6 kB
view hashes)
Close
Hashes for onnxslim-0.1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27ebea7c126b821020f5c16ef2493b855301a0eeb6a7748009647a1bb2abc2ec |
|
MD5 | e50f877cc907f4d349b3674675d193bc |
|
BLAKE2b-256 | 85b170acc3922c2d62bdd475386ccb17b47d3d9c83f541c08ed96414757f12b4 |