Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

nni

> DevOps
Open source

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-pa

14.4K stars0 likes3 views
WebsiteGitHub

About

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-pa


[](https://nni.readthedocs.io/en/stable)

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
  • Exhaustive search
    • Grid Search
    • Random
  • Heuristic search
    • Anneal
    • Evolution
    • Hyperband
    • PBT
  • Bayesian optimization
    • BOHB
    • DNGO
    • GP
    • Metis
    • SMAC
    • TPE
  • Multi-trial
    • Grid Search
    • Policy Based RL
    • Random
    • Regularized Evolution
    • TPE
  • One-shot
    • DARTS
    • ENAS
    • FBNet
    • ProxylessNAS
    • SPOS
  • Pruning
    • Level
    • L1 Norm
    • Taylor FO Weight
    • Movement
    • AGP
    • Auto Compress
    • More...
  • Quantization
    • Naive
    • QAT
    • LSQ
    • Observer
    • DoReFa
    • BNN
Supported Frameworks Training Services Tutorials
Supports
  • PyTorch
  • TensorFlow
  • Scikit-learn
  • XGBoost
  • LightGBM
  • MXNet
  • Caffe2
  • More...
  • Local machine
  • Remote SSH servers
  • Azure Machine Learning (AML)
  • Kubernetes Based
    • OpenAPI
    • Kubeflow
    • FrameworkController
    • AdaptDL
    • PAI DLC
  • Hybrid training services
  • HPO
    • PyTorch
    • TensorFlow
  • NAS
    • Hello NAS
    • NAS Benchmarks
  • Compression
    • Pruning
    • Pruning Speedup
    • Quantization
    • Quantization Speedup

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 WeChat
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 [](https://msrasrg.visualstudio.com/NNIOpenSource/_build/latest

Issues· 415 open

View all issuesOpen on GitHub
  • #4543

    nnictl experiment delete -all fail for stopped expriment

    good first issueUpdated Sep 12, 2024
  • #5806

    i have a question

    Updated Sep 8, 2024
  • #5712

    pip install nni[SMAC] reports error in version requirements

    Updated Sep 7, 2024
  • #5805

    About encountering exception while using ConvTranspose2d in nni pruning

    Updated Sep 5, 2024
  • #5804

    Run Kubeflow Training Service Error,

    Updated Sep 2, 2024
  • #5803

    nnictl resume cannot open GUI

    Updated Aug 26, 2024
  • #5798

    Dispatcher crash with TPE KeyError

    Updated Aug 26, 2024
  • #5802

    Once the experiment reaches a certain point, it generally stops running and reports an error.

    Updated Aug 20, 2024
  • #5801

    Does NNI ModelSpeedupTensorRT support Encoder-Decoder models?

    Updated Aug 16, 2024
  • #5800

    How to display error messages

    Updated Aug 1, 2024

> Tags

Pythonautomated-machine-learningautomlbayesian-optimizationdata-science

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理