Skip to main content

NengoEdge Tools

NengoEdge is a cloud-based platform for training and deploying high accuracy, low power audio AI models on edge devices. This package contains tools and examples to assist in taking a trained model exported from NengoEdge and deploying it in your own application.

To get started running NengoEdge models locally, set up a Python environment using the installation instructions below. Then download the live microphone demo notebook and open it with:

jupyter notebook /path/to/microphone-demo.ipynb
https://www.nengo.ai/nengo-edge/_static/demo.png

Installation

NengoEdge models use the TensorFlow machine learning library. If you already have TensorFlow installed, then all you need is to:

pip install nengo-edge

If you do not have TensorFlow installed, see the see the full installation instructions for more details.

Release history

24.3.6 (March 6, 2024)

Added

  • Updated documentation with new content (additional tutorials, CLI documentation, FAQ section). (#9)

  • Added support for input string processing and NLP model inference in SavedModelRunner. (#17)

  • Added NetworkTokenizer class to perform remote calls to a device CLI that supports sentencepiece tokenization. (#17)

  • Added stdio-based CLI runner for np_mfcc. (#19)

Changed

  • SavedModelRunner tokenizer now uses SentencepieceTokenizer instead of FastSentencepieceTokenizer to ensure compatibility with the core sentencepiece library. (#17)

  • Moved device_modules/network_tokenizer.py to network_runner.py. (#19)

Fixed

  • Fixed model output decoding for ASR. SavedModelRunner now removes blank tokens and merges repeating tokens before detokenization. (#17)

Removed

  • Removed support for streaming in SavedModelRunner. (#19)

23.9.27 (September 27, 2023)

Added

  • Added warning when a downloaded nengo-edge model artifacts’ version does not match local environment nengo-edge version. (#6)

  • Added nengo-edge package-dataset CLI command, which can be used to validate and package KWS and ASR datasets. (#10)

  • SavedModelRunner.run now automatically decodes ASR model outputs via the exported sentencepiece tokenizer. (#15)

Changed

  • SavedModelRunner now uses Keras’ SavedModel format, instead of the raw TensorFlow SavedModel format. (#8)

  • SavedModelRunner can now take ragged object-arrays as input. (#8)

  • TensorFlow is now an optional dependency installed with pip install nengo-edge[optional]. (#13)

23.7.30 (July 30, 2023)

Added

  • Added CoralRunner for running models exported for the Coral board. (#4)

  • Added DiscoRunner for running models exported for the Disco board. (#4)

  • Added NordicRunner for running models exported for the Nordic board. (#4)

  • Added on-device MFCC extraction code (device_modules.np_mfcc.LogMelFeatureExtractor). (#4)

  • Added two new examples demonstrating how to run models exported for the Coral/Disco/Nordic devices. (#4)

Changed

  • Renamed tflite_runner.Runner to TFLiteRunner. (#4)

  • Renamed saved_model_runner.Runner to SavedModelRunner. (#4)

  • TFLiteRunner.reset_state now takes a batch_size argument, which can be used to prepare the model to run with different batch sizes. (#5)

23.2.23 (February 23, 2023)

Fixed

  • Fixed an issue causing pip to refuse to install nengo-edge. (#3)

23.1.31 (January 31, 2023)

Initial release

Metadata

Release files for nengo-edge 24.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nengo-edge 24.3.6
File Size Uploaded
nengo-edge-24.3.6.tar.gz 177.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nengo-edge 24.3.6
File Interpreter ABI Platform
nengo_edge-24.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 222.3 kB

Release files / nengo-edge-24.3.6.tar.gz

Download URL nengo-edge-24.3.6.tar.gz
Size 177.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2634ad947e0735a0bdfbc53a683acdfddcdce61e4fb3846b4f4ea729da5800bc
BLAKE2b-256 checksum
How to use checksums
c48bd8929e8f19f8dc307784baceeff888082e7b6d16af3678a97e1b034938de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / nengo_edge-24.3.6-py3-none-any.whl

Download URL nengo_edge-24.3.6-py3-none-any.whl
Size 45.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c870590ac370a1d5a73afe8afe044ea7cdc3f3879efac6cd9a2f024a09e448b
BLAKE2b-256 checksum
How to use checksums
0387abfb9067939a07647b479557319ec9e495a56053c9334ac5809acb41aee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

24.3.6 This release

2 release files

23.1.31

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page