ThanatosShinji/onnx-tool

A tool for parsing, editing, optimizing, and profiling ONNX models.

493

stars

263

commits

Python

primary language

Jun 8, 2026

updated

pypi.org/project/onnx-tool/
onnx
python

README

๐Ÿ“„ ็ฎ€ไฝ“ไธญๆ–‡ | โœจ New Project: AI-Enhancement-Filter (powered by onnx-tool)


Python 3.6+ PyPI Version License

onnx-tool

A comprehensive toolkit for analyzing, optimizing, and transforming ONNX models with advanced capabilities for LLMs, diffusion models, and computer vision architectures.

  • LLM Optimization: Build and profile large language models with KV cache analysis (example)
  • Graph Transformation:
    • Constant folding (docs)
    • Operator fusion (docs)
  • Advanced Profiling:
    • Rapid shape inference
    • MACs/parameter statistics with sparsity awareness
  • Compute Graph Engine: Runtime shape computation with minimal overhead (details)
  • Inference Engine: PyTorch-backed graph inference with memory pool (details)
    • 40+ registered op kernels (Conv, Add, Relu, Gemm, etc.)
    • Up to 11.3x faster than PyTorch in dynamic resolution scenarios
    • 54% memory reduction via two-pass compression algorithm
  • Memory Compression:
    • Activation memory optimization (up to 95% reduction)
    • Weight quantization (FP16, INT8/INT4 with per-tensor/channel/block schemes)
  • Quantization & Sparsity: Full support for quantized and sparse model analysis

๐Ÿค– Supported Model Architectures

DomainModels
NLPBERT, T5, GPT, LLaMa, MPT, Qwen3, Qwen3.5 (Dense & MoE), DeepSeek-V4 (Flash/Pro, MLA+MoE), MiniMax-M2.7 (MoE) (TransformerModel)
DiffusionStable Diffusion (TextEncoder, VAE, UNet)
CVDetic, BEVFormer, SSD300_VGG16, ConvNeXt, Mask R-CNN, Silero VAD
AudioSovits, LPCNet

๐Ÿ†• Qwen3.5 Series: Full support for Qwen3.5 hybrid architecture including:

  • Gated DeltaNet (GDN) layers with linear attention
  • QKV Gating (Q projection with built-in gate, applied before O-projection)
  • Sparse Mixture-of-Experts (MoE) with routed + shared experts
  • Mixed layer types (linear_attention / full_attention) per config
  • Multimodal Vision Encoder (ViT + MLP Projector) with resolution-aware profiling

โšก Build & Profile LLMs in Seconds

Profile 10 Hugging Face models in under one second. Export ONNX models with llama.cpp-like simplicity (code).

Model Statistics (1k token input)

model name(1k input)MACs(G)Parameters(G)KV Cache(G)
Phi-3-mini-4k40833.821080.201327
Phi-3-small-8k-instruct79127.801670.0671089
Phi-3-medium-4k-instruct1466513.96020.104858
Llama3-8B80298.030260.0671089
Llama-3.1-70B-Japanese-Instruct-24077288870.55370.167772
Qwen3.5-4B-Instruct ๐Ÿ†•48074.6510.067109
Qwen3.5-35B-A3B-Instruct ๐Ÿ†• (MoE)357434.7050.041943
DeepSeek-V4-Flash ๐Ÿ†• (MoE/MLA)15681283.8110.045089
DeepSeek-V4-Pro ๐Ÿ†• (MoE/MLA)557011571.7420.063963
MiniMax-M2.7 ๐Ÿ†• (MoE)12554230.3150.130023

Multimodal: Vision Encoder vs LLM MACs ๐Ÿ†•

Vision encoder (ViT-24L + MLP Projector) vs LLM backbone. LLM input seq_len = vision patches + 1K text tokens. Both models share the same ViT architecture. See benchmark/vision_llm_compare.py.

ResolutionPatchesTotal TokensVision(G)4B LLM(G)4B Vis/LLM(%)35B LLM(G)35B Vis/LLM(%)
224ร—2242561,280846,0801.44,5571.8
448ร—4481,0242,04838910,0703.97,7195.0
672ร—6722,3043,3281,06117,2926.113,7027.7
896ร—8964,0965,1202,35028,5998.223,5769.9
1344ร—8966,1447,1684,31743,23310.037,00011.6
1344ร—13449,21610,2408,25968,60712.061,41413.4

