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%
- 🚀 Rank 1st in the AICAS 2024 LLM inference optimization challenge held by Arm and T-head
- 🚀 OnnxSlim is merged into ultralytics ❤️❤️❤️
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.29.1.tar.gz
(111.9 kB
view hashes)
Built Distribution
onnxslim-0.1.29.1-py3-none-any.whl
(125.3 kB
view hashes)
Close
Hashes for onnxslim-0.1.29.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2375f0ee75066ad77d7d03de97334d680b0cfea53f25a82bd5e7a44cfbf4e0c5 |
|
MD5 | 44d5e585734aca492f447b3bafdc06e3 |
|
BLAKE2b-256 | 7f505d6e8187ebc2efff168900bf5f9194656137da8b7e158650b408162cf5ed |