This fork contains a Puffer-native implementation of MiniGrid's classic
Four Rooms
environment (MiniGrid-FourRooms-v0).
The goal is to keep the environment small, fast, and easy to train inside PufferLib.
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.
Build the CPU backend for Four Rooms:
uv run ./build.sh four_rooms --cpuRun a short CPU training smoke test:
uv run puffer train four_rooms --slowlyOn Apple Silicon, the PyTorch trainer can use MPS:
PUFFERLIB_TORCH_DEVICE=mps uv run puffer train four_rooms --slowly