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

Uploaded CPython 3.10 Windows x86-64

nncase-1.6.0.20220505-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.6.0.20220505-cp310-cp310-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

nncase-1.6.0.20220505-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.6.0.20220505-cp39-cp39-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

nncase-1.6.0.20220505-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.6.0.20220505-cp38-cp38-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

nncase-1.6.0.20220505-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.6.0.20220505-cp37-cp37m-macosx_10_15_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

nncase-1.6.0.20220505-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.6.0.20220505-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.6.0.20220505-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2e4471cf0cccca76f5f90607bd4ac86b53882077a11121f65bfe024e9fa6035c
MD5 bb5e19f1c824e39d44fce6174bdbe083
BLAKE2b-256 e749db200bb000b384f9693ef5b99ba20a4e857356515fd48ceb653777bfea1f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 01d1c3be0f1ed964b3bcf13a3e7c054e0b51a82f5a91a0b87b933430c65231be
MD5 3406c53dd833c2d1eeabf0e5c76a26df
BLAKE2b-256 040fd7e5e27ac26bb92890acf6b742db46ba414e7184ae64ad4ad197630a0836

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d368310220cabf7a31a8c17634902de989a1f2d27bf593c9ac59be4e35d489f6
MD5 6317d70db259ab6cd8dcf2d710a86812
BLAKE2b-256 05181491ee5032a67ba409b226186d9ce7ad7a2634b605aa7186cb0d4f03f9e7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c8e0328d5a26a72dd8577b11dc2e0426abfe0630a8c7a517b2a30a00ba970d1f
MD5 fa684f1680676e7b963bc0ea54955705
BLAKE2b-256 9af05c458c9a63e87935cdd5f7ae4e5fe0ec28774a00dd5a948ac5a42511d281

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 748cff1099a5caeb31896ee548e14cbeef1dd95d4e49c06f690cce409b95316a
MD5 5a7b7a2750b6842e4a572082822f6d59
BLAKE2b-256 41279368cb14e55a6b315ab20e60e48041d2528fb7d80e8825523f4b5a2ade42

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9488d707c373c354bf8f8b02ba9fb08df9f8b9222cf25907a5d1aeb0eca935a8
MD5 d5b31fa2af85db25b81b0bc26b0c9a02
BLAKE2b-256 8a5c6aa8ec63e4730abdac25afaf9668deea682281ff9b3f4ce218585688994b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0bb6a60951b8c39f2e83c6cae7b3f803db24bc638d164c417745ad614962a6b5
MD5 5e9fdbd5ae9ca55549d138dd865bdc0c
BLAKE2b-256 9bf88782a3743490a15d07ca6ef4c325813760ed1eb3b6b7f751de1da482d221

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4e7ea86252c6e781e5243ddc23728f71438572f4807f1f6bf3506f9a9cc43b76
MD5 7f320276069f4d7dd8a864d8854d8091
BLAKE2b-256 7f5715cce43096b094e083605847fe7e23ceccdad944f3a00c30ad334923882a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 63b3696a682f61b88266f907046473c5e15d4c55157b932a342973b57b808074
MD5 29fdc031252b903f436fb343f2d34f69
BLAKE2b-256 f25093cc88ab894e9c7e20bc63096a673c23727788ebd5794a78a2477419a264

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d3cc24c555dde9497c324b63638c1edd4d5bbd3313f97ea871847863d0d93dc0
MD5 0a3eec325ed78ec1dd316c47b384ec8f
BLAKE2b-256 5ef0fb98d3060356e4eed69946ff356e4bd9ee5b2aa65f073224258646578d25

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8b7fb85c3c15e5d1cf01bf69bcdebbf167c1dfd4bb0d8acb78047f8345e78283
MD5 b853eb271f62cbfa1befd210fa1443b4
BLAKE2b-256 26e6c47da01bddfd1244a32dd1b8c56ae07ac413c867112ed90f7711bc97e10d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 59b73079d4a0128091871b4ea55df3be854ee5d2e39c82fe5564db22fd6813be
MD5 e636463204cc844b4dd1db20f716b0e8
BLAKE2b-256 90a26e9be7b428b18e603545ffb09214cd7c02f5503fcb411c8368cf3aa5a1d0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 92b243e1a759a9a0564728390ea764c1cc69ed2525e0a2c4d99d2b75920511f8
MD5 148f39ccb56852854211056439b58fc4
BLAKE2b-256 fdd477fef7c0cf880833cf6e52f241f5ae6f95a1994f85f98e94bf2dae76d3a6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 9cc56d20cdd29fe83e38fa95d55996e78afe384c5b8cb4078a3dba82b8f56afa
MD5 7d25a4a5993274a6026f128036e4ee89
BLAKE2b-256 99679505b39f14747352b31dfe6dc99575d34390132c5b8fd9723dce86fba7fe

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nncase-1.6.0.20220505-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5e8dae50cd7e181ff76e1732b8f574c89a049159b5f5532e60c10253b29e3a19
MD5 fd8e055e236af80251efbd5ee2ade849
BLAKE2b-256 da99521130690bad32558ffb4ca13bc2be53d7f9f6963ba77ebe46e36582dbec

See more details on using hashes here.

Provenance

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