Open-source self-play for driving

Robust driving agents from self-play, trained in a day.

OpenGigaflow is a set of environments, training code, and pre-trained models for large-scale self-play reinforcement learning in driving. A collaboration between Valeo, KE:SAI, and the EMERGE lab at NYU.

TLDR: We have built an open-source self-play training framework and a corresponding set of trained agents that are zero-shot near-SOTA across planning benchmarks. Our agents are trained entirely on synthetic data by driving in CARLA maps. In the post, we report how our agents perform, describe the simulator, and visualize their behavior.

Fast C simulator

A C engine simulates millions of steps of agent experience per second, with up to 150 agents per environment.

Self-play training

One shared policy learns from self-play alone on 128 augmented CARLA town maps, without human driving data.

Benchmark evaluation

Built-in self-play benchmarks plus co-simulation with nuPlan and the CARLA leaderboard.

Pre-trained models

Trained checkpoints ship with the repository, ready to evaluate or fine-tune.

Quickstart

git clone https://github.com/OpenGigaflow/OpenGigaflow.git && cd OpenGigaflow
uv venv && source .venv/bin/activate
uv pip install -e .
python setup.py build_ext --inplace --force

opengigaflow train train.data_dir=experiments/my_run

Latest

Announcement

Announcing OpenGigaflow

An open-source training framework and a corresponding set of trained agents that are near-SOTA on planning benchmarks.