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

Uploaded CPython 3.10 Windows x86-64

nncase-1.8.0.20220929-cp310-cp310-manylinux_2_24_x86_64.whl (9.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

nncase-1.8.0.20220929-cp310-cp310-macosx_10_15_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-1.8.0.20220929-cp39-cp39-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-1.8.0.20220929-cp39-cp39-manylinux_2_24_x86_64.whl (9.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

nncase-1.8.0.20220929-cp39-cp39-macosx_10_15_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-1.8.0.20220929-cp38-cp38-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-1.8.0.20220929-cp38-cp38-manylinux_2_24_x86_64.whl (9.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

nncase-1.8.0.20220929-cp38-cp38-macosx_10_15_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-1.8.0.20220929-cp37-cp37m-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-1.8.0.20220929-cp37-cp37m-manylinux_2_24_x86_64.whl (9.8 MB view details)

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

nncase-1.8.0.20220929-cp37-cp37m-macosx_10_15_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 df82c5bcb7b295bd0e804dd2aa2f41b58f9b1453027bce0e4dd9c6b9851098b7
MD5 adc5f0cddd19e4f7ae13afac975c0236
BLAKE2b-256 a542e9c6efe9c268e49534f62cccfd0fce128333f792007df60c946a98516f6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 fd85dd2732296dff3bd633ad80d19030d0bc5b015161f65e0cda00148d90dcc7
MD5 0615a0f164e358165f489e33a51f5043
BLAKE2b-256 be9f1d865fbf8b87afbcf770d281037759f92d72e1f0cc040cd652e1e6dde5c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 144271f61e4b789b5341cd1b5428b69d696a300c5b825312220477633408b221
MD5 a9bbddba2e4c7316ca6dd77074e69ce0
BLAKE2b-256 f180aca4e3cf333b5e9730529ed36510cf376a8b176e3449be8181c28d3e9fa3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f1330e4441cfa518d0350d9d1629761e3079e756416f68e3b9f5a661bc916502
MD5 0737f1c3d2094db9dbe76a9f8b1a36a8
BLAKE2b-256 d381f8d3b5e0e9283000521249bbfbf6c89b619e2bf05e36dc587e39f3a40d9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 2db32dcddddd09efe400748069a17bd73d8013965b8bee31399fa9a1628299b4
MD5 84555d62bfb57e4c03ab565a0cdda542
BLAKE2b-256 3dad26f3d917dbdbbfa81ea85ae5a5e3c4adcdb2c599de4821e4d2563e0df291

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ebb12fba491a497e127e304f3a3be7f32f3e6ff8e6944661c08befbc06cb63b0
MD5 dc29ca32a4e5ab5bde8e2e5c08ae35ac
BLAKE2b-256 5524d3748e91b93188f3252c75ac79fb765549f7005f94ac86aaa918752fb8ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 cd91cc5916594dcc0199c9b529188857f116107c98016437f82577f6a31881c3
MD5 61e2c803092c9f619d7f8c15b4d12170
BLAKE2b-256 4ddddca4a07b4fff530a3bc2c4cc1ceb58a842d85223066d070101455872f866

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 f03459338b1ec47a571fb8bf4e347a0db8da530ef1766a919f40681274a6527f
MD5 c6837d9920f63a70c858b785c73bb4cd
BLAKE2b-256 bdc0d23a5c58a2a1366339ce078025ebc0c7513888a80a6658c2acd52de04907

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 96c17e9cc703a08fba768fb444291f19c69dac4cf1440d07dcd95df5264ff07d
MD5 b36a2b816b12496a1f21dc955f1ea3cf
BLAKE2b-256 2121ef4fb2ccdbd9d913d99b4ef91fb0ee2411ee659397e3ec6ab445a3dd2d68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 645ca55502d7d6283c39f26ac05017909a23681ebd283c0c1c826b3709850ae3
MD5 316b4cd7716275cefad2b6a8c2603bbd
BLAKE2b-256 49548f3b6f2c898107de1441df18e8463067d60774d4a19223556b6fd16f4fd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c12ef226ba7e22781f5c96d9f8b2f1c3621f3eb5b69f8e2ab45550dc24664daf
MD5 5b5378fba6b472c546a8128730ac38c0
BLAKE2b-256 6171c187b7114be3dfe464302b248fbc5977fb02f12c4b956690cf736ff3ab20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-1.8.0.20220929-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 61d56dbe172d4cf9f48370fd1b13a430f7c6dc703d97c5200460eabd16a19832
MD5 d12c8a864e361c66e40dd8cfc0e5b2e8
BLAKE2b-256 2fe58f1a1d89f044a2b1196162247c8cedbfb158a60b6f423a8d58bab407e2e8

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