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

Uploaded CPython 3.10 Windows x86-64

nncase-1.3.0.20220127-cp310-cp310-manylinux_2_24_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

nncase-1.3.0.20220127-cp310-cp310-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

nncase-1.3.0.20220127-cp39-cp39-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

nncase-1.3.0.20220127-cp39-cp39-manylinux_2_24_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

nncase-1.3.0.20220127-cp39-cp39-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

nncase-1.3.0.20220127-cp38-cp38-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.8 Windows x86-64

nncase-1.3.0.20220127-cp38-cp38-manylinux_2_24_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

nncase-1.3.0.20220127-cp38-cp38-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

nncase-1.3.0.20220127-cp37-cp37m-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.7m Windows x86-64

nncase-1.3.0.20220127-cp37-cp37m-manylinux_2_24_x86_64.whl (10.6 MB view details)

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

nncase-1.3.0.20220127-cp37-cp37m-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.7m macOS 10.15+ x86-64

nncase-1.3.0.20220127-cp36-cp36m-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

nncase-1.3.0.20220127-cp36-cp36m-manylinux_2_24_x86_64.whl (10.6 MB view details)

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

nncase-1.3.0.20220127-cp36-cp36m-macosx_10_15_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 5.4 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.3.0.20220127-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4d42372f09144c190d963657835463f1ebce40cd7b9917cbde608c624ed0c238
MD5 3e93c2b09440c61ac531b09cc4e650af
BLAKE2b-256 f1ad79261533a09b79b0d9a5b2433b89c453e97a629ba4e5cc0362dfba3ff6c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp310-cp310-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.3.0.20220127-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8cb2959fecebd124c3e2d7b5f790c38f246a99f1412d5d766b02c5412c994752
MD5 6941167f81b8b73d8c0d9c4a3f862692
BLAKE2b-256 580a77cc361e004ba0d273c152daec657b1531bd505097bbb4a2026434b4a82a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.3.0.20220127-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2534b2659df844d46ad8c66d952ac635d546b2520a5839f5341b56955ffe72cb
MD5 38d5498ab5948070434dafdf382b92b1
BLAKE2b-256 c2fe393d0ec1bb13e97b86ef7fef0e77995f0e4842d8ee7c5ac119cffb1eabf1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.4 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.3.0.20220127-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3f0d5e9f8f843d176f259ca2ffdb4eb22c671689dccc7c79f8732b432bd4d4cc
MD5 9f085948f62f2a9729a4be238b55491b
BLAKE2b-256 d7c9b67783c68ef191913fd8523be96c35439358497c6e74fcbb44e81b7fecd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp39-cp39-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.3.0.20220127-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 cdb6d637b875f2658636c0e5f0fe815729fa2dcf85ba57eb594e1cf5c58da0da
MD5 06de482154e13e53d38aee1da7c08162
BLAKE2b-256 2c77a8c6ccba6158a2fd9ce53009308ed0044ea21c779bf46aa0e4a6a9409b6f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.3.0.20220127-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7444954ebd1a5864cc90cbb17584f47402aef63860fd722e9707f07e7d858fa9
MD5 788ed08559aed84ca57732dd9f34f0e6
BLAKE2b-256 0fe40fd7cab71883aa8c655dcc3bb96608eaccdf94614ca575ee9cbbc9377f47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.4 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.3.0.20220127-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bb58434e544bee91a33cc678a651602c66c8480116a48b615c1be9a12a7ab0de
MD5 24e5559513cf86f131defe88887a0f36
BLAKE2b-256 c32849d00425c48f2dc92fefbd0f5951fd2c91489bcec00fcb71e3b03cd2387e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp38-cp38-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.3.0.20220127-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 abaee1b0285de556a9907076a360011ed37d39826a9063607d27b71dd66277e0
MD5 fa3215632b5691b052389e9ef203c309
BLAKE2b-256 ca4559a96139dcb454b499fa361befaddf3360dac1afe766e9f424579726054b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.3.0.20220127-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ca744533a19372d5660e24ce4decf82b443c2b902fbcdaed06aa31792c7670ab
MD5 e54377e2a809d8f913b2cc5e38f8765e
BLAKE2b-256 9549b3f617b0555fc13945466f1f8567152d2485c9ffdc0067f686efcc003364

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 5.4 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.3.0.20220127-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 353b6973f9ca333b49120abe6e608c7a9999daefa395b5092b9d3cb342865123
MD5 95dbb63e1a5805e5d8109158353dbca3
BLAKE2b-256 dee6c071d6af54fe954d6df1577fd3f6c759bef74be1937edd4fd89d929888b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp37-cp37m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.3.0.20220127-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8ec7367ae988f3d24b55e353bc1a529dfbdbaa12c8de15ce0a5e2d48a2f63418
MD5 1b5ab3386963f091b67294a62b7a5461
BLAKE2b-256 9c72366d92557ffa734f3a5964effb9e4a5da3ae613cfb681d2dcc1bed9f2d01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.3.0.20220127-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5f05c71e85091f3d3f90e01908468406938de7421489aa777600d5948d63d961
MD5 1e5d9c0d5c51edb15d5e0756deef4d0b
BLAKE2b-256 0b29aa45d234d12ac1db7f9f92ee038ca9d2012bfa119ac0072f510f640a1484

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 5.4 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.3.0.20220127-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 59ac949051a665238f2adbc7c98718e61bfc18adff98d75a542b382f68c520ed
MD5 345899341018437302c29d8f69305c67
BLAKE2b-256 64a939f2fa4cd8f7cf31f6be1352c925b7514073ddd7d0c9cb64003ba174b975

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp36-cp36m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 10.6 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.3.0.20220127-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e28d0de4d27426ed0f48ec74bc98d98d21940d40773c11357c087b10b3b6fbfa
MD5 b763856bef3eab975b7a89b3fca745cc
BLAKE2b-256 5fbe639811d7049cdc97f09204905f80abadbb564929436e706748eb40e22e61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nncase-1.3.0.20220127-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 8.5 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.3.0.20220127-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 eeb5828f799fd1087016263e02deeee689025a6b0a774f12de890b1f9443e30c
MD5 791fb5b8469fe9affc2b706debf67d6a
BLAKE2b-256 5fecebfa167819c4e7c1afaa966f5900b03b4a79adfdfbb8c66aa103d247e5b5

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