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.26.tar.gz
(91.5 kB
view hashes)
Built Distribution
onnxslim-0.1.26-py3-none-any.whl
(102.4 kB
view hashes)
Close
Hashes for onnxslim-0.1.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51f77ea7fcf0840eb722a31f48e6e4afdfd4d61f7b2bfd836e60222f063175cf |
|
MD5 | 14cc4e338028af75bbe485f42b2e43b9 |
|
BLAKE2b-256 | 42e5dba7348f4babd7d37a6cf1e72e8ba9cbc7704c69160aea9d5b61c7b5d6c3 |