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

Uploaded CPython 3.10 Windows x86-64

nncase-1.1.0.20211203-cp310-cp310-manylinux_2_24_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

nncase-1.1.0.20211203-cp310-cp310-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-1.1.0.20211203-cp39-cp39-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-1.1.0.20211203-cp39-cp39-manylinux_2_24_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

nncase-1.1.0.20211203-cp39-cp39-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-1.1.0.20211203-cp38-cp38-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-1.1.0.20211203-cp38-cp38-manylinux_2_24_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

nncase-1.1.0.20211203-cp38-cp38-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-1.1.0.20211203-cp37-cp37m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-1.1.0.20211203-cp37-cp37m-manylinux_2_24_x86_64.whl (10.5 MB view details)

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

nncase-1.1.0.20211203-cp37-cp37m-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

nncase-1.1.0.20211203-cp36-cp36m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

nncase-1.1.0.20211203-cp36-cp36m-manylinux_2_24_x86_64.whl (10.5 MB view details)

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

nncase-1.1.0.20211203-cp36-cp36m-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 5.3 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.1.0.20211203-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 47403b62cc5e10267dfe0965316d287eb0145b6761c03f02233f8c99a0293911
MD5 924ac8cae464de1895fed565b096742f
BLAKE2b-256 94e5e4e942335bb3edfc4024b02f9b4c37ec5fff3a102b1f0d4b6a18b9e4f007

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp310-cp310-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.5 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.1.0.20211203-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 dfbbc9e87ff7ae023090058876e0952279e89370fa10d7755d63be91b57e9e7c
MD5 acaba7be8e5e7a0226588382100bf7b1
BLAKE2b-256 dc7626bcae1ab717c46e15dab9ea4e44753500db5b0720c00feda554adbb46e0

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.1.0.20211203-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d8bfcff067726ac55ad22e3915cb16b55ca65af85fc99f43561a853d3fed3382
MD5 f872ea962ce659fcc0660fe29ef7b75b
BLAKE2b-256 34ac98af90cb948d3fe8406421bb07ac0ca6a859ad02e90318b9a6eea88c16c2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.3 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.1.0.20211203-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1fe27a0dbf79fe4caa94a0a30a54b57781916ce6e37c131aaf5ea4d6c0e815db
MD5 5d8d3e0bac47cce22041fd00bc8daa5a
BLAKE2b-256 d03ab79c55f27e897f933c60cfa45dfc3afd3cd4cb88be5b9cbb9012e685e4aa

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp39-cp39-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.5 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.1.0.20211203-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 24720fbb46bd8c15a8cceec1186395c6bfb86e8e6bf1bcdf5c72a5c02268ad31
MD5 189b1f5d80af6edcffe1108b57d5de03
BLAKE2b-256 bb9a7e4f47b451be1708f4709df6eddda84b7aaaf73e42b591dfe5381111f182

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.1.0.20211203-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 52dfb13d78abacb36e521840ce028af33d4b4eda6246ac9740136ad856e96699
MD5 da0000b259714ee2cb24561becf8df14
BLAKE2b-256 6867616d8727af046dc9dc45d6fa557c2d3073312611d6cb54aaf0dd4a3ebc5c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.3 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.1.0.20211203-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f04884bef41efe85c9262710365ba92237bd1cf0719103672a0bf589cd526b07
MD5 43ad7fe0b30e447cbdff4d265b773330
BLAKE2b-256 c917bacd35707c7fd6b27216706ccfd1fb4c5c76425ad236969ba4c3befe6773

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp38-cp38-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.5 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.1.0.20211203-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 9e45ffdb9fa6a7ed45dd4b7a4a3f1d88726a3a819a676747c62800be3e93cccd
MD5 573d3e7b5fd02e5fd31206bf4c2df644
BLAKE2b-256 20542bdec5604ee1c455130b0c531de32d419f3102a51fdbd49304ffa1b6e6bd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.1.0.20211203-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cdc9eb79454f008365d145811f5a86a6c930d289785d94b953913a40a90c05a3
MD5 3fd1899b5760e079ae7d029141005168
BLAKE2b-256 ee538a03d56cc636367ce4fcafd974535162cafb2e8338896b733309a068b001

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 5.3 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.1.0.20211203-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 330bfa6cd195212ca07f70fba1bf4ae202ae419855d2b530c70ce84d383f4f27
MD5 4c97db36ba4111c5bf9f639a82083dfa
BLAKE2b-256 8ef1e55253fc7ef0214ad6add699f5b2921abcddd327fdfa274daf917b0ab399

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp37-cp37m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.5 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.1.0.20211203-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4b0e3d89ac1db9383feefa27458e61bbe53f30ae8a46c1b2a2b6dc03281bdf81
MD5 4ad94108e10a4be6cfdd1d1cfa3ea644
BLAKE2b-256 ec981af53c1903dc1aa3e785b7fd79e24ccd0f83e36ffffe1fead04f9db7b623

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.1.0.20211203-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 913cd81eee7fc03ff812c35c682218ef783751a561734d294dba80305b3f19a7
MD5 e8f32965a477b8c91ef4f58f76f89d5c
BLAKE2b-256 472b31a1b25c1da1958b1b0db9a57843e2ccc2a9ae262aa91e8e8ae376a9757e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.3 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.1.0.20211203-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8b78771ecb853496fa7ebdb25c73a62e35ae7f0ace326394831b0560695d2b69
MD5 4d6dbd100cf786f0c8ef56d700248c8e
BLAKE2b-256 21ba9561b45960c42be25be96b9879c000ae47f258714309ca4ef646fe359cab

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp36-cp36m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.5 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.1.0.20211203-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 0fefe84d7e6f097b774840fd98411f4b0b5dfce7d9e9ef5c94a938f60952ac68
MD5 4cfc4204087f75c19692aab39abb157b
BLAKE2b-256 38725dfc61d18fc1d1a068adeff1e7688c9d9ab47af9c225debf680d75275c37

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.1.0.20211203-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.1.0.20211203-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 dcc5e08120552c2a7eb52df09a0f5b18d397b2f044a35f6f0ccf875808616497
MD5 3dced09843a5dca9ffbbb9e0195b525d
BLAKE2b-256 e9d08ef76f20d4551f7aa939d781862e207470580e5f87650e749919bd87eabe

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