EvoX: a PyTorch-native framework for GPU-accelerated evolutionary computation
Distributed GPU-Accelerated Framework for Evolutionary Computation. Comprehensive Library of Evolutionary Algorithms & Benchmark Problems.
At a glance
- What is it?
- EvoX packages evolutionary algorithms as PyTorch modules and runs whole populations on GPU or across nodes. It suits researchers who already think in tensors, and it is a poor fit for anyone who wants a small, dependency-light optimizer.
- Who is it for?
- Adopt EvoX if your optimization loop is already tensor-shaped and you want populations to run on GPU without writing custom kernels. Do not adopt it for a one-off scalar tuning job on a CPU-only laptop, where torch>=2.6.0 and numpy>=2.0.0 are dead weight.
- Can I use it commercially?
- Yes, with conditions. GPL-3.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
- Is it still maintained?
- Yes. The repository last received commits 4 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- EMI-Group/evox2,721 ★ · +94
| Repository | 2026-10-01 | 2026-11-22 |
|---|---|---|
| EMI-Group/evox | 2.6k | 2.7k |
94 Stars in the last 52 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What EvoX solves, and who it is actually for
Classical evolutionary computation code tends to be a Python loop over individuals. Each candidate is evaluated one at a time, and the cost of the optimizer is dwarfed by the cost of the fitness function. EvoX attacks that shape directly: it describes itself as a distributed GPU-accelerated evolutionary computation framework compatible with PyTorch, and the population is treated as a tensor rather than a list. The README claims acceleration on heterogeneous hardware including CPUs and GPUs, with over 100x speedups. That figure is the project's own claim, not an independent measurement, and it will depend heavily on whether your fitness function is itself vectorizable.
The intended audience is visible in the packaging. The project classifiers list Intended Audience :: Science/Research, and the dependency list is torch >= 2.6.0 and numpy >= 2.0.0. If you are comfortable with PyTorch tensors and device placement, the mental model transfers. If you are not, the framework asks you to learn that model before you can run anything. The built-in library covers single-objective and multi-objective optimization, with named implementations such as CMA-ES, PGPE, OpenES, NSGA-II, NSGA-III, MOEA/D and RVEA, plus numerical benchmark suites including DTLZ, LSMOP, MaF, ZDT and CEC'22. That breadth matters most when you need a baseline to compare against, since reimplementing NSGA-III correctly is a week of work you probably do not want.
How the population-as-tensor design works
The mechanism follows from the PyTorch dependency. An algorithm in EvoX is a module that holds population state as tensors; the ask/tell loop moves those tensors between devices rather than moving Python objects. Because the whole population is one batched computation, the GPU is doing the same arithmetic on many candidates at once, which is where the speedup claim comes from. The README also states that EvoX integrates distributed workflows that scale across multiple nodes or devices, so the same abstraction extends past one GPU.
The project describes a hierarchical architecture for tasks such as meta learning, hyperparameter optimization and neuroevolution. In practice this means an outer optimization loop can wrap an inner one, which is the pattern you need when the thing being optimized is itself a learning process. For neuroevolution and reinforcement learning, the optional dependency group pulls in brax >= 0.12.0, playground >= 0.0.4, torchvision >= 0.16.0 and imageio >= 2.0.0, and the README lists Brax and TorchVision Dataset under benchmark environments. Visualization is separated into its own optional group with plotly >= 5.0.0 and pandas >= 2.0.0, and the README mentions a tailored .exv format for real-time data streaming. The layering is deliberate: you can install the core and never touch the RL or plotting extras.
Installing EvoX and running a first optimization
The package is published on PyPI as evox and requires Python 3.10 or newer. The README advertises one-click installation for Windows users, but the portable path is pip. A plain install gives you the core algorithms and benchmark problems; the extras are opt-in. The pyproject file declares the package name as evox and defines the optional dependency groups vis, neuroevolution, test, docs, default and triton, so the extras are installed by naming them in brackets after the package name.
name = "evox"
version = "1.4.0"
requires-python = ">=3.10"
dependencies = [
"torch >= 2.6.0",
"numpy >= 2.0.0",
]That is the core dependency set. The vis group adds plotly and pandas; the neuroevolution group adds torchvision, brax, playground and imageio. The triton group is declared as triton >= 3.0.0 with the platform marker platform_system == 'Linux', so on Windows or macOS that extra resolves to nothing. The README does not document what the triton extra accelerates, which is a gap worth knowing about before you assume it is required for GPU performance.
vis = [
"plotly >= 5.0.0",
"pandas >= 2.0.0",
]After installation, the entry point is the algorithm API documented at evox.readthedocs.io. The README points readers to the Algorithms API page for the full list rather than embedding a runnable snippet, so the honest first step is to open that page and pick an algorithm that matches your problem class: a differential evolution variant for single-objective continuous problems, or NSGA-II and its relatives for multi-objective ones. Run it against one of the bundled benchmark problems first, before wiring in your own objective, because that isolates framework problems from problems in your fitness function.
Where EvoX is the wrong tool
The dependency floor is the first constraint. torch >= 2.6.0 and numpy >= 2.0.0 are not small, and if your optimization problem is a handful of parameters evaluated by a slow external simulator, the GPU never gets a chance to matter. Batched evaluation only pays off when the fitness function can be evaluated for many candidates in parallel. A simulator that must run sequentially, one candidate at a time, leaves the population tensor sitting idle between steps.
The second constraint is the programming model itself. EvoX is built around PyTorch, and the README frames this as a tailored programming model that simplifies algorithmic development. That is true if you already work in that ecosystem and false otherwise. Someone who wants to minimize a function with twenty lines of plain Python will find the abstraction heavier than the problem.
The third is the JAX history. The README notes that users of the previous JAX-based version can access it on the v0.9.0 branch. Anyone arriving from older tutorials, papers or blog posts written against the JAX API will find that the current main branch does not match. That is a real migration cost, and the README does not document a rollback path or a compatibility shim between the two.
How EvoX differs from DEAP and pymoo
DEAP and pymoo are the two libraries most people reach for when they need evolutionary algorithms in Python, and the difference is architectural rather than a matter of feature checklists. DEAP is built around Python objects and the creator/toolbox pattern: you define an individual class, register operators, and the framework loops over a list. It runs on CPU and leaves parallelism to you, typically via multiprocessing. pymoo follows a similar CPU-oriented design with a strong emphasis on multi-objective benchmarking and constraint handling.
EvoX inverts that. The population is a tensor on a device, and the framework assumes you want the computation vectorized. That is why it can claim distributed execution across nodes and why the optional extras reach into Brax for physics-based reinforcement learning environments, a use case neither DEAP nor pymoo targets. The trade-off is real in both directions: EvoX gives you GPU throughput and RL environments at the cost of a heavier dependency tree and a tensor-shaped problem definition, while DEAP and pymoo let you write a fitness function as ordinary Python and run it anywhere, at the cost of evaluating candidates one at a time unless you build the parallelism yourself. If your problem is small and sequential, the older libraries are the better fit. If your problem is large and vectorizable, they will be the bottleneck.
Maintenance, licensing and upgrade cost
The repository is not archived and the last push was on 2026-09-12, roughly two weeks before this writing. Release cadence is visible in the tags: v1.2.2 in June 2025, v1.3.0 in November 2025, and v1.4.0 on 2026-09-09. The v1.4.0 note describes it as a maintenance release with various fixes and improvements, which tells you the maintainers are still shipping but that this particular version is not a feature milestone. In pyproject.toml the version string is 1.4.0, matching the tag. There is a unit_test directory and a .pre-commit-config.yaml at the repository root, so there is some test and lint infrastructure, though the README does not publish coverage numbers and you should not assume the test suite exercises every one of the 30+ algorithms.
The licence is GPL-3.0-or-later, declared both in the repository metadata and in the pyproject license field. This is a copyleft licence, which is a meaningfully different proposition from the permissive licences used by several comparable scientific Python libraries. If you are building a closed-source product on top of EvoX, the licence is something to read carefully and, if the answer matters commercially, to take to a lawyer. This article is not legal advice and cannot tell you what your specific distribution does or does not trigger. Upgrade cost between minor versions appears low on the evidence available: the jump from 1.3.0 to 1.4.0 is described as maintenance, and the dependency floors (torch, numpy) are the main thing to watch when you pin versions.
Editorial conclusion
Adopt EvoX if your optimization loop is already tensor-shaped and you want populations to run on GPU without writing custom kernels. Do not adopt it for a one-off scalar tuning job on a CPU-only laptop, where torch>=2.6.0 and numpy>=2.0.0 are dead weight. Before committing, verify that your problem can be expressed as a batched evaluation over a population tensor, because EvoX's model assumes exactly that, and check the GPL-3.0-or-later licence against how you intend to ship the result.
Frequently asked questions
Is EvoX open source?
Yes. The repository is public and the licence is GPL-3.0-or-later, declared in both the repository metadata and the pyproject.toml license field. That is a copyleft licence, so check how it interacts with your own distribution plans.
What Python version and dependencies does EvoX require?
pyproject.toml sets requires-python to >=3.10 and lists torch >= 2.6.0 and numpy >= 2.0.0 as the core dependencies. Visualization, neuroevolution and test extras add packages such as plotly, pandas, torchvision, brax and playground on top of that.
Can I still use the JAX version of EvoX?
The README states that users of the previous JAX-based version can access it on the v0.9.0 branch. The current main branch is PyTorch-based, so code written against the JAX API will not match the current release.
How do I install EvoX with the visualization tools?
The pyproject file defines a vis extra containing plotly >= 5.0.0 and pandas >= 2.0.0, so it is installed by naming the extra alongside the package. A plain install of evox gives you only the core algorithms and benchmark problems.
What algorithms and benchmark problems ship with EvoX?
The README lists 30+ algorithms and 30+ benchmark problems built into the package, spanning differential evolution, evolution strategies, particle swarm optimization, and dominance, decomposition and indicator-based multi-objective methods. Benchmark suites named in the README include DTLZ, LSMOP, MaF, ZDT and CEC'22.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/emi-group-evox)Star history chart for your README
[](https://hysenlabs.com/projects/emi-group-evox)Was this useful?