Skip to main content

A neural network compiler for AI accelerators

Project description

nncase

GitHub repository Gitee repository GitHub release

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

支持的算子

K210/K510

K230

Resources

资源

K210


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

Uploaded CPython 3.10 Windows x86-64

nncase-2.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

nncase-2.5.0-cp310-cp310-macosx_10_15_x86_64.whl (25.3 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-2.5.0-cp39-cp39-win_amd64.whl (19.6 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-2.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

nncase-2.5.0-cp39-cp39-macosx_10_15_x86_64.whl (25.3 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-2.5.0-cp38-cp38-win_amd64.whl (19.6 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-2.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

nncase-2.5.0-cp38-cp38-macosx_10_15_x86_64.whl (25.3 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-2.5.0-cp37-cp37m-win_amd64.whl (19.6 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-2.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB view details)

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

nncase-2.5.0-cp37-cp37m-macosx_10_15_x86_64.whl (25.3 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: nncase-2.5.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 19.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for nncase-2.5.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d230bcd6c327fb85f015c956e00b5c1c92e335ba1eeaf9c09392063914f4f0aa
MD5 1278437baa01b9101b006f7acead1382
BLAKE2b-256 f4e32a87678d55a79f133e8c09ae8fcda6c4a4797ddc1fb58e7d21d57ac59d19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 740bdf867b01069037fd51d18b35ca048324a84cba889517137e038392cd735b
MD5 9f44bcdcb758114ea673d897fca5dd15
BLAKE2b-256 e23c61c3240a93a120f9586ad1811bcd3127c0abfa63194213ed0472c4ac6518

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7ce882a0d1cf4e3adb19c780df371ece9b67e9c5c62b8d87d22e0fa34a8ac774
MD5 e799c664729eb0e1459001cd207582f3
BLAKE2b-256 100df4cbd296f2ee940c9718d1e2801977fcf3fbe96c676d6ff53c59927007a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-2.5.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 19.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for nncase-2.5.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 568a17c8cd4a04a6f3c3478fae56b06f8bd87637b0bcdec5f4539d819c9d5c0e
MD5 bc651e1577eda09d7aea1e93e5c67dba
BLAKE2b-256 82412cdb124257d7a0a528d89bd0fbf023318c8d4cfe45591711c88bd2e0ff3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20fcfcf22eb0d1a6151ebde78b05aeeb219be013d59463c8b94c34d86434d004
MD5 3e8a2b6ec078acda7aee43fe8a7b1d0e
BLAKE2b-256 8c6007e94597f7215a27c1b45f7982adbfd1aa3031261b5ae5231fad504346d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2e5a7b6c5cfd993080a07b7a644e186fa7541d1ed261177471a3351820d75305
MD5 1772875129983d1b1841ba24ece05542
BLAKE2b-256 89cf5c24fe54771eee900a6b8a9aad3a28f03793db4328cb62f04560432c68e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-2.5.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 19.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for nncase-2.5.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c2908b0026827cbb8bdb0f3aa5a31b2230a5d4e520d163ae0759657f38cd5c95
MD5 3f054f2891dc64a427ed8d9a578d1260
BLAKE2b-256 348cd15f26bc14957495770ed7f3106053a0ad6b6dba7dc91c931241602ea342

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca66c0b4201cd65387c2931a30dad01a4e88e6904d2b0ef95fa19b0055545722
MD5 d6f473aabacb81d87aba2f30461454fb
BLAKE2b-256 0700780a17a509cbb2436291ff34d75ada30ec43051890aee57a4b7c5d8e0209

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1577634b05965fb10ba297ec0d381c21729bb9fe1bfdde3fc4883699d61f6bbe
MD5 f948178ddade72329f496c3b581c3a90
BLAKE2b-256 d28471c6a18aeb46c5c71df333fd91e7d997d9169bb599a27325d5ca8262987d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-2.5.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 19.6 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for nncase-2.5.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ee1533198e8377e5dbe2aecdef13bbec18391dc85db4745e0cca5d5dad3b3645
MD5 f852ade851d7d6986a0c4339505688f6
BLAKE2b-256 84ece0b0f11f96099ac8d327d2d8d79f7166a0f7a1504752b44ef6815864f541

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 761e3bfa9b7b07d9d6826d8f585f15c289c443f8f6d88ed7e8c032459b8bf777
MD5 447d956eca701669455c7cf8571ca327
BLAKE2b-256 4b3174d9228a1bd178912e3ac4684d78a6140d39cd3e6660199c568187ac5b0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nncase-2.5.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3ea673e93d0ac6e499c966f1e49f6f725d5d2c63b93e080fa69c8a6f33810f10
MD5 9a375cc11881220a6047aabb056831ab
BLAKE2b-256 f91951b33e046a25410526d6ec661267450612bf8333b40190aebbb424c954c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page