An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
Перейти к файлу
dutxubo 8490f7e400
[Fix] shuffle is set to True in train_loader of SinglePathTrainer (#4696)
2022-03-25 16:33:18 +08:00
.github Create cffconvert.yml (#4534) 2022-02-11 17:31:14 +08:00
dependencies Typehint and copyright header (#4669) 2022-03-24 23:37:05 +08:00
docs Typehint and copyright header (#4669) 2022-03-24 23:37:05 +08:00
examples Add a feature of reading latencies of operators with different data shapes from lut.txt file (#4600) 2022-03-23 10:48:13 +08:00
nni [Fix] shuffle is set to True in train_loader of SinglePathTrainer (#4696) 2022-03-25 16:33:18 +08:00
nni_assets HPO PyTorch Tutorial (#4653) 2022-03-18 17:43:50 +08:00
pipelines Typehint and copyright header (#4669) 2022-03-24 23:37:05 +08:00
test Deduplicate generated parameters for TPE and Random (#4679) 2022-03-24 23:40:05 +08:00
ts Refine webui (#4548) 2022-03-23 10:50:02 +08:00
.gitattributes Bootstrapping tutorials in documentation (#4522) 2022-02-10 11:10:30 +08:00
.gitignore HPO PyTorch Tutorial (#4653) 2022-03-18 17:43:50 +08:00
.readthedocs.yaml Bootstrapping tutorials in documentation (#4522) 2022-02-10 11:10:30 +08:00
CITATION.cff Fix author field in citation cff (#4356) 2021-12-03 20:03:44 +08:00
Dockerfile Update Dockerfile (#4576) 2022-02-23 16:31:49 +08:00
LICENSE Update license header (#1757) 2019-11-25 15:02:23 +08:00
README.md Add readme table (#4683) 2022-03-24 16:57:29 +08:00
README_zh_CN.md remove redundant Chinese document (#4615) 2022-03-06 12:34:20 +08:00
SECURITY.md Create SECURITY.md (#3358) 2021-02-09 17:00:56 +08:00
SECURITY_zh_CN.md Update Chinese documentation (#3886) 2021-07-09 15:30:29 +08:00
crowdin.yml Add crowdin integration action (#2654) 2020-07-09 23:13:04 +08:00
pylintrc JupyterLab extension (#3954) 2021-07-23 11:32:12 +08:00
pyrightconfig.json Typehint and copyright header (#4669) 2022-03-24 23:37:05 +08:00
setup.py fix install script (#4690) 2022-03-24 12:00:53 +08:00
setup_ts.py Doc for installation (#4630) 2022-03-19 16:47:40 +08:00

README.md


MIT licensed Issues Bugs Pull Requests Version Documentation Status

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 (简体中文版点这里). Quick links:

What's NEW!  

NNI capabilities in a glance

Hyperparamter Tuning Neural Architecture Search Model Compression
Algorithms
Supported Frameworks Training Services Tutorials
Supports
  • PyTorch
  • TensorFlow
  • Scikit-learn
  • XGBoost
  • LightGBM
  • MXNet
  • Caffe2
  • More...

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.

Run your first experiment

NOTE: To run an experiment following instructions below, you need to build NNI from source. Installing from pip won't work until next release.

To run this experiment, you need to have PyTorch (as well as torchvision) installed.

$ nnictl hello

It will generate nni_hello_hpo folder in your current working directory, which contains a minimum hyper-parameter tuning example. It will also prompt you to run

python nni_hello_hpo/main.py

to launch your first NNI experiment. Use the web portal URL shown in the console to monitor the running status of your experiment.

webui

For more usages, please see NNI tutorials.

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
image OR image

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 Build Status
Full linux Build Status
Full windows Build Status

Training services

Type Status
Remote - linux to linux Build Status
Remote - linux to windows Build Status
Remote - windows to linux Build Status
OpenPAI Build Status
Frameworkcontroller Build Status
Kubeflow Build Status
Hybrid Build Status
AzureML Build Status

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.