PufferLib
PufferLib copied to clipboard
Add cogames.cogs-v-clips install/training command
Install (pip or uv/pip):
pip install setuptools numpy torch
Then:
pip install pufferlib[cogames] --no-build-isolation
Train:
puffer train cogames.cogs-v-clips.training_facility.harvest
or:
puffer train cogames.cogs-v-clips.machina_1.open_world
Everything currently runs but it's hooked up to a few simplifying variants:
lonely_heart = less resources per heart
heart_chorus = shaped rewards via diversity etc
neutral_faced = only one vibe/glyph
pack_rat = lots of inventory space
puffer train cogames.cogs-v-clips.training_facility.harvest --train.device cpu --vec.num-workers 12 --vec.num-envs 144 gets to hearts: agent/heart.gained 9.240 in 20m on a macbook