Skip to main content

A neural network compiler for AI accelerators

Project description

nncase

License compiler-build

nncase is a neural network compiler for AI accelerators.

nncase 是一个为 AI 加速器设计的神经网络编译器。

技术交流 QQ 群:790699378

Telegram: nncase community

Install from binaries

从二进制安装

Download prebuilt binaries from Release.

下载预编译的二进制文件 Release

Build from source

从源码编译

Build from source

Supported operators

支持的算子

Usage

使用方法

Resources

资源


Architecture

架构

nncase arch

Features

  • Supports multiple inputs and outputs and multi-branch structure
  • Static memory allocation, no heap memory acquired
  • Operators fusion and optimizations
  • Support float and quantized uint8 inference
  • Support post quantization from float model with calibration dataset
  • Flat model with zero copy loading

功能

  • 支持多输入输出网络,支持多分支结构
  • 静态内存分配,不需要堆内存
  • 算子合并和优化
  • 支持 float 和量化 uint8 推理
  • 支持训练后量化,使用浮点模型和量化校准集
  • 平坦模型,支持零拷贝加载

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

nncase-2.1.1.20230721-cp310-cp310-win_amd64.whl (19.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

nncase-2.1.1.20230721-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

nncase-2.1.1.20230721-cp310-cp310-macosx_10_15_x86_64.whl (24.8 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-2.1.1.20230721-cp39-cp39-win_amd64.whl (19.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-2.1.1.20230721-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

nncase-2.1.1.20230721-cp39-cp39-macosx_10_15_x86_64.whl (24.8 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-2.1.1.20230721-cp38-cp38-win_amd64.whl (19.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-2.1.1.20230721-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

nncase-2.1.1.20230721-cp38-cp38-macosx_10_15_x86_64.whl (24.8 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-2.1.1.20230721-cp37-cp37m-win_amd64.whl (19.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-2.1.1.20230721-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

nncase-2.1.1.20230721-cp37-cp37m-macosx_10_15_x86_64.whl (24.8 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

Details for the file nncase-2.1.1.20230721-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 97acbb51d2812dcb617127550f00fbc187e72081cd1a4ccd279ae0e0a454cdaa
MD5 003855a23862f315c3b1caf916606015
BLAKE2b-256 5b46d9ab29a5ae44e505268dff88ea69993b3a1282e061079364b20ef3b89731

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b13811bc4111f0b78488e2601ca0e96c41f098aeba0cd1596ae8511a4108c133
MD5 8114440c1a1edc2e3b9a70b7afd705d1
BLAKE2b-256 cebb60b583609adea6be6cf77d572597b4525f769eb04ba0c7654bf57f53a13c

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c732ada2e2b0a94cbb180881962f19a30b1700ecccb6a400d459df43b81fe1f6
MD5 e8d1a4db628661012308196fce2e97c5
BLAKE2b-256 c77f95decfaed2de3bb57281ec21b7a4c48a6dee0f1826b11bc3fb27835fbb87

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1858fbcca8934dc16dccf778cdb7bdc4727de26159cf93eb38d5f62d9925ed48
MD5 ff103bee2f474a350a8ccfc94b88d5af
BLAKE2b-256 3384a834ae0b4d40c66cda7e858afd5baa8e442b2eecf203c37594f9c841abb8

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f4835abeec6a5b3d09f734f8eb6fa6d583dadf74c04eea2131b23f10461d48f
MD5 cdeb13789c1c9f7b078d0adfdff61022
BLAKE2b-256 50a85918a05abc6b95c5c0a8537920bbd97ade29ce15c40e782105ecc3b682fc

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9954208c5d9c64453788d72b74ad73df65b4b4351ba9fb7b5c573bd72879a43e
MD5 b98ecc547eae4e08f2aab91c9d1a6e44
BLAKE2b-256 1c7f3598564186f9ea298f64c91938cb8a73fe58457d0b44e3640e5342bca932

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2e074c4c78e68adc7cd899746465ca96af03aa1fe8e4a11ea76587ad8f2a3578
MD5 7fe894fdf018649489a2f64173badcf5
BLAKE2b-256 4134f21d8fc7fe38705bba845f5214afb1b5de17e4f7526f3392b37e513b30f4

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5aa4a2a5556c4ac5afc130f44779fdeb5365847756522384b61709276978ce52
MD5 b5bb90ec5e5a9c64bb5f92debdc5b611
BLAKE2b-256 d8ae938bc5f5aea360c48b9aed0f69399e5432feb73c4ae2500ba56c40bcbb27

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d5a4eb1465358f529a5558e46c3db50845d27d33a722a51b2e2482417981dffb
MD5 fb444610774177e0cbf025d46a61e6e1
BLAKE2b-256 b562d9b1235b12b7bcdb2df2c4e1829a8147a1492426cfc63f34f947dd95aacc

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6dd8ecdfc8625fb46857f2e39389323f3b40a60f1f1da4cecc7520b592cd5d35
MD5 97877cf5020732796c7a3f2a86728cf3
BLAKE2b-256 5a81062c350aa20c55a9c34cb4cbd7aee9f512924e58e322ddb6d4e13309eddc

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce95b5949df923cb0fb794f8c4c74837bc0f7e5aac5474816f3cef997988ca40
MD5 71fa3eb01a5a409a6b2ee7aa9cd3fc3e
BLAKE2b-256 08190a27b57ce88685afc0ed00ae6c743c600cdc5b72628d74cab246b06af230

See more details on using hashes here.

File details

Details for the file nncase-2.1.1.20230721-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for nncase-2.1.1.20230721-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1166553a35f6677286d8ae44a574c7c9c46ec086e37221bdd9df5b98b50e8ab1
MD5 1b41ad1aca224324f8716ea2e3451124
BLAKE2b-256 edd2af0bcfd21c4ed4e161f813b94d44a783d9064bc0c89bde88e00c4e003d9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page