๐Ÿ’ก Vision MACs scale with O(pยฒ), LLM MACs with O(tยฒ) where t = patches + text. At 448ร—448, vision is ~4-5% of LLM; at 1344ร—1344, ~12-13%. Vision is always the minor component.

MoE Activated Parameters vs Sequence Length

Activated parameters = sum of all nodes' static_params (weights actually accessed during forward pass). S=32: Qwen3.5-35B-A3B & MiniMax-M2.7 experts fully activated (gap โ‰ˆ embedding); DeepSeek-V4 not yet saturated (top-6 ร— 32 = 192 < num_experts).

modelTotal(G)S=1S=2S=4S=8S=16S=32
Qwen3.5-35B-A3B (MoE)34.32.443.445.469.4817.5433.64
MiniMax-M2.7 (MoE)230.310.4217.4431.4859.56115.73228.08
DeepSeek-V4-Flash (MoE)283.812.7519.2432.2358.20110.14214.03
DeepSeek-V4-Pro (MoE)1571.747.6071.77120.13216.84410.27797.12

Latency Estimation (4-bit weights, 16-bit KV cache)

Prefill Throughput (tokens/s, 1k input)

modelUltra-358HArc-B70RTX-4090RTX-5090
Phi-3-mini-4k6658.921279.819896.025567.0
Phi-3-small-8k-instruct3599.511316.910429.813334.3
Phi-3-medium-4k-instruct1964.86151.85649.17213.2
Llama3-8B3499.911053.210226.713092.7
Llama-3.1-70B-Japanese-Instruct-2407401.21249.31141.81455.5
Qwen3.5-4B-Instruct ๐Ÿ†•5705.018162.016923.121720.3
Qwen3.5-35B-A3B-Instruct ๐Ÿ†• (MoE)4660.918458.321970.029367.3
MiniMax-M2.7 ๐Ÿ†• (MoE)970.54285.16090.49083.3

Decode Throughput (tokens/s)

modelUltra-358HArc-B70RTX-4090RTX-5090
Phi-3-mini-4k56.4267.9444.2789.7
Phi-3-small-8k-instruct33.4158.5262.8467.2
Phi-3-medium-4k-instruct18.085.4141.6251.8
Llama3-8B32.9156.1258.9460.2
Llama-3.1-70B-Japanese-Instruct-24073.617.328.751.0
Qwen3.5-4B-Instruct ๐Ÿ†•56.5268.4444.9791.0
Qwen3.5-35B-A3B-Instruct ๐Ÿ†• (MoE)79.0375.0621.81105.4
MiniMax-M2.7 ๐Ÿ†• (MoE)23.4111.0184.1327.3

๐Ÿ’ก Latencies computed from hardware specs โ€“ no actual inference required. Uses BF16/FP16 compute with FP32 accumulate as the standard.


๐Ÿ”ง Basic Parsing & Editing

Intuitive API for model manipulation:

from onnx_tool import Model

model = Model('model.onnx')          # Load any ONNX file
graph = model.graph                  # Access computation graph
node = graph.nodemap['Conv_0']       # Modify operator attributes
tensor = graph.tensormap['weight']   # Edit tensor data/types
model.save_model('modified.onnx')    # Persist changes

See comprehensive examples in benchmark/examples.py.


๐Ÿ“Š Shape Inference & Profiling

All profiling relies on precise shape inference:

Shape inference visualization

Profiling Capabilities

  • Standard profiling: MACs, parameters, memory footprint
  • Sparse-aware profiling: Quantify sparsity impact on compute

MACs profiling table Sparse model profiling

๐Ÿ“š Learn more:


โš™๏ธ Compute Graph & Shape Engine

Transform exported ONNX graphs into efficient Compute Graphs by removing shape-calculation overhead:

Compute graph transformation

  • Compute Graph: Minimal graph containing only compute operations
  • Shape Engine: Runtime shape resolver for dynamic models

Use Cases:

  • Integration with custom inference engines (guide)
  • Shape regression testing (example)

๐Ÿ’พ Memory Compression

Activation Memory Compression

Reuses temporary buffers to minimize peak memory usage โ€“ critical for LLMs and high-res CV models.

modelNative Memory Size(MB)Compressed Memory Size(MB)Compression Ratio(%)
StableDiffusion(VAE_encoder)14,2455403.7
StableDiffusion(VAE_decoder)25,4171,1404.48
StableDiffusion(Text_encoder)21552.5
StableDiffusion(UNet)36,1352,2326.2
GPT24026.9
BERT2,170271.25

