Commit 7523166
committed
init
no more .mpt
Merge remote-tracking branch 'origin/main' into richard-unifympt
slim
policy spec handler
more concise
cleanup
simplify
Merge remote-tracking branch 'origin/main' into richard-unifympt
re-add
fix policy spex
Update packages/mettagrid/python/src/mettagrid/util/uri_resolvers/schemes.py
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Merge remote-tracking branch 'origin/main' into richard-unifympt
bundles
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
bundle
Merge remote-tracking branch 'origin/richard-unifympt' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
simplify?
ugh compat
cleanup
Merge remote-tracking branch 'origin/main' into richard-unifympt
cleanup
tests
Merge remote-tracking branch 'origin/main' into richard-unifympt
more tests
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
simplify?
Merge branch 'main' into richard-unifympt
cleanup
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
no more .mpt
remove all .mpt and lint
cleanup
local data path fixes
mpt re-add
re-add artifact
lint
Merge remote-tracking branch 'origin/main' into richard-unifympt
more cleanup
Merge remote-tracking branch 'origin/main' into richard-unifympt
diff cleanup
ftt
lint
fix error
Merge remote-tracking branch 'origin/main' into richard-unifympt
more tests
lint
Merge remote-tracking branch 'origin/main' into richard-unifympt
Merge remote-tracking branch 'origin/main' into richard-unifympt
checkpoint policy does save/load
lint
checkpoint moving
catcus
lint
Merge branch 'main' into richard-unifympt
fold-in
[pyright 4] Get pyright to pass on app_backend (#4478)
Merge remote-tracking branch 'origin/main' into richard-unifympt
Fix command, add space (#4456)
added space to --app:lib--tlsEmulation:off which makes it --app:lib
--tlsEmulation:off
now it runs
Rename HyperUpdateRule to ScheduleRule (#4483)
## Summary
- rename HyperUpdateRule to ScheduleRule and apply to TrainerConfig via
target_path
- update recipes and teacher scheduling to use ScheduleRule
- report PPO stats using ppo_actor/ppo_critic hyperparam keys and update
tests
## Testing
- not run (not requested)
---------
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Merge remote-tracking branch 'origin/main' into richard-unifympt
Fix supervisor teacher behavior and legacy BC mode (#4484)
## Summary
- gate PPO actor during supervisor teacher phase
- fix supervisor/no-teacher behavior and add legacy BC (no gating, no
PPO resume)
- require supervisor policy URI for sliced_cloner_no_ppo
## Testing
- not run (not requested)
---------
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Adam S <134907338+gustofied@users.noreply.github.com>
Minor fixes to the slstm triton kernel, causing failures for certain kernel sizes (#4492)
cleanup
Merge remote-tracking branch 'origin/main' into richard-unifympt
fold in
training environments and eval environments mismatched (#4487)
I ran a direct config comparison using the training entrypoint
(recipes/experiment/cogs_v_clips.train) with variants=["heart_chorus"]
and compared the eval suite
config it builds (difficulty standard + heart_chorus) for an overlapping
mission: hello_world.oxygen_bottleneck.
Findings:
- Compass is ON in both training and eval (global_obs.compass=True).
- Vibe count and change‑vibe settings match (152 vibes;
change_vibe.number_of_vibes=152).
- But the mission parameters differ between training and eval for the
same mission name:
- game.objects.carbon_extractor.max_uses: train 25 vs eval 100
- game.objects.oxygen_extractor.max_uses: train 5 vs eval 20
- game.objects.germanium_extractor.max_uses: train 5 vs eval 20
- game.objects.silicon_extractor.max_uses: train 120 vs eval 480
So the mismatch isn’t compass — it’s the mission definitions used by
training vs eval. Training uses base missions
(cogames.cogs_vs_clips.missions), while eval uses
integrated eval missions (cogames.cogs_vs_clips.evals.integrated_evals)
that have different extractor settings.
Also: the eval suite used by recipes/experiment/cogs_v_clips.train does
not include machina_1.open_world at all (it only evaluates the 7
HELLO_WORLD integrated
evals). So training can be creating hearts on easier missions while your
eval runs on machina_1 are a different environment entirely.
Relevant files:
- Compass default: packages/cogames/src/cogames/cogs_vs_clips/mission.py
- Training entrypoint + eval suite wiring:
recipes/experiment/cogs_v_clips.py
- Eval mission definitions:
packages/cogames/src/cogames/cogs_vs_clips/evals/integrated_evals.py
If you want true parity, we should align which mission templates eval
uses (and/or include machina_1.open_world in the eval suite). I can
patch this if you want —
tell me whether you prefer:
1. Eval suite uses the same mission templates as training (from
missions.py), or
2. Training uses the integrated eval mission definitions, or
3. Add machina_1.open_world to the eval suite.
ripping out
Merge remote-tracking branch 'origin/main' into richard-unifympt
simplify
fix and lint
choke
simplify submission zip creation
use policy_spec for submission zips
tighten checkpoint io helpers
shorten checkpoint arg help
inline checkpoint policy helpers
restore policy spec docstring
validate checkpoint data_path before download
require checkpoint directory URIs
expand policy spec s3 docstring1 parent e0e1aaa commit 7523166
File tree
7 files changed
+53
-39
lines changed- metta
- rl
- loss
- training
- setup
- packages
- cogames
- scripts
- src/cogames/cli
- mettagrid/python/src/mettagrid/util/uri_resolvers
7 files changed
+53
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
144 | 152 | | |
145 | 153 | | |
146 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
147 | 162 | | |
148 | 163 | | |
149 | | - | |
| 164 | + | |
150 | 165 | | |
151 | | - | |
152 | | - | |
| 166 | + | |
153 | 167 | | |
154 | 168 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
158 | 172 | | |
159 | 173 | | |
160 | 174 | | |
| |||
163 | 177 | | |
164 | 178 | | |
165 | 179 | | |
| 180 | + | |
166 | 181 | | |
167 | 182 | | |
168 | 183 | | |
| |||
176 | 191 | | |
177 | 192 | | |
178 | 193 | | |
179 | | - | |
| 194 | + | |
180 | 195 | | |
181 | 196 | | |
182 | 197 | | |
| |||
209 | 224 | | |
210 | 225 | | |
211 | 226 | | |
| 227 | + | |
212 | 228 | | |
213 | 229 | | |
214 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | | - | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
1152 | 1154 | | |
1153 | 1155 | | |
1154 | 1156 | | |
1155 | | - | |
| 1157 | + | |
1156 | 1158 | | |
1157 | 1159 | | |
1158 | 1160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | | - | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments