---
title: "Auto-PyTorch vs nni"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/automl-auto-pytorch-vs-microsoft-nni"
tools: ["automl-auto-pytorch", "microsoft-nni"]
---

# Auto-PyTorch vs nni

*GraphCanon updated Aug 4, 2026*

## Verdict

Pick Auto-PyTorch if auto-PyTorch specializes in automatic architecture search and hyperparameter optimization for deep-learning models using PyTorch; pick nni if nNI is an AutoML toolkit that supports feature engineering, neural architecture search, model compression, and hyperparameter tuning with the flexibility of Python programming.

[Auto-PyTorch](https://github.com/automl/Auto-PyTorch) reports 2.5k GitHub stars, 303 forks, and 75 open issues, last pushed Apr 9, 2024. [nni](https://nni.readthedocs.io) has 14k stars, 1.9k forks, and 415 open issues, last pushed Jul 3, 2024. Figures are from public GitHub metadata via [Auto-PyTorch's repository](https://github.com/automl/Auto-PyTorch) and [nni's repository](https://github.com/microsoft/nni).

| | [Auto-PyTorch](/tools/automl-auto-pytorch.md) | [nni](/tools/microsoft-nni.md) |
| --- | --- | --- |
| Tagline | Automatic architecture search and hyperparameter optimization for PyTorch | An open source AutoML toolkit for automating machine learning lifecycle |
| Stars | 2,541 | 14,363 |
| Forks | 303 | 1,853 |
| Open issues | 75 | 415 |
| Language | Python | Python |
| Adopt for | Auto-PyTorch specializes in automatic architecture search and hyperparameter optimization for deep-learning models using PyTorch. | NNI is an AutoML toolkit that supports feature engineering, neural architecture search, model compression, and hyperparameter tuning with the flexibility of Python programming. |
| Persona | - | - |
| Runtime | - | - |
| License | Apache-2.0 | MIT |
| Categories | Data & Retrieval, Model Training | Model Training |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [Auto-PyTorch](/tools/automl-auto-pytorch.md) | [nni](/tools/microsoft-nni.md) |
| --- | --- | --- |
| Maintenance | Dormant (18%) | Archived (8%) |
| Days since push | 846d | 762d |
| Archived on GitHub | No | Yes |
| Open issues (now) | 75 | 415 |
| Full report | [trust report](/tools/automl-auto-pytorch/trust.md) | [trust report](/tools/microsoft-nni/trust.md) |

## Shared compatibility

- **Python**: [Auto-PyTorch](/tools/automl-auto-pytorch.md) - Python runtime; [nni](/tools/microsoft-nni.md) - Python runtime

## Decision facts: Auto-PyTorch

- **Adopt for:** Auto-PyTorch specializes in automatic architecture search and hyperparameter optimization for deep-learning models using PyTorch.

## Decision facts: nni

- **Adopt for:** NNI is an AutoML toolkit that supports feature engineering, neural architecture search, model compression, and hyperparameter tuning with the flexibility of Python programming.

## Choose when

### Choose Auto-PyTorch if…

- License: Auto-PyTorch is Apache-2.0, nni is MIT.
- Tags unique to Auto-PyTorch: pytorch, tabular-data, time-series-forecasting.
- Also covers Data & Retrieval.
- Use when you need to automate both architectural searches and hyperparameter tuning specifically for PyTorch-based deep learning models.

### Choose nni if…

- License: nni is MIT, Auto-PyTorch is Apache-2.0.
- Tags unique to nni: automated-machine-learning, bayesian-optimization, data-science, deep-neural-network.
- You need to automate extensive parts of your machine learning lifecycle from preprocessing to deployment.

## When NOT to use Auto-PyTorch

- Avoid using it if your AI development focuses on frameworks other than PyTorch.
- Do not use when the requirements do not involve deep learning models or you are not interested in automating architecture search and hyperparameter tuning.

## When NOT to use nni

- You require real-time automated tuning capabilities, as NNI focuses on batch processing and model training scenarios.
- If your project demands direct integration with specific deep learning frameworks beyond PyTorch and TensorFlow, NNI support is limited to these two environments.

## Common questions

### What is the difference between Auto-PyTorch and nni?

Auto-PyTorch: Automatic architecture search and hyperparameter optimization for PyTorch. nni: An open source AutoML toolkit for automating machine learning lifecycle. See the comparison table for live GitHub stats and shared categories.

### When should I choose Auto-PyTorch over nni?

Choose Auto-PyTorch over nni when License: Auto-PyTorch is Apache-2.0, nni is MIT; Tags unique to Auto-PyTorch: pytorch, tabular-data, time-series-forecasting; Also covers Data & Retrieval; Use when you need to automate both architectural searches and hyperparameter tuning specifically for PyTorch-based deep learning models.

### When should I choose nni over Auto-PyTorch?

Choose nni over Auto-PyTorch when License: nni is MIT, Auto-PyTorch is Apache-2.0; Tags unique to nni: automated-machine-learning, bayesian-optimization, data-science, deep-neural-network; You need to automate extensive parts of your machine learning lifecycle from preprocessing to deployment.

### When should I avoid Auto-PyTorch?

Avoid using it if your AI development focuses on frameworks other than PyTorch. Do not use when the requirements do not involve deep learning models or you are not interested in automating architecture search and hyperparameter tuning.

### When should I avoid nni?

You require real-time automated tuning capabilities, as NNI focuses on batch processing and model training scenarios. If your project demands direct integration with specific deep learning frameworks beyond PyTorch and TensorFlow, NNI support is limited to these two environments.

### Is Auto-PyTorch or nni more popular on GitHub?

nni has more GitHub stars (14,363 vs 2,541). Stars measure visibility, not whether either tool fits your constraints.

### Are Auto-PyTorch and nni open source?

Yes - both are open-source projects on GitHub (Auto-PyTorch: Apache-2.0, nni: MIT).

### Where can I find alternatives to Auto-PyTorch or nni?

GraphCanon lists graph-backed alternatives at [Auto-PyTorch alternatives](/tools/automl-auto-pytorch/alternatives) and [nni alternatives](/tools/microsoft-nni/alternatives) ([Auto-PyTorch markdown twin](/tools/automl-auto-pytorch/alternatives.md), [nni markdown twin](/tools/microsoft-nni/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/automl-auto-pytorch-vs-microsoft-nni.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, Auto-PyTorch or nni?

Auto-PyTorch: Dormant. nni: Archived. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for Auto-PyTorch and nni?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [Auto-PyTorch trust report](/tools/automl-auto-pytorch/trust); [nni trust report](/tools/microsoft-nni/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=automl-auto-pytorch`](/api/graphcanon/graph?tool=automl-auto-pytorch)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
