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

Uploaded CPython 3.10 Windows x86-64

nncase-1.7.0.20220530-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.7.0.20220530-cp310-cp310-macosx_10_15_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-1.7.0.20220530-cp39-cp39-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-1.7.0.20220530-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.7.0.20220530-cp39-cp39-macosx_10_15_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-1.7.0.20220530-cp38-cp38-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-1.7.0.20220530-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.7.0.20220530-cp38-cp38-macosx_10_15_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-1.7.0.20220530-cp37-cp37m-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-1.7.0.20220530-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.7.0.20220530-cp37-cp37m-macosx_10_15_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

nncase-1.7.0.20220530-cp36-cp36m-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.6m Windows x86-64

nncase-1.7.0.20220530-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.7.0.20220530-cp36-cp36m-macosx_10_15_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 15decd50b8042ff69a1e2e4fa7d02517f5ce272630a90a1421d4e9014d273aa6
MD5 4f6bac0d2b282a84aab6ae34fedaea9a
BLAKE2b-256 3dddaffc6dcc7d5e9b0a99df19795c18a9ff8bc9bf1bb5b3c75fdfdc9a66c460

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c8d5b4be8f7e3649bccd3cc9a66a0e7698787046df8d0b56afe7208e9e0d504b
MD5 1b9a2783d7e9a3036256d9af709fce4b
BLAKE2b-256 0b426437ef0b31e06623e9224dc75383c1cd4408a4e32f391c90b5ef51715501

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 35fafa8c267f9a19d2731a597268fb2b2e144a16a75c22f8a44bb7fc09f8cfa7
MD5 01c0d97d9ac873d9571b8828dad21697
BLAKE2b-256 cf8b1d2afabff2c54925fc878c8fd90b34dbf988e7b640c33d7d432364d16780

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b503a83c2e92d06f6fcd37e7cb1ee14c795e542f39099270a6437bcaacad0e70
MD5 b32de0b14efb5beba3ef170f272fdedd
BLAKE2b-256 26a592efc34204fc645ca89dd121d96f6638d979c58bc554da63513ac55f99fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4152fb88c8054d2c27259538cf089f42ec352a2fd4b646391031c596b21fcd2a
MD5 0a46fa1aa0f2230dcdf669b84d6134b7
BLAKE2b-256 4284306a384686a6ddeefde8560c2b3d032c0cdfb1e3d667e46d0a1dbc1a71db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ca3ce3964797638ebae8ca5b1faad17a749d50344a427cb2e1ea6ecb9616ce33
MD5 837a5c0172d2b04027c2f67fb47315d3
BLAKE2b-256 a4de4448ad3d743a49425df4442f558beb268a22024a77d2f3ce7e0040c147bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ef90f85f5e72331b5aa1662a288583e1925ebe4fd9c560d46d0c85c5bf2e899b
MD5 e2a548a1a8530d90e9e0fb615937288f
BLAKE2b-256 3ac0a0667ff65d40c0c6b9900985422602d6c90f7a0ee9956445806de30e8ad1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 dda390f167e1505aac3a474e05427092463186753add844a4bd6a57a38f88ea2
MD5 0ecbe8fde49836231a15273635be574e
BLAKE2b-256 4648cdaf24db9fd3883103355879dc351075d41ea36c6e1b647eb53008e46657

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4aab828df30748486458417949a91fb62066dfd4a8667c355f486d4e01d598ab
MD5 bd3d8898679bec75eceb21d3f049d467
BLAKE2b-256 8f3450a3dce85a8098b50aa86c9fe46164cdfa0845ab5e75b9e46df4cf9cfba5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e4eeca809be2ee4dbed888f301064cac9275561a1b76f037c4cb8e2d40340dc9
MD5 c0e9f1c17cdf9d83aef3e5afb8b47705
BLAKE2b-256 790105f398faf7bc4f6bd09974e87e90791f8e5cd601f991e93390e8504e887a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e3d89250ca9f3d27bd74951db558911a323ef1e154487cb9fda47ddcc7beae95
MD5 32b7eddf9d99ff6d2b14b434a28a9799
BLAKE2b-256 61e8b13c8b12f1f50c15e8721d2bb166e42d0ac173c297414dac9ab407b1a9d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 659c83e8823b089f6b14110604c695499390346437aae262aa9e75626777ee20
MD5 e8b99d6f947bdfd2332cf8348332f54d
BLAKE2b-256 f82e33a5f0320c4a5761768f874380dfb353f0c651b7232aa61b73ccd3ed2983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0ee23b9253025ef72320463325b19d4a0d838d7e790a03cb3f303a85258782e9
MD5 8fc025657fb1f2368911f4f0a9d178fd
BLAKE2b-256 32d1432f6f070c0e7a930d95580147e578cfd518116cee2d1723ca529cfce6a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 9e44bd84127ce065170dcff61a7fdfeda446210d6a91f138baf1f7e452f612e6
MD5 28f2e1d45718c959c29a50e21ccf4987
BLAKE2b-256 441b389b24c0387d50a9bb49ffa30e39f893ad6f9d9b1fa6c76cd958c1def134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.7.0.20220530-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 454ac2253f20098b6bcce58c8b641446d822be13e93f0664251c58645eaefbbb
MD5 76666029ff1bb38995800d8d80a63efa
BLAKE2b-256 5c582f68716b41bde3047de5ed8081ee7bd1b90aae4218ba516d8766a6f2b47f

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