AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Data Science › darts
✦ Free & open sourceData Science

darts

Automates neural architecture search for convolutional and recurrent networks using gradient descent.

Differentiable architecture search in PyTorch

Find high-performing CNN and RNN architectures efficiently on a single GPU with continuous relaxation.

Free forever · open source · Apache-2.0
✓ Needs IT✓ Browser-based✓ Real-time collaboration
4.4
ZEKAI
Academic baseline for NAS.
Free & open source · Data Science
Ease of setup3
Usefulness5
Maintenance2
Community7.5
★ 3,996
GITHUB
Jan 2021
UPDATED
Apache-2.0
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

DARTS is an implementation of differentiable neural architecture search for convolutional and recurrent neural networks. It replaces black-box search algorithms with gradient descent, optimizing continuous architecture relaxations. Deep learning researchers should use it to experiment with automated neural design on a single GPU.

Runs on
Cross-platform
Hosting
Self-host
Languages
Python
License
Apache-2.0

What it is

DARTS converts discrete neural cell search spaces into continuous representations, allowing continuous validation loss optimization through gradient descent. The repository contains code to run search experiments for CNN cells on CIFAR-10 and RNN cells on Penn Treebank. It also includes evaluation scripts to train discovered cell genotypes from scratch and visualizers to generate architecture diagrams.

Who it's for

This tool suits deep learning researchers investigating Neural Architecture Search (NAS) and AutoML algorithms using PyTorch. It is not intended for production ML engineers who need modern, maintained, or plug-and-play Python packages.

Key features

Continuous Architecture Relaxation

Formulates discrete cell choices as continuous parameters to allow direct optimization via gradient descent.

CNN and RNN Search Spaces

Provides dedicated search modules for convolutional image classification cells and recurrent language modeling cells.

Single GPU Search Pipeline

Executes architecture search using smaller proxy models to keep compute requirements down to one GPU.

Genotype Graph Visualization

Converts learned architectural genotypes into visually legible directed graphs via Graphviz integration.

How to start

Up and running in 3 steps

1
Build an isolated legacy environment with Python 3.5.5, PyTorch 0.3.1, and torchvision 0.2.0 on a GPU machine.
2
Run 'python train_search.py --unrolled' inside the cnn or rnn directory to search for optimal cell genotypes.
3
Copy the resulting genotype string into genotypes.py and run 'python train.py' to train the model from scratch.
Real talk

Our honest verdict

What's great

  • Searches complex neural cell topologies using standard gradient descent on a single GPU.
  • Supports both vision (convolutional) and language (recurrent) architecture search tasks.
  • Includes exact reference code for training derived genotypes from scratch on standard datasets.
  • Provides built-in Graphviz scripts to visualize learned neural cell structures.

Where it falls short

  • Requires legacy dependencies, specifically Python 3.5.5 and PyTorch 0.3.1, causing modern CUDA compatibility issues.
  • Requires running multiple search seeds to avoid poor local minima in the continuous search space.
  • Requires training candidate genotypes from scratch across 10 independent runs to evaluate accuracy properly.
Cost

Pricing & license

DARTS is free software released under the Apache-2.0 license. The only cost involved is the cost of running GPU compute resources to execute search and evaluation scripts.

Paid work

Open remote AI-training roles

874 open remote AI-training roles, updated November 15, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: darts for Data Science
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure darts for you — and train your team.
Get it done for you ↗
Questions

FAQ

Can I run DARTS with modern versions of PyTorch?

The original repository specifically requires PyTorch 0.3.1. Running version 0.4 or higher will result in out-of-memory errors without code modifications.

Do I need a massive GPU cluster to run the search?

No, the continuous relaxation approach allows architecture search to run on a single GPU using small proxy networks.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Data Science — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google