โœ… Typical models achieve >90% activation memory reduction
๐Ÿ“Œ Implementation: benchmark/compression.py

The compress_memory() algorithm has been patched with two improvements (see onnx_tool/graph.py):

  1. Size-sorted allocation: New tensors within each node are allocated in descending size order, reducing fragmentation
  2. Tail compression: Unused space at the end of the memory pool is trimmed
  3. List reference fix: Each tensor's [offset, size] is stored as an independent copy, preventing accidental cross-tensor aliasing

Benchmark results across models:

modelNative(MB)Compressed(MB)Ratio(%)
VAE encoder11,313.6512.04.53
VAE decoder19,816.2896.14.52
Text encoder172.53.72.12
GPT2381.116.14.23
ResNet50279.310.73.84

โœ… Optimized algorithm achieves up to 54% additional pool reduction (ResNet50: 21.4โ†’10.7 MB vs original)

Inference Engine

The inference/ module provides a complete PyTorch-backed inference engine built on the compressed memory pool:

  • MemoryPool: Zero-copy tensor views into a pre-allocated contiguous buffer
  • Kernel Registry: 40+ registered op kernels (Conv, Add, Relu, Gemm, MatMul, etc.)
  • GraphInfer: Graph-level inference with shape engine integration

Performance highlights (ResNet18 on Intel XPU):

MetricPyTorchGraphInferImprovement
Single inference (1080p)0.0151s0.0167s0.91x (on par)
Sequential 7 resolutions1820ms162ms11.3x faster
Peak XPU memory (4K)2338 MB1926 MB17.6% less
Memory pool (4K)โ€”1012 MBFixed size

๐Ÿ“Œ See inference/README.md for full benchmark details

Weight Compression

Essential for deploying large models on memory-constrained devices:

Quantization SchemeSize vs FP32Example (7B model)
FP32 (baseline)1.00ร—28 GB
FP160.50ร—14 GB
INT8 (per-channel)0.25ร—7 GB
INT4 (block=32, symmetric) โ€“ llama.cpp0.156ร—4.4 GB

Supported schemes:

  • โœ… FP16
  • โœ… INT8: symmetric/asymmetric ร— per-tensor/channel/block
  • โœ… INT4: symmetric/asymmetric ร— per-tensor/channel/block

๐Ÿ“Œ See benchmark/examples.py for implementation examples.


๐Ÿš€ Installation

# PyPI (recommended)
pip install onnx-tool

# Latest development version
pip install --upgrade git+https://github.com/ThanatosShinji/onnx-tool.git

Requirements: Python โ‰ฅ 3.6

โš ๏ธ Troubleshooting: If ONNX installation fails, try:

pip install onnx==1.8.1 && pip install onnx-tool

Known Issues

  • Loop op is not supported
  • Sequence type is not supported

๐Ÿ“ˆ Model Zoo Results

Comprehensive profiling of ONNX Model Zoo and SOTA models. Input shapes defined in data/public/config.py.

๐Ÿ“ฅ Download pre-profiled models (with full tensor shapes):

ModelParams(M)MACs(M)
GPT-J 1 layer464173,398
MPT 1 layer26179,894
text_encoder123.136,782
UNet2DCondition859.52888,870
VAE_encoder34.16566,371
VAE_decoder49.491,271,959
SqueezeNet 1.01.23351
AlexNet60.96665
GoogleNet6.991,606
googlenet_age5.981,605
LResNet100E-IR65.2212,102
BERT-Squad113.6122,767
BiDAF18.089.87
EfficientNet-Lite412.961,361
Emotion12.95877
Mask R-CNN46.7792,077
ModelParams(M)MACs(M)
LLaMa 1 layer618211,801
BEVFormer Tiny33.7210,838
rvm_mobilenetv33.734,289
yolov464.333,319
ConvNeXt-L229.7934,872
edgenext_small5.581,357
SSD19.98216,598
RealESRGAN16.6973,551
ShuffleNet2.29146
GPT-2137.021,103
T5-encoder109.62686
T5-decoder162.621,113
RoBERTa-BASE124.64688
Faster R-CNN44.1046,018
FCN ResNet-5035.2937,056
ResNet50253,868

๐Ÿค Contributing

Contributions are welcome! Please open an issue or PR for:

  • Bug reports
  • Feature requests
  • Documentation improvements
  • New model support

Contributors

ThanatosShinji

236 commits

Treemann

5 commits

JustLuoyu

3 commits

ashay

3 commits

