Skip to content

Conversation

@relh
Copy link
Contributor

@relh relh commented Oct 22, 2025

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

image
@relh relh changed the title Add cogames.cogs-v-clips.training_facility.harvest install/training command Add cogames.cogs-v-clips install/training command Oct 25, 2025
github-merge-queue bot pushed a commit to Metta-AI/metta that referenced this pull request Oct 30, 2025
I'm not sure what's needed to package cogames to work with `pip install pufferlib[cogames]` but this seems to be sufficient. Paired with: PufferAI/PufferLib#400, it enables: ``` 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 ``` [Asana Task](https://app.asana.com/1/1209016784099267/project/1210348820405981/task/1211773293280028)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant