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

Uploaded CPython 3.10 Windows x86-64

nncase-1.4.0.20220303-cp310-cp310-manylinux_2_24_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

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

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

nncase-1.4.0.20220303-cp39-cp39-manylinux_2_24_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

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

Uploaded CPython 3.9 macOS 10.15+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

nncase-1.4.0.20220303-cp38-cp38-manylinux_2_24_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

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

Uploaded CPython 3.8 macOS 10.15+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

nncase-1.4.0.20220303-cp37-cp37m-manylinux_2_24_x86_64.whl (10.6 MB view details)

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

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

Uploaded CPython 3.7m macOS 10.15+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

nncase-1.4.0.20220303-cp36-cp36m-manylinux_2_24_x86_64.whl (10.6 MB view details)

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

nncase-1.4.0.20220303-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.4.0.20220303-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 38edee1632abb934673bd4186db58480b9ba2db568a6d086d3dc0a6bace5e074
MD5 c6e9daf1bea5129e282cfacff99fc229
BLAKE2b-256 a54e8be1aa7721a09edbc4bee09cca6f17f3d1db1901bd5831646dc026137f06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-cp310-cp310-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.4.0.20220303-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 ac1953a25c2cc3a9b1e6b5271ab02c95a46a63cff56877bdeefb2f629d2efe20
MD5 1ebfcc8014558e69a12076a233bd7083
BLAKE2b-256 f39faf9e159b0639d46ebdf8519ded3d8447cbe71771e9b6bb2d625e3fee0645

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a48d13376d3523263c9f724792d642c1ac9b9265eed6cbbca351e721aa67342e
MD5 a22c7e547490b9b6e60a5cc8ec563a56
BLAKE2b-256 c7d91a237687bf85b57b366746ab2c8756a4e32250f777d3fce73d2b59f8764d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4984b5a36cfc390bfaa847e25733d266c39a7f2032b32997977b6899223a36f7
MD5 ec215057872dc7bd6c58c666f23d4604
BLAKE2b-256 5be2ac5cdc52e15a0554384e67afa1a6b79d149c63992cbe88daa070ed61b09f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-cp39-cp39-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.4.0.20220303-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a0dc6cc5f35480e2f2a77076e0e78cf29c17831555cb3f61152cbd11de18bc37
MD5 59fa58c4e36f51edecadde3a7f497432
BLAKE2b-256 3848a30081514f452caede5ba43b36702df61497e09b3b6455a6b80713a62c47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 19f527f666a0e4826c4a1a10808dab3e978089fd1f1343661e9d85dfe966eff1
MD5 fcb1823e723e2e01027778780633c7e0
BLAKE2b-256 4ee3364fcd53276f77dd933c4589f9eea7902ef6e4d3423f172c98c0aaedef3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 21c54e4dc823ecc3b561b8a862b81caf19a220fb8a711e12cf85f474d4ab7405
MD5 654053009bba19307a131688c69f11c7
BLAKE2b-256 b9be7902d566bc37135a4184ad7f0b5ca9eccadecd81aa8b03d58c4d6a03a5dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-cp38-cp38-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.4.0.20220303-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e307d3f688df417673eab540018d3ed66684ef3fa04a50a18baff185c0fbc274
MD5 dd1dd1a81870eb794244f056bd8c5b31
BLAKE2b-256 d5f720517568d38a77ff05fb75417f8b053b150140aaf07a6ad97dd5c55cb9a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7d5315420729f82e4cd0b17ddf178f11536ed8d583f63cfaefc63f5eeef592cc
MD5 ddbfebbe56d48bee7378c8f78efcddd6
BLAKE2b-256 cec3a0983f2621960911b45a6f4e9629f26cf76919c0bfb2a294b19ae7788e22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 40fc3d50df52705781a27c1349d4652466dac5932c5709b0ea13c20791e728b8
MD5 7f6b3e40acd6db813120a8c6cff109e5
BLAKE2b-256 f673c750ac141fb3d925511cfb84fe30e1757b835ac0ed0e90bd0dc42e85aea1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-cp37-cp37m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.4.0.20220303-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 34fae5ce460bf936efffcb889c173e768d71d01eca8ed560ff737be97a4b3e34
MD5 0715b355475a135b18bcbf84cb74a56b
BLAKE2b-256 8a6bb85e4175c817ab9eb6ecf40129d054e4156db93502bd2b01a867b179a281

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6fa67f46d1b918de9fe3952a6516897f1cfa418d24c0a7f0c6687f0cacd9f59a
MD5 c83d2732809177bdbd5a9ca7b9b6f409
BLAKE2b-256 0e04af7700fe3256d78b2c6f9b4aef515dbd00d21f3cae1286e385bf0f546d37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 1d020d945ee9fa13caba25db56b5b210fb6eb70989cfacd9644581bb9e06a223
MD5 1d2edf9dcfb887b2098d298efd35de78
BLAKE2b-256 2380e661602a79c8ba9b8053bc0fb61379b971783c9391b6f423e3cc6516eef6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-cp36-cp36m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.4.0.20220303-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d2e47a64114a972e73c78161dfacdacc8dfc3a239cb4b618af9a33df338bc373
MD5 c9893281fc17685b634a0f196b4742a7
BLAKE2b-256 d306d00dbd1ce6578a0a8852fd982fbcf14f02295fede72f8a896a2b5d6de700

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.4.0.20220303-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.4.0.20220303-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ec49b61e9df1c66910fd23af41d786c6e20cca7b108a9c67d5a113eccfac562d
MD5 c2e18288df0f235d3c1b94e3f985eb8f
BLAKE2b-256 3326ccec552b37117572db437a7a3ed3bb92680d487fa710c90dbeee056181d6

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