ThanatosShinji/onnx-tool

A tool for parsing, editing, optimizing, and profiling ONNX models.

493

stars

263

commits

Python

primary language

Jun 8, 2026

updated

pypi.org/project/onnx-tool/
onnx
python

README

๐Ÿ“„ ็ฎ€ไฝ“ไธญๆ–‡ | โœจ New Project: AI-Enhancement-Filter (powered by onnx-tool)


Python 3.6+ PyPI Version License

onnx-tool

A comprehensive toolkit for analyzing, optimizing, and transforming ONNX models with advanced capabilities for LLMs, diffusion models, and computer vision architectures.

  • LLM Optimization: Build and profile large language models with KV cache analysis (example)
  • Graph Transformation:
    • Constant folding (docs)
    • Operator fusion (docs)
  • Advanced Profiling:
    • Rapid shape inference
    • MACs/parameter statistics with sparsity awareness
  • Compute Graph Engine: Runtime shape computation with minimal overhead (details)
  • Inference Engine: PyTorch-backed graph inference with memory pool (details)
    • 40+ registered op kernels (Conv, Add, Relu, Gemm, etc.)
    • Up to 11.3x faster than PyTorch in dynamic resolution scenarios
    • 54% memory reduction via two-pass compression algorithm
  • Memory Compression:
    • Activation memory optimization (up to 95% reduction)
    • Weight quantization (FP16, INT8/INT4 with per-tensor/channel/block schemes)
  • Quantization & Sparsity: Full support for quantized and sparse model analysis

๐Ÿค– Supported Model Architectures

DomainModels
NLPBERT, T5, GPT, LLaMa, MPT, Qwen3, Qwen3.5 (Dense & MoE), DeepSeek-V4 (Flash/Pro, MLA+MoE), MiniMax-M2.7 (MoE) (TransformerModel)
DiffusionStable Diffusion (TextEncoder, VAE, UNet)
CVDetic, BEVFormer, SSD300_VGG16, ConvNeXt, Mask R-CNN, Silero VAD
AudioSovits, LPCNet

๐Ÿ†• Qwen3.5 Series: Full support for Qwen3.5 hybrid architecture including:

  • Gated DeltaNet (GDN) layers with linear attention
  • QKV Gating (Q projection with built-in gate, applied before O-projection)
  • Sparse Mixture-of-Experts (MoE) with routed + shared experts
  • Mixed layer types (linear_attention / full_attention) per config
  • Multimodal Vision Encoder (ViT + MLP Projector) with resolution-aware profiling

โšก Build & Profile LLMs in Seconds

Profile 10 Hugging Face models in under one second. Export ONNX models with llama.cpp-like simplicity (code).

Model Statistics (1k token input)

model name(1k input)MACs(G)Parameters(G)KV Cache(G)
Phi-3-mini-4k40833.821080.201327
Phi-3-small-8k-instruct79127.801670.0671089
Phi-3-medium-4k-instruct1466513.96020.104858
Llama3-8B80298.030260.0671089
Llama-3.1-70B-Japanese-Instruct-24077288870.55370.167772
Qwen3.5-4B-Instruct ๐Ÿ†•48074.6510.067109
Qwen3.5-35B-A3B-Instruct ๐Ÿ†• (MoE)357434.7050.041943
DeepSeek-V4-Flash ๐Ÿ†• (MoE/MLA)15681283.8110.045089
DeepSeek-V4-Pro ๐Ÿ†• (MoE/MLA)557011571.7420.063963
MiniMax-M2.7 ๐Ÿ†• (MoE)12554230.3150.130023

Multimodal: Vision Encoder vs LLM MACs ๐Ÿ†•

Vision encoder (ViT-24L + MLP Projector) vs LLM backbone. LLM input seq_len = vision patches + 1K text tokens. Both models share the same ViT architecture. See benchmark/vision_llm_compare.py.

ResolutionPatchesTotal TokensVision(G)4B LLM(G)4B Vis/LLM(%)35B LLM(G)35B Vis/LLM(%)
224ร—2242561,280846,0801.44,5571.8
448ร—4481,0242,04838910,0703.97,7195.0
672ร—6722,3043,3281,06117,2926.113,7027.7
896ร—8964,0965,1202,35028,5998.223,5769.9
1344ร—8966,1447,1684,31743,23310.037,00011.6
1344ร—13449,21610,2408,25968,60712.061,41413.4

๐Ÿ’ก Vision MACs scale with O(pยฒ), LLM MACs with O(tยฒ) where t = patches + text. At 448ร—448, vision is ~4-5% of LLM; at 1344ร—1344, ~12-13%. Vision is always the minor component.

MoE Activated Parameters vs Sequence Length

Activated parameters = sum of all nodes' static_params (weights actually accessed during forward pass). S=32: Qwen3.5-35B-A3B & MiniMax-M2.7 experts fully activated (gap โ‰ˆ embedding); DeepSeek-V4 not yet saturated (top-6 ร— 32 = 192 < num_experts).

modelTotal(G)S=1S=2S=4S=8S=16S=32
Qwen3.5-35B-A3B (MoE)34.32.443.445.469.4817.5433.64
MiniMax-M2.7 (MoE)230.310.4217.4431.4859.56115.73228.08
DeepSeek-V4-Flash (MoE)283.812.7519.2432.2358.20110.14214.03
DeepSeek-V4-Pro (MoE)1571.747.6071.77120.13216.84410.27797.12

Latency Estimation (4-bit weights, 16-bit KV cache)

Prefill Throughput (tokens/s, 1k input)

modelUltra-358HArc-B70RTX-4090RTX-5090
Phi-3-mini-4k6658.921279.819896.025567.0
Phi-3-small-8k-instruct3599.511316.910429.813334.3
Phi-3-medium-4k-instruct1964.86151.85649.17213.2
Llama3-8B3499.911053.210226.713092.7
Llama-3.1-70B-Japanese-Instruct-2407401.21249.31141.81455.5
Qwen3.5-4B-Instruct ๐Ÿ†•5705.018162.016923.121720.3
Qwen3.5-35B-A3B-Instruct ๐Ÿ†• (MoE)4660.918458.321970.029367.3
MiniMax-M2.7 ๐Ÿ†• (MoE)970.54285.16090.49083.3

Decode Throughput (tokens/s)

modelUltra-358HArc-B70RTX-4090RTX-5090
Phi-3-mini-4k56.4267.9444.2789.7
Phi-3-small-8k-instruct33.4158.5262.8467.2
Phi-3-medium-4k-instruct18.085.4141.6251.8
Llama3-8B32.9156.1258.9460.2
Llama-3.1-70B-Japanese-Instruct-24073.617.328.751.0
Qwen3.5-4B-Instruct ๐Ÿ†•56.5268.4444.9791.0
Qwen3.5-35B-A3B-Instruct ๐Ÿ†• (MoE)79.0375.0621.81105.4
MiniMax-M2.7 ๐Ÿ†• (MoE)23.4111.0184.1327.3

๐Ÿ’ก Latencies computed from hardware specs โ€“ no actual inference required. Uses BF16/FP16 compute with FP32 accumulate as the standard.


๐Ÿ”ง Basic Parsing & Editing

Intuitive API for model manipulation:

from onnx_tool import Model

model = Model('model.onnx')          # Load any ONNX file
graph = model.graph                  # Access computation graph
node = graph.nodemap['Conv_0']       # Modify operator attributes
tensor = graph.tensormap['weight']   # Edit tensor data/types
model.save_model('modified.onnx')    # Persist changes

See comprehensive examples in benchmark/examples.py.


๐Ÿ“Š Shape Inference & Profiling

All profiling relies on precise shape inference:

Shape inference visualization

Profiling Capabilities

  • Standard profiling: MACs, parameters, memory footprint
  • Sparse-aware profiling: Quantify sparsity impact on compute

MACs profiling table Sparse model profiling

๐Ÿ“š Learn more:


โš™๏ธ Compute Graph & Shape Engine

Transform exported ONNX graphs into efficient Compute Graphs by removing shape-calculation overhead:

Compute graph transformation

  • Compute Graph: Minimal graph containing only compute operations
  • Shape Engine: Runtime shape resolver for dynamic models

Use Cases:

  • Integration with custom inference engines (guide)
  • Shape regression testing (example)

๐Ÿ’พ Memory Compression

Activation Memory Compression

Reuses temporary buffers to minimize peak memory usage โ€“ critical for LLMs and high-res CV models.

modelNative Memory Size(MB)Compressed Memory Size(MB)Compression Ratio(%)
StableDiffusion(VAE_encoder)14,2455403.7
StableDiffusion(VAE_decoder)25,4171,1404.48
StableDiffusion(Text_encoder)21552.5
StableDiffusion(UNet)36,1352,2326.2
GPT24026.9
BERT2,170271.25

