Skip to content
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages