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 optimiztion challenge held by Arm and T-head
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.27.tar.gz
(104.7 kB
view hashes)
Built Distribution
onnxslim-0.1.27-py3-none-any.whl
(118.0 kB
view hashes)
Close
Hashes for onnxslim-0.1.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa5fb8aef80efebd0df070b182bd20a10b399ce09ff2c5f14c6e7425296035c |
|
MD5 | c1a7e0c3264e7e2ae9bd048cbd4d4973 |
|
BLAKE2b-256 | 9d8c6ea541fd531d3ad7636552a99a58713c8cc63f39dd704723c6a8f8733686 |