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

Uploaded CPython 3.10 Windows x86-64

nncase-2.1.0.20230703-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.0.20230703-cp310-cp310-macosx_10_15_x86_64.whl (24.7 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

nncase-2.1.0.20230703-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.0.20230703-cp39-cp39-macosx_10_15_x86_64.whl (24.7 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

nncase-2.1.0.20230703-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.0.20230703-cp38-cp38-macosx_10_15_x86_64.whl (24.7 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

nncase-2.1.0.20230703-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.0.20230703-cp37-cp37m-macosx_10_15_x86_64.whl (24.7 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f03bf346634244f3bebb719e8f050e22e5153bcb5d8cd1433e135989dd4fc379
MD5 ff388a5a16ed33d9305193a27d16614c
BLAKE2b-256 c8bdc01464f2053f72b53d8070d1cb56d252f0bf3df88d5b044266c21a289169

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42f9ea02d0dd2be4c089a6595527ec85d549f353ecce8b6882522deb87150ca9
MD5 12f5382832e1e47ec24cf929221e62ca
BLAKE2b-256 80e495073d501766b0599b2ff7a3d6b4cf2e4aaedde51584b7ce5784a95c1f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2f6988ad9ec9eefce82e83d1108bd93d7007e5ff79e69a966cd082479c106adc
MD5 5e1f944941d01ea2184fcb628d4c4d27
BLAKE2b-256 000f061bf74e5e302b56795a283db1f4ad50e7a4e3055796c95fd3477ff5d26d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4f7a46b4608408840c1537e50ccfe48bd42303c88e13cbabb70aaac2bdf61050
MD5 578b9b1328dd485b4f8e975fba3b6ab2
BLAKE2b-256 f83a00b713b364724981f1edcd7fc2e38c67f9505f0d596d32d62ef557292070

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c14da47ca3fa97913294384363449292c965703e04c35d55215f6895c74e5f47
MD5 7fce3a95d60902ec4c07a6cf920c4539
BLAKE2b-256 de58419487d671ad807f7029e46c21bb6ab2b4e3f33bc74306d457caf9556d23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5e6761ca719be3c6350ed917ab2e2c5a657e8525e0a022776eb6f7af1ae09e82
MD5 b854327d180fef9f91ec2522c2a479cf
BLAKE2b-256 e34153acbb536aed05dca8364dc37b4599bb8b798f34db40247848e9afc5065e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4e5ebf1c7d0c37696d8e76d8a6df0d69a947f6aa9f5291672f8f8960cf82e707
MD5 26f5985fd4a7a9ebb11634e8d1634c0d
BLAKE2b-256 463a64099559aee3bd78187605ed047eb4d64d9f7916f2d0a65713be3a6f0dd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3827696fb7bf1b2a39c6411d0291cb94f76de511ddbf05230229fdebef3787a
MD5 1da304cc6fb6a133f81ea8490787f2f0
BLAKE2b-256 4961a89c4ccf838327d68460a8c71c6123b4092c3c42621eb9b427c78b65d997

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 219494eb566489a541e599fd122dd8d1019706a35804cf17f64271a5fbdebf4a
MD5 adbd1aeab91134670bf542f3f685710a
BLAKE2b-256 5ba9d274beda98ef729c761a10db18dffc76e42d0515bea545cfe46f7d900a3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ac5def37bc44af2a6badf7f8326db306e25ec444635971145887518d487dda30
MD5 f5e39c13942e191867ef51618a7ed0cf
BLAKE2b-256 0f5f4a496cbbe018321e24729554ee6346a18120c66ace55acd0abb5f4e9dc86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8bcacd22029778d5b29277aa3530ad1e04763d0fa4eb40b91bfaa666905e6227
MD5 70055d83653843886cfc7673723b91c7
BLAKE2b-256 228c65a135b2cef3f3ce7d97551903fba8a5abed9347076c6900600dec2f4e18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.1.0.20230703-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f057a618db3f30e23e78df9c23a0f9d5a92c585a792dd9ff9af8b5ea4966f63a
MD5 0c5744010b52922055de71b14cf3042f
BLAKE2b-256 14c0464ffc2b0ee8e5ed11cce57ea0eaf5e2668c6b227549d174492263c6c593

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