awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
PufferAI avatar

PufferAI/PufferLib

0
View on GitHub↗
6,039 stars·497 forks·C·MIT·21 viewspuffer.ai↗

PufferLib

PufferLib is a reinforcement learning framework built around high-speed environment simulation and automatic hyperparameter optimization. It is designed to accelerate the entire RL training pipeline by running simulations at near-native speed and enabling the training of tiny models to super-human performance within seconds.

The framework achieves its speed through a single-process training loop that eliminates inter-process communication overhead, vectorized batched simulation for parallel environment execution, and compiled C extensions that offload performance-critical computations. It also includes an in-process hyperparameter search engine that automatically tunes training parameters by running concurrent trials that share memory, removing the need for manual tuning.

Beyond its core acceleration and optimization capabilities, PufferLib provides lightweight state serialization for fast checkpointing and experiment resumption, and a pure-Python environment wrapping interface that avoids serialization overhead when integrating existing simulation environments.

Features

  • RL Environment Simulators - Runs reinforcement learning environments at high speed to reduce training wall-clock time.
  • Tiny Model Training - Trains small RL models to super-human performance in seconds using fast simulation and built-in tuning.
  • Hyperparameter Tuning - Searches for optimal hyperparameters during training to maximize model performance without manual tuning.
  • In-Process Hyperparameter Search - Runs concurrent hyperparameter trials in-process, sharing memory to avoid inter-process communication costs.
  • Hyperparameter Optimizers - Automatically searches for optimal training hyperparameters through in-process concurrent trials that share memory.
  • High-Speed Simulators - Runs RL environment simulations at high speed to shorten training cycles and reduce wall-clock time.
  • Reinforcement Learning Research Frameworks - An accelerated framework for training reinforcement learning agents with fast environment simulation and automatic hyperparameter tuning.
  • Reinforcement Learning Training Utilities - Trains tiny RL models to super-human performance within seconds using fast simulation and built-in tuning.
  • Super-Human Training - Trains tiny RL models to super-human performance within seconds using fast simulation and built-in tuning.
  • Batched Environment Simulators - Runs multiple environment instances in parallel within a single process, batching observations and actions for GPU-accelerated training.
  • Reinforcement Learning Accelerations - Runs RL training loops at high speed by eliminating inter-process communication and offloading simulation to compiled C extensions.
  • RL Pipeline Executors - Executes simulation, model inference, and gradient updates within a single process to remove synchronization bottlenecks.
  • RL Training Loops - Executes simulation, model inference, and gradient updates in a single process to eliminate synchronization bottlenecks.
  • RL Simulation Accelerators - Offloads performance-critical RL simulation loops to compiled C extensions for near-native speed.
  • RL Environment Wrapping Tools - Wraps existing Python simulation environments with a thin, zero-copy interface to avoid serialization overhead.
  • Model State Serialization - Saves and loads model and environment state using compact binary formats for fast checkpointing.

Star history

Star history chart for pufferai/pufferlibStar history chart for pufferai/pufferlib

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does pufferai/pufferlib do?

PufferLib is a reinforcement learning framework built around high-speed environment simulation and automatic hyperparameter optimization. It is designed to accelerate the entire RL training pipeline by running simulations at near-native speed and enabling the training of tiny models to super-human performance within seconds.

What are the main features of pufferai/pufferlib?

The main features of pufferai/pufferlib are: RL Environment Simulators, Tiny Model Training, Hyperparameter Tuning, In-Process Hyperparameter Search, Hyperparameter Optimizers, High-Speed Simulators, Reinforcement Learning Research Frameworks, Reinforcement Learning Training Utilities.

Which projects share features with pufferai/pufferlib?

Projects with overlapping indexed features include: ageron/handson-ml2 — This project provides a collection of practical machine learning code examples, including implementations for… vwxyzjn/cleanrl — CleanRL is a reinforcement learning library and PyTorch framework providing a suite of reproducible implementations… trademaster-ntu/trademaster — TradeMaster is a reinforcement learning trading framework and algorithmic trading simulator designed for designing and… skorch-dev/skorch — Skorch is a library that wraps PyTorch neural networks in a scikit-learn compatible interface, allowing deep learning… openai/baselines — Baselines is a comprehensive suite of frameworks for reinforcement learning algorithm implementation, imitation… google/dopamine — Dopamine is a reinforcement learning research framework designed for prototyping and testing algorithms across diverse…

Projects sharing features with PufferLib

These projects share indexed features with PufferLib. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • ageron/handson-ml2ageron avatar

    ageron/handson-ml2

    29,938View on GitHub↗

    This project provides a collection of practical machine learning code examples, including implementations for supervised, unsupervised, and reinforcement learning algorithms. It features deep learning model implementations for convolutional, recurrent, and generative architectures, alongside specific examples of reinforcement learning agents that maximize rewards in simulated environments. The repository includes dedicated data preprocessing pipelines for sanitization, feature scaling, and dimensionality reduction. It also provides implementations for a wide range of specific models, such as

    Jupyter Notebook
    View on GitHub↗29,938
  • vwxyzjn/cleanrlvwxyzjn avatar

    vwxyzjn/cleanrl

    9,127View on GitHub↗

    CleanRL is a reinforcement learning library and PyTorch framework providing a suite of reproducible implementations for online reinforcement learning algorithms. It serves as a deep reinforcement learning benchmark suite and experiment orchestrator designed for research and agent development across both discrete and continuous action spaces. The project is distinguished by its single-file algorithm implementation approach, which encapsulates each algorithm in a standalone script to eliminate complex class hierarchies. This structure is paired with a system for scheduling and executing large-s

    Pythona2cactor-criticadvantage-actor-critic
    View on GitHub↗9,127
  • trademaster-ntu/trademasterTradeMaster-NTU avatar

    TradeMaster-NTU/TradeMaster

    2,484View on GitHub↗

    TradeMaster is a reinforcement learning trading framework and algorithmic trading simulator designed for designing and testing quantitative trading strategies. The system provides a platform for developing reinforcement learning agents, managing quantitative portfolios, and optimizing trade execution using financial market data. The project features specialized components for multi-modality data preprocessing, a high-fidelity market environment simulation for strategy backtesting, and a quantitative portfolio manager for capital reallocation across multiple assets. It includes a trade executi

    Jupyter Notebookfinancefintechinvestment-strategies
    View on GitHub↗2,484
  • skorch-dev/skorchskorch-dev avatar

    skorch-dev/skorch

    6,166View on GitHub↗

    Skorch is a library that wraps PyTorch neural networks in a scikit-learn compatible interface, allowing deep learning models to be used within standard machine learning pipelines and hyperparameter optimization tools. It functions as a data adapter, training manager, and optimization tool that bridges the gap between deep learning modules and conventional machine learning workflows. The project distinguishes itself by providing a toolkit for automating the PyTorch training lifecycle, including integrated checkpointing, early stopping, and learning rate scheduling. It further enables transfer

    Jupyter Notebook
    View on GitHub↗6,166
Compare all 30 related projects→