โœ… Typical models achieve >90% activation memory reduction
๐Ÿ“Œ Implementation: benchmark/compression.py

The compress_memory() algorithm has been patched with two improvements (see onnx_tool/graph.py):

  1. Size-sorted allocation: New tensors within each node are allocated in descending size order, reducing fragmentation
  2. Tail compression: Unused space at the end of the memory pool is trimmed
  3. List reference fix: Each tensor's [offset, size] is stored as an independent copy, preventing accidental cross-tensor aliasing

Benchmark results across models:

modelNative(MB)Compressed(MB)Ratio(%)
VAE encoder11,313.6512.04.53
VAE decoder19,816.2896.14.52
Text encoder172.53.72.12
GPT2381.116.14.23
ResNet50279.310.73.84

โœ… Optimized algorithm achieves up to 54% additional pool reduction (ResNet50: 21.4โ†’10.7 MB vs original)

Inference Engine

The inference/ module provides a complete PyTorch-backed inference engine built on the compressed memory pool:

  • MemoryPool: Zero-copy tensor views into a pre-allocated contiguous buffer
  • Kernel Registry: 40+ registered op kernels (Conv, Add, Relu, Gemm, MatMul, etc.)
  • GraphInfer: Graph-level inference with shape engine integration

Performance highlights (ResNet18 on Intel XPU):

MetricPyTorchGraphInferImprovement
Single inference (1080p)0.0151s0.0167s0.91x (on par)
Sequential 7 resolutions1820ms162ms11.3x faster
Peak XPU memory (4K)2338 MB1926 MB17.6% less
Memory pool (4K)โ€”1012 MBFixed size

๐Ÿ“Œ See inference/README.md for full benchmark details

Weight Compression

Essential for deploying large models on memory-constrained devices:

Quantization SchemeSize vs FP32Example (7B model)
FP32 (baseline)1.00ร—28 GB
FP160.50ร—14 GB
INT8 (per-channel)0.25ร—7 GB
INT4 (block=32, symmetric) โ€“ llama.cpp0.156ร—4.4 GB

Supported schemes:

  • โœ… FP16
  • โœ… INT8: symmetric/asymmetric ร— per-tensor/channel/block
  • โœ… INT4: symmetric/asymmetric ร— per-tensor/channel/block

๐Ÿ“Œ See benchmark/examples.py for implementation examples.


๐Ÿš€ Installation

# PyPI (recommended)
pip install onnx-tool

# Latest development version
pip install --upgrade git+https://github.com/ThanatosShinji/onnx-tool.git

Requirements: Python โ‰ฅ 3.6

โš ๏ธ Troubleshooting: If ONNX installation fails, try:

pip install onnx==1.8.1 && pip install onnx-tool

Known Issues

  • Loop op is not supported
  • Sequence type is not supported

๐Ÿ“ˆ Model Zoo Results

Comprehensive profiling of ONNX Model Zoo and SOTA models. Input shapes defined in data/public/config.py.

๐Ÿ“ฅ Download pre-profiled models (with full tensor shapes):

ModelParams(M)MACs(M)
GPT-J 1 layer464173,398
MPT 1 layer26179,894
text_encoder123.136,782
UNet2DCondition859.52888,870
VAE_encoder34.16566,371
VAE_decoder49.491,271,959
SqueezeNet 1.01.23351
AlexNet60.96665
GoogleNet6.991,606
googlenet_age5.981,605
LResNet100E-IR65.2212,102
BERT-Squad113.6122,767
BiDAF18.089.87
EfficientNet-Lite412.961,361
Emotion12.95877
Mask R-CNN46.7792,077
ModelParams(M)MACs(M)
LLaMa 1 layer618211,801
BEVFormer Tiny33.7210,838
rvm_mobilenetv33.734,289
yolov464.333,319
ConvNeXt-L229.7934,872
edgenext_small5.581,357
SSD19.98216,598
RealESRGAN16.6973,551
ShuffleNet2.29146
GPT-2137.021,103
T5-encoder109.62686
T5-decoder162.621,113
RoBERTa-BASE124.64688
Faster R-CNN44.1046,018
FCN ResNet-5035.2937,056
ResNet50253,868

๐Ÿค Contributing

Contributions are welcome! Please open an issue or PR for:

  • Bug reports
  • Feature requests
  • Documentation improvements
  • New model support

Contributors

ThanatosShinji

236 commits

Treemann

5 commits

JustLuoyu

3 commits

ashay

3 commits

Languages

Python

100.0%