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

Uploaded CPython 3.10 Windows x86-64

nncase-1.0.0.20211029-cp310-cp310-manylinux_2_24_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

nncase-1.0.0.20211029-cp310-cp310-macosx_10_15_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-1.0.0.20211029-cp39-cp39-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-1.0.0.20211029-cp39-cp39-manylinux_2_24_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

nncase-1.0.0.20211029-cp39-cp39-macosx_10_15_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-1.0.0.20211029-cp38-cp38-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-1.0.0.20211029-cp38-cp38-manylinux_2_24_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

nncase-1.0.0.20211029-cp38-cp38-macosx_10_15_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-1.0.0.20211029-cp37-cp37m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-1.0.0.20211029-cp37-cp37m-manylinux_2_24_x86_64.whl (10.4 MB view details)

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

nncase-1.0.0.20211029-cp37-cp37m-macosx_10_15_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

nncase-1.0.0.20211029-cp36-cp36m-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

nncase-1.0.0.20211029-cp36-cp36m-manylinux_2_24_x86_64.whl (10.4 MB view details)

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

nncase-1.0.0.20211029-cp36-cp36m-macosx_10_15_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a3ba67424c1b3dba76954098a5eec38cbf4ebe192e809c97811a5b80e5e46dc2
MD5 f9e3d8363a8e15986685093ddb6f163b
BLAKE2b-256 2c828f4b81d4716a054c242753b658df2b69a7024b5202a5849549b36150acb9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp310-cp310-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 7c89b017a982582c656f1e62226a81d5391220593114d0ae493bc1ddd033d333
MD5 8ad177ae6718f399b7869355c98b9a85
BLAKE2b-256 4a6bbc6e6a893a87ab48e6a222bd97d4afa7ce19c065685677c0aa1e1c8fe03c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.10, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b43242f60252a26d2709cff0c5044876eb08c67513b914271cc49a30c27f53cb
MD5 dd4b1c7d48baa1b8d43cb9b4b6f97bd5
BLAKE2b-256 68b86511cf05a40ebb04f1372ffb7dd5a7623748d47467194bd3eb5b1f294fdf

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 653ce4563920e4f1d712ad8330474b5adbdcf80c5128a544aadb9624559747cc
MD5 4ad8945cf3d238ebd1b6ca44867df81d
BLAKE2b-256 b24d94f350750baffccadf8a166cac3dc391e7d766b4b4104b77199e7956c1ea

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp39-cp39-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 0bf07da915339f99b00252b111a0668b43f2d2aa3e96248c92ef036182ea6bc9
MD5 723d475f6b314293084bc51730716b11
BLAKE2b-256 8753acd98717afa27ae2fabc38ffd2aa4acdc5eaf05094f8e2c343739d99b80b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 497e6129c2dd0882b98e3269692927c5627c3d083290d43110c8f1c37c1e1bc5
MD5 56e47f74d60bd56a5ee582dcb1a9392c
BLAKE2b-256 81da1d39fedcb6625eb9f6815b6c45f05d01409fcc6d90d16f3f00f181fe130f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 511124661cca0740803e61a570ccd07e78c93c9d62ac34fc3d73bfc6c35d567b
MD5 e97606f433ee30df1ed742059ff41f4e
BLAKE2b-256 d1f2a71aa15fc72e95a8d34fc63614691bbf10f82c89c31ef0114806695c8810

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp38-cp38-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 126777b475190bc5b16edf733cee2f3c63c90129f67eeb85fd346eba207516ac
MD5 1415411a19880a0593966057645a9bc0
BLAKE2b-256 07e1349def498d530806e7714132b47490284a39254e882c27ae547b0dd04b10

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3d153ca3ede54b5b7e21c3d52ae25137064d710090904dbb49314791cc85c22d
MD5 2751eae3dc95c2583c6b573b87efec10
BLAKE2b-256 6109b086d25d4384c328b850611e6c709f75658366b41a31283d35dccab23339

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7f33b0f05a21298fcdedac149c43d4adbaa12cd2fcf2b6c2478da9e90ccfdc37
MD5 74d4877629b3651ebdc37e0eeeb33ecc
BLAKE2b-256 ad74289d849a31fd27c2e68962082c7ca7f47e95e68e6ba337906d477e68f30c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp37-cp37m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 368b193e84596a851b5f2eae109303579f824ea2e247bf194acb7b34b4e21a45
MD5 924574b47060962b4838e061c8aa15db
BLAKE2b-256 015ec9a33fed0ac3dc4aca0933fb5fec805a5ce9502f7063622768e9ca16dde1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b26a20cecac4b08610ec2d218fa3a52e5e79fb400d81b8798dbeb4c97ba8fbf8
MD5 7e98f7d6f2133bcce5b5ef1d6c6a11f6
BLAKE2b-256 a863af7e518a67bccf1164df9cdd483edb7b8276c9ac76c3d0a2c5f58e13f504

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 dfa5e0c95b762029ea0a667c3316e4fedf00c95f9a9873326cac47276925f94c
MD5 701565ff4d563378f472cc946a2feab7
BLAKE2b-256 8d269132c915b5c182ea3052e4b2def2cc2930550d383ec79379bcc90a73303a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp36-cp36m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 521f5d80605564f8922ad0bd923d1b2b090e7f459620bbf44e7424e123dc3b92
MD5 7c4ae390ef549b89f788cacae7461d24
BLAKE2b-256 a398181c70cd2f5ada00477651c9fe5429200ca41da71d5866308a2a8d2c6de5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: nncase-1.0.0.20211029-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: CPython 3.6m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nncase-1.0.0.20211029-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 afcfa34e44dfe5655226d3949e536f343a2dd470e94e630fa5dde83e02a1c95c
MD5 06b54cbc328d9c37106f67f0aa30a9a3
BLAKE2b-256 2238b4cc8d9d171593ef30696aa9c29ca377c761d79c02bdeef7dbff68546cc3

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