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-1.9.0.20230322-cp310-cp310-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.10 Windows x86-64

nncase-1.9.0.20230322-cp310-cp310-manylinux_2_24_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

nncase-1.9.0.20230322-cp310-cp310-macosx_10_15_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-1.9.0.20230322-cp39-cp39-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-1.9.0.20230322-cp39-cp39-manylinux_2_24_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

nncase-1.9.0.20230322-cp39-cp39-macosx_10_15_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-1.9.0.20230322-cp38-cp38-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-1.9.0.20230322-cp38-cp38-manylinux_2_24_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

nncase-1.9.0.20230322-cp38-cp38-macosx_10_15_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-1.9.0.20230322-cp37-cp37m-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-1.9.0.20230322-cp37-cp37m-manylinux_2_24_x86_64.whl (10.0 MB view details)

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

nncase-1.9.0.20230322-cp37-cp37m-macosx_10_15_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 904f66a20b50a4b199053e42f04dc0462ed9c1e8d42bf4ed122d13f0db7887b6
MD5 79acf2c333463a68ec6f8c04a56d39fa
BLAKE2b-256 569b436e360445bf7745358794412654fb8affb99249aa0bf6cfb90ab3cf7761

See more details on using hashes here.

File details

Details for the file nncase-1.9.0.20230322-cp310-cp310-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d9a53faaa9dc568c20df916a6555a5492cd0a7e83b1733ab330e86fb38fedc6a
MD5 27ff4f358748684fef0f4b4957c95ffe
BLAKE2b-256 7bb1adb6103c15dab920c7542683a7edc71f78d5007f0539af7be4d68ae23331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d201e13d0df43a41bc4ff234e30a2eefc05888c6326ff0b8bf8e5f988750823e
MD5 3328a4b9ef5b9b94a78f64c7399228ca
BLAKE2b-256 e04585fc49914841b077c9503fca5137fe84fd52e731eac942433fbdfc515fa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3047db46763c25af46dd71f052cb8044552e50950c36b40658081522cbc1f8df
MD5 b8dd1d4a403d7b9b227c89d6ec742737
BLAKE2b-256 b398e41916ce6825e9e11f5ac02e714fe902517df04d52b03367db6c142ffd1b

See more details on using hashes here.

File details

Details for the file nncase-1.9.0.20230322-cp39-cp39-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 9db5843b92a063ffedf27aeb1598dec023625866d040052c15adab86573328ca
MD5 225a8b28aebb7ae8451635b3bfab1a9a
BLAKE2b-256 0859e0203f162c2394c6c7c415f61dfbc0b12892167ab9970353bd3479f968d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8265d61473e8b36af9da0dd3fb465cb5bf43c0408adf40c09448495d34168104
MD5 0563a95e92a017587d9a7387a1857a77
BLAKE2b-256 6f038eccacc93dcef4e7b31d0912df2c20524b1bdddaa7b1c0de99774c3ead68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bb50a877017f1e8f5a3d15292a2ceb2c86be8eb5159278cf3a9a21a003fe25ed
MD5 ed5a8b362b1a6fa442312ccc22d32a26
BLAKE2b-256 c1fb1cc8f759380435562fe906133a4c142a45233498e38e87b66517fedc7fb0

See more details on using hashes here.

File details

Details for the file nncase-1.9.0.20230322-cp38-cp38-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 baee04b698a0b6e9bfd108f76c018629053d1172815c4ca5565bb50fea4cb8bb
MD5 e4fb20ec64739486b2354edcf2193101
BLAKE2b-256 0ac23cdf0c7aa2cc485792a2f3e5b3b9c5b8db6ae3b617b6eb353be88128567a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c27a191de26a09bf45e64ecb63d6b47f314e8a2c24ce3b90a800c55ebde5190b
MD5 37f09744d93c2553a77a0f189bf532ef
BLAKE2b-256 519f6f06af638cd48d0f8f9ffcfb9503897a070448213142f0f99a440e8d21e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 969a9ec85264fd46c8d6925b999cabbda98744a93b1f2c2ce6d23316043f60a6
MD5 33951d6f0f9a1ede5e907b7e92f5075b
BLAKE2b-256 52f08339622b2082b1a67e5018925443c0b306c0255d299a5753a130e10412e4

See more details on using hashes here.

File details

Details for the file nncase-1.9.0.20230322-cp37-cp37m-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 032ded1a61e7430bb8ffda7ea31ed9b897cfb1ecd8089a07d60e12a0de8f5ab9
MD5 344549ea4fea23f1df3a239fe6339259
BLAKE2b-256 5dafbe6f8adf142a89d221879cbb9f91e4c58b3dfe4b04966a6efc59a7b274e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.9.0.20230322-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9882db7b5870a33f458c9e786da5578a13bf5f0c85c066b993b64bbcc744b094
MD5 45de91bfb8de8aff425bdabc23f386b6
BLAKE2b-256 df889c2da69c47fa58961c36e33f332990286fec648e8c902eebeebc0cf86aa6

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