Thanks to visit codestin.com
Credit goes to github.com

Skip to content

paulmerceur/PufferLib

 
 

Repository files navigation

PufferLib Four Rooms

This fork contains a Puffer-native implementation of MiniGrid's classic Four Rooms environment (MiniGrid-FourRooms-v0).

Four Rooms environment

The goal is to keep the environment small, fast, and easy to train inside PufferLib.

Branches

  • dev: active development branch. Includes local macOS CPU/MPS setup work.
  • four-rooms-4: PR branch kept close to upstream PufferLib for submitting the Four Rooms environment changes.

Quick Start

Build the CPU backend for Four Rooms:

uv run ./build.sh four_rooms --cpu

Run a short CPU training smoke test:

uv run puffer train four_rooms --slowly

On Apple Silicon, the PyTorch trainer can use MPS:

PUFFERLIB_TORCH_DEVICE=mps uv run puffer train four_rooms --slowly

About

Puffer-native MiniGrid Four Rooms environment

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages

  • C 80.1%
  • Python 9.2%
  • Cuda 7.5%
  • GLSL 1.7%
  • C++ 1.1%
  • Shell 0.4%