Description
Archai is a Python framework for neural architecture search, the process of finding good deep network designs automatically for a task. It aims to make searches fast, reproducible and modular. You define a search space for a model family, choose the objectives to optimize and pick a search algorithm, then call search() to run the process. The quickstart uses a Transformer search space and three objectives: non-embedding parameter count, ONNX latency and ONNX memory. It runs an evolutionary Pareto search, which returns a frontier of results that trade the objectives off against each other. Archai ships end-to-end example tasks for text generation and face segmentation. It installs from PyPI and needs Python 3.8 or newer with PyTorch 1.7.0 or newer. The project recommends installing it in a virtual environment such as conda or pyenv. The code is public on GitHub, with installation, quickstart and API documentation. It is aimed at researchers and engineers who build deep learning models and want to compare architectures.…
Highlights
- Search spaces for Transformer architectures
- Pareto search across several objectives at once
- Measures parameters, ONNX latency and ONNX memory
- End-to-end tasks for text generation and segmentation
- Installs from PyPI, needs Python 3.8+ and PyTorch
Ratings & Reviews
No ratings yet
Be the first to rate Archai.
People also visit

nemo-automodel-model-onboarding
Guide for onboarding new model architectures into NeMo AutoModel
Archai FAQ
What is Archai for?
Neural architecture search: it looks for efficient deep network designs for a given application.
How do I install it?
Install it from PyPI inside a virtual environment such as conda or pyenv. It requires Python 3.8 or newer and PyTorch 1.7.0 or newer.
What does the search return?
A frontier of Pareto-optimal results that show the trade-offs among the objectives you chose.
Which objectives can it optimize?
The quickstart uses non-embedding parameter count, ONNX latency and ONNX memory for a Transformer search space.
Are there example tasks?
Yes. The repository includes end-to-end tasks for text generation and face segmentation.
What are the best Archai alternatives?
Popular alternatives to Archai include Alpamayo Recipes. See all Archai alternatives





