freshcrate
Skin:/
Home > Frameworks > SimpleInfer

SimpleInfer

A simple neural network inference framework

Why this rank:Strong adoptionHealthy release cadence

Description

A simple neural network inference framework

README

SimpleInfer

SimpleInfer is a neural network inference framework based on KuiperInfer.

Build

SimpleInfer uses xmake to build library and tests.

git clone --recursive https://github.com/zpye/SimpleInfer.git
cd SimpleInfer
xmake config -a x64 -m release
xmake -w --all

Run

After building successfully, run test-yolo to check.

xmake run test-yolo

YOLO Result

Here are visualized results of YOLO detection.

result_31.jpg

result_bus.jpg

result_car.jpg

result_zidane.jpg

Working With Python

  1. Set environment PYTHON_ROOT where python binary exists, pybind11 needs ${PYTHON_ROOT}/include and ${PYTHON_ROOT}/libs for compiling and linking.

  2. Set --build_python=true after xmake config and build:

xmake config -a x64 -m release --build_python=true
xmake -w --all
  1. install package by pip:
pip install build/python/
  1. run python test:
python test/test_python/test_model.py

(Experimental) Halide Programming

Note: Only upsample nearest layer has an implementation of Halide.

  1. Set environment HALIDE_ROOT for Halide installation path, using release packages from https://github.com/halide/Halide/releases is a good choice.

  2. Set --halide=true after xmake config and build:

xmake config -a x64 -m release --halide=true
xmake build halide_layers
xmake -w --all

Reference

KuiperInfer -> basic framework

ncnn, simpleocv -> pnnx ir, simpleocv and mat-pixel operations

Eigen, tensorflow -> Eigen tensor

abseil -> logging, string format operations

CGraph -> graph based pipeline

highway, Simd -> SIMD, GEMM, Winograd, parallel

benchmark, Catch2 -> benchmark and unit tests

pybind11 -> python bindings of c++

stb -> image loader and image writer

Halide -> Halide programming

tmp -> pnnx models

Release History

VersionChangesUrgencyDate
0.0.0No release found — using repo HEADLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023
main@2023-08-01Latest activity on main branchLow8/1/2023

Dependencies & License Audit

Loading dependencies...

Similar Packages

onnxruntimeONNX Runtime: cross-platform, high performance ML inferencing and training acceleratorv1.26.0
modular-image-classification-frameworkA modular deep learning framework for training and evaluating image classification models on datasets like CIFAR-10 and MNIST. Supports configurable CNN architectures, automated training, and performamain@2026-05-28
onnxruntime-javaA type-safe, lightweight, modern, and performant binding Java binding of Microsoft's ONNX Runtimev1.26.0-1
OriginDLImplement a Pytorch-like DL library in C++ from scratch, step by stepv1.0.0
APTAI Productivity Tool - Free and open source, improve user productivity, and protect privacy and data security. Including but not limited to: built-in local exclusive ChatGPT, DeepSeek, Phi, Qwen and o2.9.16.0

More in Frameworks

langchainThe agent engineering platform
deer-flowAn open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of ta
tqdmFast, Extensible Progress Meter
simBuild, deploy, and orchestrate AI agents. Sim is the central intelligence layer for your AI workforce.