alex-petrenko/sample-factory
High throughput synchronous and asynchronous reinforcement learning observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 90
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2632
- days_rel: n/a
- days_push: 62
- n_releases_24m: 0
Adoption not part of the score
1017 stars · 153 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sample Factory is a high-throughput Python reinforcement learning library implementing synchronous and asynchronous policy gradient algorithms (PPO/APPO). It supports single- and multi-agent training, self-play, Population-Based Training, and integrates with environments like MuJoCo, Atari, ViZDoom, Isaac Gym, and DeepMind Lab.
Use cases
- train RL agents with PPO at high throughput
- train multi-agent RL policies with self-play
- train agents in ViZDoom or Isaac Gym environments
- run population-based training for RL experiments
- benchmark RL algorithm throughput on CPU or GPU
- upload trained RL models to the HuggingFace Hub
When to choose
- you need maximum training throughput for policy gradient RL
- you want synchronous or asynchronous PPO with multi-GPU support
- you need multi-agent training, self-play, or PBT
- you want a library designed to be imported with custom environments as first-class citizens
When to avoid
- you need Windows support
- you need off-policy algorithms like SAC or DQN
- you want a simple high-level API over many algorithm families rather than a focused PPO implementation
Facets
library · maturity active
reinforcement-learning machine-learning gpu-computing benchmarking reinforcement-learning machine-learning artificial-intelligence robotics python ppo appo policy-gradient multi-agent self-play population-based-training vizdoom isaacgym mujoco atari huggingface game-development linux macos gpu
10 sources
- readme: https://github.com/alex-petrenko/sample-factory · fetched 2026-08-28 · 1cb883061edc
- homepage: https://samplefactory.dev · fetched 2026-08-29 · c2a2d835dcc1
- site_page: https://www.samplefactory.dev/01-get-started/installation · fetched 2026-08-29 · f2101f1d86b6
- registry_pypi: https://pypi.org/pypi/sample-factory/json · fetched 2026-08-29 · 40b346f90d71
- site_page: https://www.samplefactory.dev/05-troubleshooting/troubleshooting · fetched 2026-08-29 · 855713ed7b5a
- site_page: https://www.samplefactory.dev/09-environment-integrations/mujoco · fetched 2026-08-29 · fef68043d234
- site_page: https://www.samplefactory.dev/09-environment-integrations/atari · fetched 2026-08-29 · cdc8822ab0a6
- site_page: https://www.samplefactory.dev/09-environment-integrations/vizdoom · fetched 2026-08-29 · 09d994aea909
- site_page: https://www.samplefactory.dev/09-environment-integrations/dmlab · fetched 2026-08-29 · 17179089e5b1
- site_page: https://www.samplefactory.dev/09-environment-integrations/megaverse · fetched 2026-08-29 · 62f7972d535e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alex-petrenko/sample-factory | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="alex-petrenko/sample-factory")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem