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

Uploaded CPython 3.10 Windows x86-64

nncase-1.5.0.20220331-cp310-cp310-manylinux_2_24_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

nncase-1.5.0.20220331-cp310-cp310-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-1.5.0.20220331-cp39-cp39-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-1.5.0.20220331-cp39-cp39-manylinux_2_24_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

nncase-1.5.0.20220331-cp39-cp39-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-1.5.0.20220331-cp38-cp38-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-1.5.0.20220331-cp38-cp38-manylinux_2_24_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

nncase-1.5.0.20220331-cp38-cp38-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-1.5.0.20220331-cp37-cp37m-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-1.5.0.20220331-cp37-cp37m-manylinux_2_24_x86_64.whl (10.7 MB view details)

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

nncase-1.5.0.20220331-cp37-cp37m-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

nncase-1.5.0.20220331-cp36-cp36m-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

nncase-1.5.0.20220331-cp36-cp36m-manylinux_2_24_x86_64.whl (10.7 MB view details)

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

nncase-1.5.0.20220331-cp36-cp36m-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0216fd37f0122e691e98b91da41e8237897838b0b1090ff74e84595d354a6598
MD5 d4207e9eb4b7aafefdd61f59013dc6a9
BLAKE2b-256 73e249687794b43728fa1dfd303a8f8f5b6d2ab585398fbc7dd252c7e69b02e8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp310-cp310-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 7844a5e9d9e95c4f7e0f00f59edf3bd61a7df26c944d0fcc123d56f5c8e01f01
MD5 9bb9d4a7bf7c2d564b5addcd68d5e54a
BLAKE2b-256 6aa053c818634139040dfb2df8fab18cf49026938752048a8ead3d5ed0e77d9d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.10, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 151d6219a9733bf2c27d1ab4a23a07e6abdb813ede1162d6fb11e9e1600e3228
MD5 ba1be4f8f0c1021117be308fea8dadeb
BLAKE2b-256 6b4a677b9c64fc2b82111449be91e7081e340dbea2e10a881528063d9717ca99

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 877f1dcfa8d9008b8d9544a37fa9ac6d5b0f02cf0bb6cc3413e0363a6256cbc5
MD5 9d9bfa32e253398073d58edb7d2b7520
BLAKE2b-256 882ec6d6439935de7431ca89c2b33e5cdb1429dfa32c7c347cd6fa08c1ab253b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp39-cp39-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a19f18ef9c5401f6a2d4150de895177d601f65f0746003fb50978548d4e8dbc9
MD5 e73917971af7a75dca1b7cacc3877db9
BLAKE2b-256 a280bfae5edd5a00f15b7a32838adad55797cf6fef3e36c65f4c17f549fea9f1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 daf14a525a904abbc1e71c3c806061c650f231b211c3ec76983898309da3398d
MD5 d163168166b93f8644dfc555b38f3b30
BLAKE2b-256 335f74870b173cac697a39dde3555fc427fc2af7acb6314de9451d8d96ac2ea7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 77af1d6a286ad8cafb56a49e8da221d4fda22e11dc693a12984d65375be40641
MD5 36cf7299b7531921ad424b5692b025a6
BLAKE2b-256 7bafee4e2fe43ed04238069738ca1f5836e11ca114c4568bfd6bbe8c190a7ec2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp38-cp38-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8392a974ca8e1f3d933c9fe5aee2995e490b1c97b78f843224adaea12693b879
MD5 5a57f65939215be29104dbb9d4a2737e
BLAKE2b-256 4d40ad6d7ded696737157f4e98e96a88a4b2798b3d2e95e23c1b078da0c97e6e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2f216a18ddf6e88c73e9bf10c004a359db5550ea72b2ecb3119e84752f0a7536
MD5 20020812e4e7a838f1d19acc79f91195
BLAKE2b-256 3f74e5397a6da2c756ace042031397947e8d68ee6021e2f2f16c96f7c4f9c712

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 931f1e9c24bb52a751f174a7e2874ec047532aa6f0b293b96564e36d52337a9b
MD5 d764d80a38fc438c14cfbf51fd67268b
BLAKE2b-256 013a6bc8d22e48121b0b9454951966a1184f783dab05f31cd4ad93dd7157f697

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp37-cp37m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 050e17bd621f83859d15c7a4468b49f43419c3b6a60f3c4cecf829dc97822e6a
MD5 5644659cd2ad00068df74ae3372b3241
BLAKE2b-256 c5844823b305b88a8c228fa82cb420918d706365cd4003493210b88366e43312

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.5.0.20220331-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2b217aee634f70ac028bb2e0fe3465743b9df29de375fa42eb26de1f9b11a869
MD5 b22a7d72d49cf1f34b0629296a48ec45
BLAKE2b-256 8fd8c6df818facda627ed5358af91d8be59f13f622295f20b636834aba661871

See more details on using hashes here.

Provenance

File details

Details for the file nncase-1.5.0.20220331-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: nncase-1.5.0.20220331-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 498c42019f48cd2eadcba04d2626c15c8eed85ecc85c2a9b6cbfe330d8e5f577
MD5 cd7fc09061479994b730487d979e1084
BLAKE2b-256 195129abd1d77780acf5353371295f9b363169f2c494ccabe941dfcec3e8b4a6

See more details on using hashes here.

Provenance

File details

Details for the file nncase-1.5.0.20220331-cp36-cp36m-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: nncase-1.5.0.20220331-cp36-cp36m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a412409152698518480825b1b5989cc6d67e4522644b9fc32751b885681579e8
MD5 b43cbaca2d9e576ff8f66d8ba45cfc6f
BLAKE2b-256 4e21edfbb45d76b22f2276e1b04a1c8abc985b931bdd62793773bc57da8af210

See more details on using hashes here.

Provenance

File details

Details for the file nncase-1.5.0.20220331-cp36-cp36m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: nncase-1.5.0.20220331-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.6m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.5.0.20220331-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5f69d31c53a0ee8f674cdb78c0ba67a0f9e8f8761a9da452fdf43ffdeb472345
MD5 ee301154e640c1531b5dfa12a1646048
BLAKE2b-256 81177ad43e073428fb111b2b080ddc386927ef71e0cd20a3086e17614b2c99a3

See more details on using hashes here.

Provenance

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