NNI automates feature engineering, neural architecture search, hyperparameter tuning, and model compression for deep learning. Find the latest features, API, examples and tutorials in our official documentation (简体中文版点这里).
What's NEW! 
- New release: v3.0 preview is available - released on May-5-2022
- New demo available: Youtube entry | Bilibili 入口 - last updated on June-22-2022
- New research paper: SparTA: Deep-Learning Model Sparsity via Tensor-with-Sparsity-Attribute - published in OSDI 2022
- New research paper: Privacy-preserving Online AutoML for Domain-Specific Face Detection - published in CVPR 2022
- Newly upgraded documentation: Doc upgraded
Installation
See the NNI installation guide to install from pip, or build from source.
To install the current release:
$ pip install nni
To update NNI to the latest version, add --upgrade flag to the above commands.
NNI capabilities in a glance
|
Hyperparameter Tuning
|
Neural Architecture Search
|
Model Compression
|
|
| Algorithms |
|
||
|
Supported Frameworks
|
Training Services
|
Tutorials
|
|
| Supports |
|
|
Resources
- NNI Documentation Homepage
- NNI Installation Guide
- NNI Examples
- Python API Reference
- Releases (Change Log)
- Related Research and Publications
- Youtube Channel of NNI
- Bilibili Space of NNI
- Webinar of Introducing Retiarii: A deep learning exploratory-training framework on NNI
- Community Discussions
Contribution guidelines
If you want to contribute to NNI, be sure to review the contribution guidelines, which includes instructions of submitting feedbacks, best coding practices, and code of conduct.
We use GitHub issues to track tracking requests and bugs. Please use NNI Discussion for general questions and new ideas. For questions of specific use cases, please go to Stack Overflow.
Participating discussions via the following IM groups is also welcomed.
| Gitter | ||
|---|---|---|
| OR |
Over the past few years, NNI has received thousands of feedbacks on GitHub issues, and pull requests from hundreds of contributors. We appreciate all contributions from community to make NNI thrive.
Test status
Essentials
| Type | Status |
|---|---|
| Fast test | |
| Full test - HPO | |
| Full test - NAS | |
| Full test - compression |
Training services
| Type | Status |
|---|---|
| Local - linux | |
| Local - windows | |
| Remote - linux to linux | |
| Remote - windows to windows | |
| OpenPAI | |
| Frameworkcontroller | |
| Kubeflow | |
| Hybrid | |
| AzureML |
Related Projects
Targeting at openness and advancing state-of-art technology, Microsoft Research (MSR) had also released few other open source projects.
- OpenPAI : an open source platform that provides complete AI model training and resource management capabilities, it is easy to extend and supports on-premise, cloud and hybrid environments in various scale.
- FrameworkController : an open source general-purpose Kubernetes Pod Controller that orchestrate all kinds of applications on Kubernetes by a single controller.
- MMdnn : A comprehensive, cross-framework solution to convert, visualize and diagnose deep neural network models. The "MM" in MMdnn stands for model management and "dnn" is an acronym for deep neural network.
- SPTAG : Space Partition Tree And Graph (SPTAG) is an open source library for large scale vector approximate nearest neighbor search scenario.
- nn-Meter : An accurate inference latency predictor for DNN models on diverse edge devices.
We encourage researchers and students leverage these projects to accelerate the AI development and research.
License
The entire codebase is under MIT license.
Metadata
Release files for nni 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nni-3.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for nni-3.0-py3-none-win_amd64.whl |
| nni-3.0-py3-none-manylinux1_x86_64.whl | Python 3 | none | Linux glibc 2.5+ x86-64 | Details for nni-3.0-py3-none-manylinux1_x86_64.whl |
| nni-3.0-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details for nni-3.0-py3-none-macosx_10_9_x86_64.whl |
Total release size: 179.5 MB
Release files / nni-3.0-py3-none-win_amd64.whl
| Download URL | nni-3.0-py3-none-win_amd64.whl |
|---|---|
| Size | 58.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
06bd7ec84a80ceae9dfe428cede0a053822386c3a1b61f6f3ba6b830aebc0d17
|
|
BLAKE2b-256 checksum How to use checksums |
01d6659b5369f8bb57e767dcd34ca688b5be68ed7e8aef5e69f341de8c9f4c62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / nni-3.0-py3-none-manylinux1_x86_64.whl
| Download URL | nni-3.0-py3-none-manylinux1_x86_64.whl |
|---|---|
| Size | 61.4 MB |
| Tags | Linux glibc 2.5+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
176456f8275c096655b6f178dc0589a7642afbb37ecbcce7afe6ad9949592088
|
|
BLAKE2b-256 checksum How to use checksums |
0bed7a061494753317e0943be1685a4690d05e2e610e5b19aa2823547b584950
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / nni-3.0-py3-none-macosx_10_9_x86_64.whl
| Download URL | nni-3.0-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 59.2 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
768737c80cc30509d905c9fb32e78ae929cc53529976382b8b9fd5ebdf88b84c
|
|
BLAKE2b-256 checksum How to use checksums |
44af1330848e81313fa6c984bf75a54e214731d4de0e21484afd46ca322453cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for nni 3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.