BIue-Jay commited on
Commit
47312a7
·
verified ·
1 Parent(s): 361d022

c6: last two checkpoints + eval/deploy files + training records

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/cache_cosmos_reason2.py +60 -0
  2. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/check_reason2_offline.py +26 -0
  3. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/g1_feedback76_h16.py +27 -0
  4. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/groot_chain.py +139 -0
  5. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/h2_body31_hand44_h16.py +24 -0
  6. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/h2w3_body31_hand44_h16.py +24 -0
  7. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/hb_aug_v2.py +163 -0
  8. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/hb_launch.py +92 -0
  9. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/hb_offline_fix.py +24 -0
  10. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/prepare_groot_data.py +165 -0
  11. c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/verify_groot_cpu.py +51 -0
  12. c6-bathroom-door-fetch/b512/step-004000/config.json +90 -0
  13. c6-bathroom-door-fetch/b512/step-004000/dataset_meta/hb-dataset-receipt.json +45 -0
  14. c6-bathroom-door-fetch/b512/step-004000/dataset_meta/modality.json +74 -0
  15. c6-bathroom-door-fetch/b512/step-004000/embodiment_id.json +57 -0
  16. c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/conf.yaml +234 -0
  17. c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/config.yaml +232 -0
  18. c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/dataset_statistics.json +883 -0
  19. c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/final_model_config.json +58 -0
  20. c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/final_processor_config.json +0 -0
  21. c6-bathroom-door-fetch/b512/step-004000/model-00001-of-00002.safetensors +3 -0
  22. c6-bathroom-door-fetch/b512/step-004000/model-00002-of-00002.safetensors +3 -0
  23. c6-bathroom-door-fetch/b512/step-004000/model.safetensors.index.json +0 -0
  24. c6-bathroom-door-fetch/b512/step-004000/processor_config.json +1137 -0
  25. c6-bathroom-door-fetch/b512/step-004000/protocol.json +72 -0
  26. c6-bathroom-door-fetch/b512/step-004000/statistics.json +0 -0
  27. c6-bathroom-door-fetch/b512/step-004000/train.log +0 -0
  28. c6-bathroom-door-fetch/b512/step-004000/trainer_state.json +2434 -0
  29. c6-bathroom-door-fetch/b512/step-004000/training_args.bin +3 -0
  30. c6-bathroom-door-fetch/b512/step-004000/training_plan.json +1 -0
  31. c6-bathroom-door-fetch/b512/step-004000/wandb_config.json +1 -0
  32. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/cache_cosmos_reason2.py +60 -0
  33. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/check_reason2_offline.py +26 -0
  34. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/g1_feedback76_h16.py +27 -0
  35. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/groot_chain.py +139 -0
  36. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/h2_body31_hand44_h16.py +24 -0
  37. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/h2w3_body31_hand44_h16.py +24 -0
  38. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/hb_aug_v2.py +163 -0
  39. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/hb_launch.py +92 -0
  40. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/hb_offline_fix.py +24 -0
  41. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/prepare_groot_data.py +165 -0
  42. c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/verify_groot_cpu.py +51 -0
  43. c6-bathroom-door-fetch/b512/step-004500/config.json +90 -0
  44. c6-bathroom-door-fetch/b512/step-004500/dataset_meta/hb-dataset-receipt.json +45 -0
  45. c6-bathroom-door-fetch/b512/step-004500/dataset_meta/modality.json +74 -0
  46. c6-bathroom-door-fetch/b512/step-004500/embodiment_id.json +57 -0
  47. c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/conf.yaml +234 -0
  48. c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/config.yaml +232 -0
  49. c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/dataset_statistics.json +883 -0
  50. c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/final_model_config.json +58 -0
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/cache_cosmos_reason2.py ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Put the full gated nvidia/Cosmos-Reason2-2B (pinned 9ce19a1) into the shared HF hub cache $G/hf-home/hub.
2
+
3
+ GR00T N1.7 builds its backbone with Qwen3VLForConditionalGeneration.from_pretrained("nvidia/Cosmos-Reason2-2B") and
4
+ its processor with Qwen3VLProcessor.from_pretrained(same name) before loading the GR00T checkpoint, so every node needs
5
+ the whole repo resolvable by name. groot_node.sh runs with HF_HUB_OFFLINE=1, so nodes read this cache and never need
6
+ the token. refs/main is pinned to the verified revision.
7
+
8
+ Usage (token from stdin, kept in-process only):
9
+ $G/envs/groot-py312/bin/python cache_cosmos_reason2.py $G/hf-home/hub < /root/.hb-secrets/hf_token
10
+ """
11
+ import hashlib
12
+ import json
13
+ import os
14
+ import sys
15
+ import time
16
+
17
+ from huggingface_hub import HfApi, snapshot_download
18
+
19
+ REPO = "nvidia/Cosmos-Reason2-2B"
20
+ REV = "9ce19a195e423419c349abfc86fd07178b230561"
21
+ cache = os.path.abspath(sys.argv[1])
22
+ token = sys.stdin.readline().strip()
23
+ if not token.startswith("hf_"):
24
+ raise SystemExit("token format rejected")
25
+ api = HfApi(endpoint="https://huggingface.co", token=token)
26
+ info = api.model_info(REPO, revision=REV, files_metadata=True)
27
+ assert info.sha == REV, info.sha
28
+ t0 = time.monotonic()
29
+ for attempt in range(1, 21):
30
+ try:
31
+ path = snapshot_download(REPO, revision=REV, cache_dir=cache, token=token, max_workers=8)
32
+ break
33
+ except Exception as error: # transient stalls
34
+ if any(k in str(error).lower() for k in ("gated", "401", "403")):
35
+ raise
36
+ print(f"retry {attempt}: {type(error).__name__}: {str(error)[:200]}", flush=True)
37
+ time.sleep(10)
38
+ else:
39
+ raise SystemExit("download did not finish")
40
+ token = None
41
+ count, size = 0, 0
42
+ for s in info.siblings:
43
+ f = os.path.join(path, s.rfilename)
44
+ assert os.path.isfile(f), s.rfilename
45
+ if s.size is not None:
46
+ assert os.path.getsize(f) == s.size, s.rfilename
47
+ if s.lfs is not None:
48
+ h = hashlib.sha256()
49
+ with open(f, "rb") as stream:
50
+ for chunk in iter(lambda: stream.read(1 << 22), b""):
51
+ h.update(chunk)
52
+ assert h.hexdigest() == s.lfs.sha256, s.rfilename
53
+ count += 1
54
+ size += s.size or 0
55
+ refs = os.path.join(cache, "models--" + REPO.replace("/", "--"), "refs")
56
+ os.makedirs(refs, exist_ok=True)
57
+ with open(os.path.join(refs, "main"), "w") as f:
58
+ f.write(REV)
59
+ print("CACHE_OK", json.dumps({"repo": REPO, "revision": REV, "snapshot": path, "files": count, "bytes": size,
60
+ "seconds": round(time.monotonic() - t0, 1)}), flush=True)
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/check_reason2_offline.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """CPU check that GR00T's Cosmos-Reason2-2B pieces load offline from $G/hf-home exactly as groot_node.sh will.
2
+
3
+ Usage: HF_HOME=$G/hf-home HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 $G/envs/groot-py312/bin/python check_reason2_offline.py
4
+ """
5
+ import json
6
+ import os
7
+ import sys
8
+ from pathlib import Path
9
+
10
+ import torch
11
+
12
+ sys.path.insert(0, str(Path(__file__).resolve().parent))
13
+ import hb_offline_fix # noqa: E402,F401
14
+ from transformers import AutoConfig, Qwen3VLForConditionalGeneration, Qwen3VLProcessor
15
+
16
+ assert os.environ.get("HF_HUB_OFFLINE") == "1", "run with HF_HUB_OFFLINE=1"
17
+ name = "nvidia/Cosmos-Reason2-2B"
18
+ torch.set_num_threads(8)
19
+ proc = Qwen3VLProcessor.from_pretrained(name, trust_remote_code=True)
20
+ cfg = AutoConfig.from_pretrained(name, trust_remote_code=True)
21
+ ids = proc.tokenizer("pick up the trash and drop it in the bin")["input_ids"]
22
+ model = Qwen3VLForConditionalGeneration.from_pretrained(name, torch_dtype=torch.bfloat16)
23
+ n = sum(p.numel() for p in model.parameters())
24
+ print("REASON2_OFFLINE_OK", json.dumps({"processor": type(proc).__name__, "tokens": len(ids),
25
+ "model_type": cfg.model_type, "params_M": round(n / 1e6, 1),
26
+ "llm_layers": len(model.model.language_model.layers)}), flush=True)
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/g1_feedback76_h16.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """G1 feedback76 / H16 GR00T modality config (copy of HumanWAM configs/humanwam/groot/feedback76_h16.py @ c76527b).
2
+
3
+ The matching modality.json is generated per dataset from the recorded joint names (prepare_groot_data.py);
4
+ HumanWAM's feedback76_modality.json has right_arm at observation.state[29:36] (left-hand fingers), which is wrong
5
+ for our G1 exports (right arm is [22:29]).
6
+ """
7
+ from gr00t.configs.data.embodiment_configs import register_modality_config
8
+ from gr00t.data.embodiment_tags import EmbodimentTag
9
+ from gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
10
+
11
+ feedback76_h16 = {
12
+ "video": ModalityConfig(delta_indices=[0], modality_keys=["ego_view", "chest"]),
13
+ "state": ModalityConfig(
14
+ delta_indices=[0],
15
+ modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "left_hand", "right_hand",
16
+ "projected_gravity"],
17
+ ),
18
+ "action": ModalityConfig(
19
+ delta_indices=list(range(16)),
20
+ modality_keys=["motion_token", "left_hand_joints", "right_hand_joints"],
21
+ action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF,
22
+ format=ActionFormat.DEFAULT) for _ in range(3)],
23
+ ),
24
+ "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),
25
+ }
26
+
27
+ register_modality_config(feedback76_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/groot_chain.py ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Per-node GR00T relay: per-layout batch-size probe (largest that fits), then 20-epoch production per task.
2
+
3
+ Run on every node (nohup), node rank from the DLC env RANK: python groot_chain.py [task ...]
4
+ Default tasks: b6 a3 a7 a18 (basket postponed). A phase succeeds only if all 4 node launchers exit 0.
5
+
6
+ Batch (user rule: as large as memory allows, 2026-11-10): descending CANDIDATES, 4 steps each on all 32 GPUs; a
7
+ candidate fits when all launchers exit 0 AND the peak reserved memory of every rank (written by hb_launch.py to
8
+ logs/peak-<phase>-rank<r>.json) is <= MAX_FRAC of the GPU. Node 0 alone judges each probe and writes a verdict file
9
+ the other nodes wait for, so all nodes take the same decision. One decision per robot layout (g1 / h2).
10
+ Outputs: $G/groot-runs-bmax/ (the earlier per-GPU-64 runs stay in $G/groot-runs/).
11
+ """
12
+ import fcntl
13
+ import json
14
+ import math
15
+ import os
16
+ import shutil
17
+ import subprocess
18
+ import sys
19
+ import time
20
+ from pathlib import Path
21
+
22
+ H = Path(__file__).resolve().parent
23
+ G = H.parent
24
+ RUNS = G / os.environ.get("HB_GROOT_RUNS_NAME", "groot-runs-bmax")
25
+ NODE = int(os.environ["RANK"])
26
+ TASKS = sys.argv[1:] or ["b6", "a3", "a7", "a18"] # basket postponed (user plan 2026-11-10)
27
+ CANDIDATES = [320, 288, 256, 224, 192, 160, 128, 96, 64, 48, 32]
28
+ MAX_FRAC = 0.92
29
+ EPOCHS = 20
30
+ PORT_BASE = int(os.environ.get("HB_GROOT_PORT_BASE", "32500")) # probe PORT_BASE+i, production PORT_BASE+50+k
31
+ RUNS.mkdir(parents=True, exist_ok=True)
32
+ os.environ["HB_GROOT_RUNS"] = str(RUNS) # read by groot_node.sh
33
+ lock = (RUNS / f"chain-node-{NODE}.lock").open("a")
34
+ fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB)
35
+
36
+
37
+ def log(msg):
38
+ line = f"{time.strftime('%Y-%m-%d %H:%M:%S')} node{NODE} {msg}"
39
+ print(line, flush=True)
40
+ with (RUNS / f"chain-node-{NODE}.log").open("a") as f:
41
+ f.write(line + "\n")
42
+
43
+
44
+ def run_phase(task, phase, bs, steps, save, port):
45
+ logs = RUNS / task / "logs"
46
+ exits = [logs / f"{phase}-node-{r}.exit" for r in range(4)]
47
+ if all(p.is_file() for p in exits):
48
+ return all(p.read_text().strip() == "0" for p in exits)
49
+ subprocess.run(["bash", str(H / "groot_node.sh"), task, phase, str(bs), str(steps), str(save), str(port)])
50
+ deadline = time.monotonic() + 600
51
+ while not all(p.is_file() for p in exits):
52
+ if time.monotonic() > deadline:
53
+ log(f"{task}/{phase}: timed out waiting for peer exit files")
54
+ return False
55
+ time.sleep(5)
56
+ ok = all(p.read_text().strip() == "0" for p in exits)
57
+ log(f"{task}/{phase}: bs={bs} steps={steps} -> {'OK' if ok else 'FAIL'}")
58
+ return ok
59
+
60
+
61
+ def peak_frac(task, phase):
62
+ """Max over ranks of peak reserved / total; None when no rank reported."""
63
+ fracs = []
64
+ for f in (RUNS / task / "logs").glob(f"peak-{phase}-rank*.json"):
65
+ try:
66
+ d = json.loads(f.read_text())
67
+ fracs.append(d["peak_reserved_gb"] / d["total_gb"])
68
+ except (ValueError, KeyError, OSError):
69
+ continue
70
+ return (max(fracs), len(fracs)) if fracs else (None, 0)
71
+
72
+
73
+ def probe_verdict(task, cand, port):
74
+ phase = f"probe-bs{cand}"
75
+ verdict = RUNS / task / "logs" / f"{phase}.verdict.json"
76
+ ok = run_phase(task, phase, cand, 4, 1000000, port)
77
+ if NODE == 0 and not verdict.is_file():
78
+ time.sleep(10) # let peak files from the other nodes become visible on NAS
79
+ frac, n = peak_frac(task, phase) if ok else (None, 0)
80
+ fits = bool(ok and frac is not None and frac <= MAX_FRAC)
81
+ verdict.write_text(json.dumps({"per_gpu_batch": cand, "ran_ok": ok, "peak_frac": frac, "ranks_reported": n,
82
+ "max_frac": MAX_FRAC, "fits": fits}) + "\n")
83
+ deadline = time.monotonic() + 600
84
+ while not verdict.is_file():
85
+ if time.monotonic() > deadline:
86
+ log(f"{task}/{phase}: no verdict from node 0")
87
+ return False
88
+ time.sleep(5)
89
+ v = json.loads(verdict.read_text())
90
+ log(f"{task}/{phase}: verdict {v}")
91
+ return v["fits"]
92
+
93
+
94
+ def prune_resume_state(out):
95
+ """Keep weights of every checkpoint but resume state (DeepSpeed optimizer shards, scheduler, RNG) only in the latest."""
96
+ ckpts = sorted((p for p in out.glob("checkpoint-*") if p.name.split("-")[-1].isdigit()),
97
+ key=lambda p: int(p.name.split("-")[-1]))
98
+ for c in ckpts[:-1]:
99
+ for p in list(c.glob("global_step*")) + list(c.glob("optimizer*.pt")) + list(c.glob("scheduler.pt")) \
100
+ + list(c.glob("rng_state*.pth")) + list(c.glob("latest")) + list(c.glob("zero_to_fp32.py")):
101
+ if p.is_dir():
102
+ shutil.rmtree(p, ignore_errors=True)
103
+ else:
104
+ p.unlink(missing_ok=True)
105
+ log(f"{c.name}: resume state dropped (weights kept)")
106
+
107
+
108
+ def batch_for(task):
109
+ layout = "h2" if task in ("a17", "a18") else "g1"
110
+ decision = RUNS / f"batch-decision-{layout}.json"
111
+ if decision.is_file():
112
+ return json.loads(decision.read_text())["per_gpu_batch"]
113
+ for i, cand in enumerate(CANDIDATES):
114
+ if probe_verdict(task, cand, PORT_BASE + i + (20 if layout == "h2" else 0)):
115
+ if NODE == 0:
116
+ decision.write_text(json.dumps({"per_gpu_batch": cand, "global_batch": cand * 32, "probe_task": task,
117
+ "layout": layout, "candidates": CANDIDATES,
118
+ "max_frac": MAX_FRAC}) + "\n")
119
+ return cand
120
+ time.sleep(20)
121
+ log(f"{layout}: no batch size fit; stopping")
122
+ sys.exit(1)
123
+
124
+
125
+ for k, task in enumerate(TASKS):
126
+ bs = batch_for(task)
127
+ log(f"{task}: per-GPU batch {bs} (global {bs * 32})")
128
+ receipt = json.loads((G / "groot-data" / task / "hb-dataset-receipt.json").read_text())
129
+ steps = math.ceil(EPOCHS * receipt["frames"] / (bs * 32))
130
+ save = math.ceil(steps / 2)
131
+ if not run_phase(task, "production", bs, steps, save, PORT_BASE + 50 + k):
132
+ log(f"{task}: production failed; stopping chain")
133
+ sys.exit(1)
134
+ if NODE == 0:
135
+ prune_resume_state(RUNS / task / "production")
136
+ (RUNS / task / "production-complete.json").write_text(json.dumps(
137
+ {"task": task, "frames": receipt["frames"], "epochs": EPOCHS, "per_gpu_batch": bs,
138
+ "global_batch": bs * 32, "max_steps": steps, "save_steps": save}) + "\n")
139
+ log("all tasks done")
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/h2_body31_hand44_h16.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A18 H2 (Sharpa hands) GR00T modality config, same protocol as the A18 Delta-flow run
2
+ (schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projected
3
+ gravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""
4
+ from gr00t.configs.data.embodiment_configs import register_modality_config
5
+ from gr00t.data.embodiment_tags import EmbodimentTag
6
+ from gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
7
+
8
+ h2_body31_hand44_h16 = {
9
+ "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]),
10
+ "state": ModalityConfig(
11
+ delta_indices=[0],
12
+ modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand",
13
+ "projected_gravity"],
14
+ ),
15
+ "action": ModalityConfig(
16
+ delta_indices=list(range(16)),
17
+ modality_keys=["body_target", "left_hand_target", "right_hand_target"],
18
+ action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF,
19
+ format=ActionFormat.DEFAULT) for _ in range(3)],
20
+ ),
21
+ "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),
22
+ }
23
+
24
+ register_modality_config(h2_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/h2w3_body31_hand44_h16.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A14 H2 (Sharpa hands) GR00T modality config with THREE cameras head + chest + wrist (user 2026-11-12; the third-person camera is never a model input). Otherwise identical to h2_body31_hand44_h16.py:, same protocol as the A18 Delta-flow run
2
+ (schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projected
3
+ gravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""
4
+ from gr00t.configs.data.embodiment_configs import register_modality_config
5
+ from gr00t.data.embodiment_tags import EmbodimentTag
6
+ from gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
7
+
8
+ h2w3_body31_hand44_h16 = {
9
+ "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest", "wrist"]),
10
+ "state": ModalityConfig(
11
+ delta_indices=[0],
12
+ modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand",
13
+ "projected_gravity"],
14
+ ),
15
+ "action": ModalityConfig(
16
+ delta_indices=list(range(16)),
17
+ modality_keys=["body_target", "left_hand_target", "right_hand_target"],
18
+ action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF,
19
+ format=ActionFormat.DEFAULT) for _ in range(3)],
20
+ ),
21
+ "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),
22
+ }
23
+
24
+ register_modality_config(h2w3_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/hb_aug_v2.py ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Humanoid Benchmark data augmentation v2 (project CLAUDE.md), model-agnostic torch implementation.
2
+
3
+ augment(x, rng, obs_mask=None) takes x: float [T, V, 3, H, W] in [0, 1] (T frames, V cameras) and returns the
4
+ augmented tensor. Each call is one training sample: one of the 15 effects is chosen uniformly and its magnitude
5
+ is scaled by 1.5 around identity; the rest stay at x1. Colour is shared across cameras and time; geometry, light
6
+ patches and white balance are drawn per camera and fixed over time; sensor/optics effects (noise, gaussian blur,
7
+ JPEG, motion blur, sharpen, defocus) apply only to observation frames (obs_mask True).
8
+ Pixel-size parameters are defined at 224 px and scaled by H / 224.
9
+ perturb_joints(q, rng) applies the proprio spec: per-joint bias +-2 deg plus N(0, 0.25 deg) clipped at 3 sigma.
10
+ """
11
+ import io
12
+ import math
13
+
14
+ import numpy as np
15
+ import torch
16
+ import torch.nn.functional as F
17
+ from PIL import Image
18
+ from torchvision.transforms import InterpolationMode
19
+ from torchvision.transforms import functional as TF
20
+
21
+ EFFECTS = ("exposure", "contrast", "saturation", "hue", "gamma", "temperature", "rotation_crop", "noise",
22
+ "gaussian_blur", "jpeg", "motion_blur", "sharpen", "defocus", "light_shadow", "wb_channel")
23
+ CENTER = {"exposure": 0.0, "contrast": 1.0, "saturation": 1.0, "hue": 0.0, "gamma": 1.0, "temperature": 0.0}
24
+ RANGE = {"exposure": (-0.22, 0.22), "contrast": (0.88, 1.12), "saturation": (0.76, 1.24), "hue": (-0.015, 0.015),
25
+ "gamma": (0.89, 1.11), "temperature": (-0.066, 0.066)}
26
+ VERSION = "hb-aug-v2-20261109"
27
+
28
+
29
+ def sample(rng, views, height):
30
+ boost = EFFECTS[int(rng.integers(len(EFFECTS)))]
31
+
32
+ def k(name):
33
+ return 1.5 if boost == name else 1.0
34
+
35
+ px = height / 224.0
36
+ p = {"boost": boost}
37
+ for name, (a, b) in RANGE.items():
38
+ c = CENTER[name]
39
+ p[name] = float(rng.uniform(c + k(name) * (a - c), c + k(name) * (b - c)))
40
+ p["geometry"] = []
41
+ for _ in range(views):
42
+ angle = float(rng.uniform(-1.5 * k("rotation_crop"), 1.5 * k("rotation_crop")))
43
+ p["geometry"].append((angle, 1.0 + abs(angle) * 0.015 + float(rng.uniform(0, 0.02 * k("rotation_crop")))))
44
+ p["noise"] = 4.0 / 255.0 * k("noise") if rng.random() < 0.5 else 0.0
45
+ p["gaussian_blur"] = float(rng.uniform(0.25, 0.65)) * k("gaussian_blur") if rng.random() < 0.15 else 0.0
46
+ if rng.random() < 0.35:
47
+ lo = int(round(100 - k("jpeg") * 30))
48
+ hi = int(round(100 - k("jpeg") * 5))
49
+ p["jpeg"] = int(rng.integers(lo, hi + 1))
50
+ else:
51
+ p["jpeg"] = None
52
+ p["motion_blur"] = ((float(rng.uniform(3, 7)) * k("motion_blur") * px, float(rng.uniform(0, 180)))
53
+ if rng.random() < 0.15 else None)
54
+ p["sharpen"] = float(rng.uniform(0.2, 0.6)) * k("sharpen") if rng.random() < 0.15 else 0.0
55
+ p["defocus"] = float(rng.uniform(1, 2)) * k("defocus") * px if rng.random() < 0.10 else 0.0
56
+ if rng.random() < 0.30:
57
+ g = 0.30 * k("light_shadow")
58
+ p["light_shadow"] = [[(float(rng.uniform(0.1, 0.9)), float(rng.uniform(0.1, 0.9)),
59
+ float(rng.uniform(0.15, 0.35)), float(rng.uniform(1 - g, 1 + g)))
60
+ for _ in range(int(rng.integers(1, 3)))] for _ in range(views)]
61
+ else:
62
+ p["light_shadow"] = None
63
+ if rng.random() < 0.30:
64
+ g = 0.10 * k("wb_channel")
65
+ gains = []
66
+ for _ in range(views):
67
+ row = [1.0, 1.0, 1.0]
68
+ row[int(rng.integers(0, 3))] = float(rng.uniform(1 - g, 1 + g))
69
+ gains.append(row)
70
+ p["wb_channel"] = gains
71
+ else:
72
+ p["wb_channel"] = None
73
+ return p
74
+
75
+
76
+ def _conv(x, kernel):
77
+ n, c, h, w = x.shape
78
+ k = kernel.to(x)[None, None].repeat(c, 1, 1, 1)
79
+ pad = kernel.shape[-1] // 2
80
+ return F.conv2d(F.pad(x, (pad, pad, pad, pad), mode="reflect"), k, groups=c)
81
+
82
+
83
+ def motion_kernel(length, angle_deg):
84
+ size = max(3, int(round(length)) | 1)
85
+ k = torch.zeros(size, size)
86
+ c = size // 2
87
+ th = math.radians(angle_deg)
88
+ for s in np.linspace(-(length - 1) / 2, (length - 1) / 2, 8 * size):
89
+ k[int(round(c - s * math.sin(th))), int(round(c + s * math.cos(th)))] = 1.0
90
+ return k / k.sum()
91
+
92
+
93
+ def disk_kernel(r):
94
+ size = 2 * int(math.ceil(r)) + 1
95
+ c = size // 2
96
+ yy, xx = torch.meshgrid(torch.arange(size), torch.arange(size), indexing="ij")
97
+ k = (((yy - c) ** 2 + (xx - c) ** 2) <= (r + 0.5) ** 2).float()
98
+ return k / k.sum()
99
+
100
+
101
+ def apply(x, p, obs_mask=None, noise_seed=0):
102
+ t, v, c, h, w = x.shape
103
+ x = x.clone().clamp(0, 1)
104
+ for vi, (angle, scale) in enumerate(p["geometry"]):
105
+ x[:, vi] = TF.affine(x[:, vi], angle=angle, translate=[0, 0], scale=scale, shear=[0, 0],
106
+ interpolation=InterpolationMode.BILINEAR)
107
+ if p["light_shadow"] is not None:
108
+ yy, xx = torch.meshgrid(torch.linspace(0, 1, h), torch.linspace(0, 1, w), indexing="ij")
109
+ for vi, blobs in enumerate(p["light_shadow"]):
110
+ m = torch.ones(h, w)
111
+ for cx, cy, s, g in blobs:
112
+ m = m + (g - 1.0) * torch.exp(-((xx - cx) ** 2 + (yy - cy) ** 2) / (2 * s * s))
113
+ x[:, vi] = (x[:, vi] * m.clamp(min=0).to(x)).clamp(0, 1)
114
+ if p["wb_channel"] is not None:
115
+ for vi, g in enumerate(p["wb_channel"]):
116
+ x[:, vi] = (x[:, vi] * torch.tensor(g, dtype=x.dtype).view(1, 3, 1, 1)).clamp(0, 1)
117
+ y = x.reshape(t * v, c, h, w)
118
+ y = (y * float(2.0 ** p["exposure"])).clamp(0, 1)
119
+ d = p["temperature"]
120
+ y = (y * y.new_tensor([1.0 + d, 1.0, 1.0 - d]).view(1, 3, 1, 1)).clamp(0, 1)
121
+ y = ((y - 0.5) * p["contrast"] + 0.5).clamp(0, 1)
122
+ y = TF.adjust_saturation(y, p["saturation"])
123
+ y = TF.adjust_hue(y, p["hue"])
124
+ y = y.clamp(0, 1).pow(p["gamma"])
125
+ x = y.reshape(t, v, c, h, w)
126
+ mask = torch.ones(t, dtype=torch.bool) if obs_mask is None else torch.as_tensor(obs_mask, dtype=torch.bool)
127
+ if bool(mask.any()):
128
+ o = x[mask].reshape(-1, c, h, w)
129
+ if p["gaussian_blur"] > 0:
130
+ o = TF.gaussian_blur(o, [3, 3], [p["gaussian_blur"]] * 2)
131
+ if p["motion_blur"] is not None:
132
+ o = _conv(o, motion_kernel(*p["motion_blur"]))
133
+ if p["defocus"] > 0:
134
+ o = _conv(o, disk_kernel(p["defocus"]))
135
+ if p["sharpen"] > 0:
136
+ o = o + p["sharpen"] * (o - TF.gaussian_blur(o, [5, 5], [1.0, 1.0]))
137
+ o = o.clamp(0, 1)
138
+ if p["noise"] > 0:
139
+ gen = torch.Generator().manual_seed(int(noise_seed))
140
+ o = (o + torch.randn(o.shape, generator=gen, dtype=o.dtype) * p["noise"]).clamp(0, 1)
141
+ if p["jpeg"] is not None:
142
+ for i in range(o.shape[0]):
143
+ buf = io.BytesIO()
144
+ TF.to_pil_image(o[i]).save(buf, format="JPEG", quality=int(p["jpeg"]))
145
+ buf.seek(0)
146
+ with Image.open(buf) as im:
147
+ o[i] = TF.pil_to_tensor(im.convert("RGB")).to(o.dtype).div(255.0)
148
+ x[mask] = o.reshape(-1, v, c, h, w)
149
+ return x.clamp(0, 1)
150
+
151
+
152
+ def augment(x, rng, obs_mask=None):
153
+ p = sample(rng, x.shape[1], x.shape[-2])
154
+ return apply(x, p, obs_mask, noise_seed=int(rng.integers(0, 2 ** 62))), p
155
+
156
+
157
+ def perturb_joints(q, rng):
158
+ q = np.asarray(q, dtype=np.float64)
159
+ d = q.shape[-1]
160
+ bias = rng.uniform(-math.radians(2.0), math.radians(2.0), size=d)
161
+ sigma = math.radians(0.25)
162
+ noise = np.clip(rng.normal(0.0, sigma, size=q.shape), -3 * sigma, 3 * sigma)
163
+ return (q + bias + noise).astype(np.float32)
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/hb_launch.py ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """GR00T N1.7 fine-tuning entry with Humanoid Benchmark augmentation v2.
2
+
3
+ Patches Gr00tN1d7Processor in training mode only:
4
+ - images: native random crop / colour jitter / rotation are bypassed (the deterministic eval resize+center-crop is
5
+ used), then hb_aug_v2 is applied jointly to all cameras of the sample;
6
+ - proprio: the body-joint state groups (HB_BODY_STATE_KEYS) get the v2 bias + noise before normalization.
7
+ Then runs the pinned upstream gr00t/experiment/launch_finetune.py unchanged.
8
+ """
9
+ import json
10
+ import os
11
+ import runpy
12
+ import sys
13
+ from pathlib import Path
14
+
15
+ import numpy as np
16
+ import torch
17
+
18
+ HERE = Path(__file__).resolve().parent
19
+ sys.path.insert(0, str(HERE))
20
+ import hb_offline_fix # noqa: E402,F401 (tokenizer load under HF_HUB_OFFLINE=1, see module docstring)
21
+ import hb_aug_v2 as A # noqa: E402
22
+ from gr00t.model.gr00t_n1d7 import processing_gr00t_n1d7 as P # noqa: E402
23
+
24
+ Proc = P.Gr00tN1d7Processor
25
+ BODY_KEYS = [k for k in os.environ.get("HB_BODY_STATE_KEYS", "left_leg,right_leg,waist,left_arm,right_arm").split(",") if k]
26
+ LOG = os.environ.get("HB_AUG_LOG")
27
+ _state = {"rng": None, "count": 0}
28
+
29
+
30
+ def _rng():
31
+ if _state["rng"] is None:
32
+ _state["rng"] = np.random.default_rng([os.getpid(), int.from_bytes(os.urandom(8), "little")])
33
+ return _state["rng"]
34
+
35
+
36
+ _orig_get, _orig_apply, _orig_call = Proc._get_vlm_inputs, Proc._apply_vlm_processing, Proc.__call__
37
+
38
+
39
+ def _get_vlm_inputs(self, image_keys, images, masks, image_transform, language):
40
+ if getattr(self, "training", False):
41
+ self._hb_views = len(image_keys)
42
+ try:
43
+ return _orig_get(self, image_keys, images, masks, self.eval_image_transform, language)
44
+ finally:
45
+ self._hb_views = None
46
+ return _orig_get(self, image_keys, images, masks, image_transform, language)
47
+
48
+
49
+ def _apply_vlm_processing(self, images, language):
50
+ views = getattr(self, "_hb_views", None)
51
+ if views and isinstance(images, torch.Tensor):
52
+ shape = images.shape
53
+ x = images.reshape(-1, views, *shape[1:]).float().div(255.0)
54
+ x, p = A.augment(x, _rng())
55
+ images = (x * 255.0 + 0.5).clamp(0, 255).to(torch.uint8).reshape(shape)
56
+ _state["count"] += 1
57
+ if LOG and _state["count"] in (1, 50):
58
+ with open(f"{LOG}.{os.getpid()}", "a") as f:
59
+ f.write(json.dumps({"count": _state["count"], "views": views, "hw": list(shape[-2:]),
60
+ "boost": p["boost"], "version": A.VERSION}) + "\n")
61
+ return _orig_apply(self, images, language)
62
+
63
+
64
+ def _call(self, messages):
65
+ if getattr(self, "training", False) and BODY_KEYS:
66
+ states = messages[0]["content"].states
67
+ for key in BODY_KEYS:
68
+ if key in states:
69
+ states[key] = A.perturb_joints(states[key], _rng())
70
+ return _orig_call(self, messages)
71
+
72
+
73
+ Proc._get_vlm_inputs = _get_vlm_inputs
74
+ Proc._apply_vlm_processing = _apply_vlm_processing
75
+ Proc.__call__ = _call
76
+
77
+ if os.environ.get("HB_PATCH_ONLY") != "1":
78
+ entry = Path(os.environ["GROOT_SRC"]) / "gr00t/experiment/launch_finetune.py"
79
+ sys.argv = [str(entry)] + sys.argv[1:]
80
+ try:
81
+ runpy.run_path(str(entry), run_name="__main__")
82
+ finally: # batch probe: report this rank's peak reserved memory (groot_chain.py compares it with MAX_FRAC)
83
+ _peak = os.environ.get("HB_PEAK_FILE")
84
+ if _peak and torch.cuda.is_available():
85
+ try:
86
+ _dev = torch.cuda.current_device()
87
+ with open(f"{_peak}-rank{os.environ.get('RANK', '0')}.json", "w") as _f:
88
+ json.dump({"rank": int(os.environ.get("RANK", "0")),
89
+ "peak_reserved_gb": torch.cuda.max_memory_reserved(_dev) / 1e9,
90
+ "total_gb": torch.cuda.get_device_properties(_dev).total_memory / 1e9}, _f)
91
+ except Exception: # noqa: BLE001 - never mask the training result
92
+ pass
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/hb_offline_fix.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Make tokenizer loading work with HF_HUB_OFFLINE=1 on transformers 4.57.x.
2
+
3
+ PreTrainedTokenizerBase._patch_mistral_regex calls huggingface_hub.model_info() for every hub-named tokenizer with a
4
+ vocab > 100k (to detect Mistral base models). With HF_HUB_OFFLINE=1 that raises OfflineModeIsEnabled even though all
5
+ files are in the cache. GR00T's Cosmos-Reason2-2B / Qwen3-VL tokenizer is not a Mistral tokenizer, so when offline the
6
+ check is skipped and the tokenizer is returned unchanged. Online behaviour is untouched.
7
+ """
8
+ import os
9
+
10
+ from transformers.tokenization_utils_base import PreTrainedTokenizerBase as _PTB
11
+
12
+ if not getattr(_PTB, "_hb_offline_fix", False):
13
+ _orig = _PTB._patch_mistral_regex.__func__
14
+
15
+ def _patch_mistral_regex(cls, tokenizer, *args, **kwargs):
16
+ try:
17
+ return _orig(cls, tokenizer, *args, **kwargs)
18
+ except Exception as error:
19
+ if os.environ.get("HF_HUB_OFFLINE") == "1" or type(error).__name__ == "OfflineModeIsEnabled":
20
+ return tokenizer
21
+ raise
22
+
23
+ _PTB._patch_mistral_regex = classmethod(_patch_mistral_regex)
24
+ _PTB._hb_offline_fix = True
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/prepare_groot_data.py ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build GR00T dataset views (symlinked episodes + rewritten meta + stats) for the G1 tasks.
2
+
3
+ Usage: <groot python> prepare_groot_data.py <task> [<task> ...] (tasks: b6 basket a3 a7)
4
+ B6 always uses the fixed first 100 episodes (0-99) of b6-v5t7-ready-start-20261109.
5
+ """
6
+ import hashlib
7
+ import json
8
+ import os
9
+ import subprocess
10
+ import sys
11
+ from pathlib import Path
12
+
13
+ H = Path(__file__).resolve().parent
14
+ G = H.parent
15
+ P = G.parent
16
+ OUT = G / "groot-data"
17
+ TASKS = {
18
+ "b6": (P / "b6-v5t7-ready-start-60ep-20261109/data/deliveries/g1/b6-v5t7-ready-start-20261109", 100),
19
+ "basket": (P / "basket-current-dynamics-100-v21-b0ff522/data", None), # HF basket-transfer-expert-v1 @current-dynamics-100-v21 b0ff522 (old ed77719 retired)
20
+ "trolley": (P / "trolley-push-expert-v1-20261110/data/trolley_push", 100), # HF trolley-push-expert-v1 @ef9024a: fixed first 100 of 103
21
+ "b7": (P / "b7-black-clothes-hamper-v1-1bb002a/data", 100), # HF b7-black-clothes-hamper-expert-v1 @1bb002a, first 100 of 107
22
+ "a6": (P / "a6-door-pull-v1-cf3ee9b/data/door_pull", None), # HF door-pull-expert-v1 @cf3ee9b (A6)
23
+ "b7green": (P / "b7-green-clothes-hamper-v1-ada288c/data", None), # HF b7-green-clothes-hamper-expert-v1 @ada288c, 100 episodes (user 2026-11-13)
24
+ "a10v2": (P / "a10-trolley-push-v2-d3abb4c/data", None), # HF a10-trolley-push-expert-v2 @d3abb4c, all 150 episodes (user 2026-11-13)
25
+ "a1": (P / "a1-ground-object-pickup-v1-f47f07e/data", None), # HF a1-ground-object-pickup-expert-v1 @f47f07e (A1)
26
+ "c6t": (P / "c6-test8-06c231d/data", None), # c6 8-episode adaptation test only
27
+ "c6": (P / "c6-bathroom-door-fetch-v1-3afba69/data", None), # HF c6-bathroom-door-fetch-expert-v1 @3afba69 (C6)
28
+ "a3": (P / "a3-a7-20261109/a3-fridge-open-expert-v1/780fcf1e4bd7db947a8c2d8f7b92e61f24f71b45", None),
29
+ "a7": (P / "a3-a7-20261109/a7-cabinet-close-expert-v1/1935a98e8f55d4d1d2d1615ddb97c2679713595c", None),
30
+ "a18": (P / "a18-h2-dataset-audit-8e956a10/dataset", None),
31
+ "a17": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # HF a17-unscrew-bottle-expert-v1 @407e6e2
32
+ "a14": (P / "a14-unscrew-bulb-v1-b4390fc/data", None), # HF a14-unscrew-bulb-expert-v1 @b4390fc (H2, 3 cameras)
33
+ }
34
+ CONFIG = {"a18": "h2w3_body31_hand44_h16.py", "a17": "h2w3_body31_hand44_h16.py", "a14": "h2w3_body31_hand44_h16.py"}
35
+ # model-input cameras per H2 task (user 2026-11-12 22:0x: EVERY H2 task uses head + chest + wrist; third_person never)
36
+ CAMS = {"a18": ("head", "chest", "wrist"), "a17": ("head", "chest", "wrist"), "a14": ("head", "chest", "wrist")}
37
+ H2_GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29),
38
+ "head": (29, 31), "left_hand": (31, 53), "right_hand": (53, 75)}
39
+
40
+
41
+ def h2_modality(info, cams=("head", "chest")):
42
+ f = info["features"]
43
+ names = f["observation.state"]["names"]
44
+ assert len(names) == 75 and names[:31] == f["action.body_target"]["names"] and names[31:] == f["action.hands"]["names"]
45
+ assert f["observation.projected_gravity"]["shape"] == [3]
46
+ state = {g: {"original_key": "observation.state", "start": a, "end": b} for g, (a, b) in H2_GROUPS.items()}
47
+ state["projected_gravity"] = {"original_key": "observation.projected_gravity", "start": 0, "end": 3}
48
+ return {"state": state,
49
+ "action": {"body_target": {"original_key": "action.body_target", "start": 0, "end": 31},
50
+ "left_hand_target": {"original_key": "action.hands", "start": 0, "end": 22},
51
+ "right_hand_target": {"original_key": "action.hands", "start": 22, "end": 44}},
52
+ "video": {c: {"original_key": f"observation.images.{c}"} for c in cams},
53
+ "annotation": {"human.task_description": {"original_key": "task_index"}}}
54
+ BODY = ["left_hip_pitch_joint", "left_hip_roll_joint", "left_hip_yaw_joint", "left_knee_joint", "left_ankle_pitch_joint",
55
+ "left_ankle_roll_joint", "right_hip_pitch_joint", "right_hip_roll_joint", "right_hip_yaw_joint",
56
+ "right_knee_joint", "right_ankle_pitch_joint", "right_ankle_roll_joint", "waist_yaw_joint", "waist_roll_joint",
57
+ "waist_pitch_joint", "left_shoulder_pitch_joint", "left_shoulder_roll_joint", "left_shoulder_yaw_joint",
58
+ "left_elbow_joint", "left_wrist_roll_joint", "left_wrist_pitch_joint", "left_wrist_yaw_joint",
59
+ "right_shoulder_pitch_joint", "right_shoulder_roll_joint", "right_shoulder_yaw_joint", "right_elbow_joint",
60
+ "right_wrist_roll_joint", "right_wrist_pitch_joint", "right_wrist_yaw_joint"]
61
+ GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29)}
62
+
63
+
64
+ def jl(path):
65
+ return [json.loads(x) for x in Path(path).read_text().splitlines() if x.strip()]
66
+
67
+
68
+ def wl(path, rows):
69
+ Path(path).write_text("".join(json.dumps(r) + "\n" for r in rows))
70
+
71
+
72
+ def build(task):
73
+ src, limit = TASKS[task]
74
+ info = json.loads((src / "meta/info.json").read_text())
75
+ names = info["features"]["observation.state"]["names"]
76
+ if task in CONFIG:
77
+ idx = list(range(31))
78
+ else:
79
+ idx = [names.index(n) for n in BODY]
80
+ for g, (a, b) in GROUPS.items():
81
+ assert idx[a:b] == list(range(idx[a], idx[a] + (b - a))), (task, g, idx[a:b])
82
+ for key, dim in (("action.motion_token", 64), ("observation.inspire_left_hand_state", 6),
83
+ ("observation.inspire_right_hand_state", 6), ("observation.projected_gravity", 3),
84
+ ("observation.images.ego_view", None), ("observation.images.chest", None)):
85
+ assert key in info["features"], (task, key)
86
+ if dim:
87
+ assert info["features"][key]["shape"] == [dim], (task, key)
88
+ episodes = jl(src / "meta/episodes.jsonl")
89
+ stats = jl(src / "meta/episodes_stats.jsonl")
90
+ n = len(episodes) if limit is None else limit
91
+ episodes, stats = episodes[:n], stats[:n]
92
+ assert [e["episode_index"] for e in episodes] == list(range(n)) == [s["episode_index"] for s in stats]
93
+ frames = sum(int(e["length"]) for e in episodes)
94
+ dst = OUT / task
95
+ if dst.exists():
96
+ raise SystemExit(f"{dst} exists")
97
+ (dst / "meta").mkdir(parents=True)
98
+ vkeys = [k for k, f in info["features"].items() if f.get("dtype") == "video"]
99
+ for e in episodes:
100
+ i = e["episode_index"]
101
+ chunk = i // int(info["chunks_size"])
102
+ rel = info["data_path"].format(episode_chunk=chunk, episode_index=i)
103
+ (dst / rel).parent.mkdir(parents=True, exist_ok=True)
104
+ os.symlink(src / rel, dst / rel)
105
+ for k in vkeys:
106
+ relv = info["video_path"].format(episode_chunk=chunk, video_key=k, episode_index=i)
107
+ (dst / relv).parent.mkdir(parents=True, exist_ok=True)
108
+ os.symlink(src / relv, dst / relv)
109
+ if task in CONFIG:
110
+ # stats.py computes stats for every low-dim feature in info.json and cannot handle e.g. observation.tactile
111
+ # [10,24,24]; keep only what the H2 modality uses (parquet columns stay untouched behind the symlinks).
112
+ keep = {"observation.state", "observation.projected_gravity", "action.body_target", "action.hands",
113
+ "timestamp", "frame_index", "episode_index", "index", "task_index"}
114
+ keep |= {f"observation.images.{c}" for c in CAMS[task]}
115
+ info["features"] = {k: v for k, v in info["features"].items() if k in keep}
116
+ vkeys = [k for k in vkeys if k in keep]
117
+ stats = [{**s, "stats": {k: v for k, v in s["stats"].items() if k in keep}} if "stats" in s else s
118
+ for s in stats]
119
+ info.update(total_episodes=n, total_frames=frames, total_videos=n * len(vkeys),
120
+ total_chunks=(n - 1) // int(info["chunks_size"]) + 1, splits={"train": f"0:{n}"})
121
+ (dst / "meta/info.json").write_text(json.dumps(info, indent=2))
122
+ wl(dst / "meta/episodes.jsonl", episodes)
123
+ wl(dst / "meta/episodes_stats.jsonl", stats)
124
+ (dst / "meta/tasks.jsonl").write_text((src / "meta/tasks.jsonl").read_text())
125
+ if task in CONFIG:
126
+ modality = h2_modality(info, CAMS[task])
127
+ else:
128
+ state = {g: {"original_key": "observation.state", "start": idx[a], "end": idx[a] + (b - a)}
129
+ for g, (a, b) in GROUPS.items()}
130
+ state.update(left_hand={"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6},
131
+ right_hand={"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6},
132
+ projected_gravity={"original_key": "observation.projected_gravity", "start": 0, "end": 3})
133
+ modality = {"state": state,
134
+ "action": {"motion_token": {"original_key": "action.motion_token", "start": 0, "end": 64},
135
+ "left_hand_joints": {"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6},
136
+ "right_hand_joints": {"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6}},
137
+ "video": {"ego_view": {"original_key": "observation.images.ego_view"},
138
+ "chest": {"original_key": "observation.images.chest"}},
139
+ "annotation": {"human.task_description": {"original_key": "task_index"}}}
140
+ (dst / "meta/modality.json").write_text(json.dumps(modality, indent=2))
141
+ py = sys.executable
142
+ src_g = G / "HumanWAM/third_party/Isaac-GR00T"
143
+ env = dict(os.environ, PYTHONPATH=f"{src_g}:{H}")
144
+ done = None
145
+ for tag in ("NEW_EMBODIMENT", "new_embodiment"):
146
+ r = subprocess.run([py, str(src_g / "gr00t/data/stats.py"), "--dataset-path", str(dst), "--embodiment-tag", tag,
147
+ "--modality-config-path", str(H / CONFIG.get(task, "g1_feedback76_h16.py"))], env=env, cwd=src_g,
148
+ capture_output=True, text=True)
149
+ if r.returncode == 0:
150
+ done = tag
151
+ break
152
+ last = r.stdout[-1500:] + r.stderr[-1500:]
153
+ if done is None:
154
+ raise SystemExit(f"stats failed for {task}:\n{last}")
155
+ assert (dst / "meta/stats.json").is_file()
156
+ receipt = dict(task=task, source=str(src), episodes=n, frames=frames, video_keys=vkeys,
157
+ state_dim_raw=len(names), body_index=idx, stats_tag=done,
158
+ modality_sha256=hashlib.sha256((dst / "meta/modality.json").read_bytes()).hexdigest(),
159
+ stats_sha256=hashlib.sha256((dst / "meta/stats.json").read_bytes()).hexdigest())
160
+ (dst / "hb-dataset-receipt.json").write_text(json.dumps(receipt, indent=2) + "\n")
161
+ print("DATASET_OK", json.dumps(receipt)[:400], flush=True)
162
+
163
+
164
+ for t in sys.argv[1:]:
165
+ build(t)
c6-bathroom-door-fetch/b512/step-004000/code/hb_groot/verify_groot_cpu.py ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """CPU check of the GR00T data path for one task view: loader shapes, v2 augmentation, processor patch import."""
2
+ import json
3
+ import os
4
+ import sys
5
+ from pathlib import Path
6
+
7
+ import numpy as np
8
+ import torch
9
+
10
+ H = Path(__file__).resolve().parent
11
+ sys.path.insert(0, str(H))
12
+ os.environ["HB_PATCH_ONLY"] = "1"
13
+ import hb_launch # noqa: E402,F401 (applies the processor patch)
14
+ import hb_aug_v2 as A # noqa: E402
15
+ from gr00t.data.dataset.lerobot_episode_loader import LeRobotEpisodeLoader # noqa: E402
16
+ from gr00t.model.gr00t_n1d7.processing_gr00t_n1d7 import Gr00tN1d7Processor # noqa: E402
17
+
18
+ view = Path(sys.argv[1])
19
+ if view.name in ("a14", "a18", "a17"): # every H2 task: 3 cameras head + chest + wrist (user 2026-11-12)
20
+ import h2w3_body31_hand44_h16 as C # noqa: E402
21
+ cfg = C.h2w3_body31_hand44_h16
22
+ else:
23
+ import g1_feedback76_h16 as C # noqa: E402
24
+ cfg = C.feedback76_h16
25
+ loader = LeRobotEpisodeLoader(view, cfg)
26
+ df = loader[0]
27
+ cols = list(df.columns)
28
+ row = df.iloc[20]
29
+ out = {"episodes": len(loader), "columns": cols[:40], "rows_ep0": len(df)}
30
+ state_dims = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("state.")}
31
+ action_dims = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("action.")}
32
+ out.update(state_dims=state_dims, action_dims=action_dims, state_total=sum(state_dims.values()),
33
+ action_total=sum(action_dims.values()))
34
+ vids = [c for c in cols if c.startswith("video.")]
35
+ imgs = [np.asarray(row[c]) for c in vids]
36
+ out["video"] = {c: list(i.shape) for c, i in zip(vids, imgs)}
37
+ x = torch.stack([torch.from_numpy(i).permute(2, 0, 1).float().div(255) for i in imgs])[None]
38
+ rng = np.random.default_rng(0)
39
+ boosts = {}
40
+ for _ in range(60):
41
+ y, p = A.augment(x, rng)
42
+ boosts[p["boost"]] = boosts.get(p["boost"], 0) + 1
43
+ assert y.shape == x.shape and torch.isfinite(y).all() and float(y.min()) >= 0 and float(y.max()) <= 1
44
+ out["aug_boost_counts_60"] = boosts
45
+ out["mean_abs_change_last"] = round(float((y - x).abs().mean()), 4)
46
+ q = np.zeros((1, 29))
47
+ dq = A.perturb_joints(q, rng)
48
+ out["proprio_max_abs_deg"] = round(float(np.degrees(np.abs(dq).max())), 3)
49
+ out["patched"] = Gr00tN1d7Processor._get_vlm_inputs.__name__ == "_get_vlm_inputs" and \
50
+ Gr00tN1d7Processor.__call__.__module__ == "hb_launch"
51
+ print("CPU_VERIFY", json.dumps(out), flush=True)
c6-bathroom-door-fetch/b512/step-004000/config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_horizon": 40,
3
+ "add_pos_embed": true,
4
+ "apply_sincos_state_encoding": false,
5
+ "architectures": [
6
+ "Gr00tN1d7"
7
+ ],
8
+ "attn_dropout": 0.2,
9
+ "attn_implementation": null,
10
+ "backbone_embedding_dim": 2048,
11
+ "backbone_trainable_params_fp32": true,
12
+ "color_jitter_params": {
13
+ "brightness": 0.3,
14
+ "contrast": 0.4,
15
+ "hue": 0.08,
16
+ "saturation": 0.5
17
+ },
18
+ "crop_fraction": 0.95,
19
+ "diffusion_model_cfg": {
20
+ "attention_head_dim": 48,
21
+ "dropout": 0.2,
22
+ "final_dropout": true,
23
+ "interleave_self_attention": true,
24
+ "norm_type": "ada_norm",
25
+ "num_attention_heads": 32,
26
+ "num_layers": 32,
27
+ "output_dim": 1024,
28
+ "positional_embeddings": null
29
+ },
30
+ "dtype": "bfloat16",
31
+ "exclude_state": false,
32
+ "formalize_language": true,
33
+ "hidden_size": 1024,
34
+ "image_crop_size": [
35
+ 230,
36
+ 230
37
+ ],
38
+ "image_target_size": [
39
+ 256,
40
+ 256
41
+ ],
42
+ "letter_box_transform": false,
43
+ "load_bf16": false,
44
+ "max_action_dim": 132,
45
+ "max_num_embodiments": 32,
46
+ "max_seq_len": 1024,
47
+ "max_state_dim": 132,
48
+ "model_dtype": "bfloat16",
49
+ "model_name": "nvidia/Cosmos-Reason2-2B",
50
+ "model_type": "Gr00tN1d7",
51
+ "noise_beta_alpha": 1.5,
52
+ "noise_beta_beta": 1.0,
53
+ "noise_s": 0.999,
54
+ "num_inference_timesteps": 4,
55
+ "num_timestep_buckets": 1000,
56
+ "random_history_crop": true,
57
+ "random_rotation_angle": 0,
58
+ "reproject_vision": false,
59
+ "rtc_ramp_rate": 6.0,
60
+ "select_layer": 16,
61
+ "shortest_image_edge": 256,
62
+ "state_dropout_prob": 0.2,
63
+ "state_gaussian_noise_std": 0.0,
64
+ "strict_action_padding_mask": false,
65
+ "strict_vl_padding_mask": false,
66
+ "transformers_version": "4.57.3",
67
+ "tune_diffusion_model": true,
68
+ "tune_linear": true,
69
+ "tune_llm": true,
70
+ "tune_projector": true,
71
+ "tune_top_llm_layers": 0,
72
+ "tune_visual": true,
73
+ "tune_vlln": true,
74
+ "use_albumentations": true,
75
+ "use_alternate_vl_dit": true,
76
+ "use_flash_attention": true,
77
+ "use_future_tokens": false,
78
+ "use_mean_std": false,
79
+ "use_percentiles": true,
80
+ "use_vl_self_attention": true,
81
+ "use_vlln": true,
82
+ "vl_self_attention_cfg": {
83
+ "attention_head_dim": 64,
84
+ "dropout": 0.2,
85
+ "final_dropout": true,
86
+ "num_attention_heads": 32,
87
+ "num_layers": 4,
88
+ "positional_embeddings": null
89
+ }
90
+ }
c6-bathroom-door-fetch/b512/step-004000/dataset_meta/hb-dataset-receipt.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "c6",
3
+ "source": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/c6-bathroom-door-fetch-v1-3afba69/data",
4
+ "episodes": 100,
5
+ "frames": 221805,
6
+ "video_keys": [
7
+ "observation.images.ego_view",
8
+ "observation.images.chest"
9
+ ],
10
+ "state_dim_raw": 41,
11
+ "body_index": [
12
+ 0,
13
+ 1,
14
+ 2,
15
+ 3,
16
+ 4,
17
+ 5,
18
+ 6,
19
+ 7,
20
+ 8,
21
+ 9,
22
+ 10,
23
+ 11,
24
+ 12,
25
+ 13,
26
+ 14,
27
+ 15,
28
+ 16,
29
+ 17,
30
+ 18,
31
+ 19,
32
+ 20,
33
+ 21,
34
+ 22,
35
+ 23,
36
+ 24,
37
+ 25,
38
+ 26,
39
+ 27,
40
+ 28
41
+ ],
42
+ "stats_tag": "NEW_EMBODIMENT",
43
+ "modality_sha256": "aea724f383cf0aa4d74349163ac73ec7b1f6f30cf5a66efce0a12c50dfabf823",
44
+ "stats_sha256": "6db42c9586c298787511f81dead571172f8bb883a218c32b3db5b5e95439a8c8"
45
+ }
c6-bathroom-door-fetch/b512/step-004000/dataset_meta/modality.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "left_leg": {
4
+ "original_key": "observation.state",
5
+ "start": 0,
6
+ "end": 6
7
+ },
8
+ "right_leg": {
9
+ "original_key": "observation.state",
10
+ "start": 6,
11
+ "end": 12
12
+ },
13
+ "waist": {
14
+ "original_key": "observation.state",
15
+ "start": 12,
16
+ "end": 15
17
+ },
18
+ "left_arm": {
19
+ "original_key": "observation.state",
20
+ "start": 15,
21
+ "end": 22
22
+ },
23
+ "right_arm": {
24
+ "original_key": "observation.state",
25
+ "start": 22,
26
+ "end": 29
27
+ },
28
+ "left_hand": {
29
+ "original_key": "observation.inspire_left_hand_state",
30
+ "start": 0,
31
+ "end": 6
32
+ },
33
+ "right_hand": {
34
+ "original_key": "observation.inspire_right_hand_state",
35
+ "start": 0,
36
+ "end": 6
37
+ },
38
+ "projected_gravity": {
39
+ "original_key": "observation.projected_gravity",
40
+ "start": 0,
41
+ "end": 3
42
+ }
43
+ },
44
+ "action": {
45
+ "motion_token": {
46
+ "original_key": "action.motion_token",
47
+ "start": 0,
48
+ "end": 64
49
+ },
50
+ "left_hand_joints": {
51
+ "original_key": "observation.inspire_left_hand_state",
52
+ "start": 0,
53
+ "end": 6
54
+ },
55
+ "right_hand_joints": {
56
+ "original_key": "observation.inspire_right_hand_state",
57
+ "start": 0,
58
+ "end": 6
59
+ }
60
+ },
61
+ "video": {
62
+ "ego_view": {
63
+ "original_key": "observation.images.ego_view"
64
+ },
65
+ "chest": {
66
+ "original_key": "observation.images.chest"
67
+ }
68
+ },
69
+ "annotation": {
70
+ "human.task_description": {
71
+ "original_key": "task_index"
72
+ }
73
+ }
74
+ }
c6-bathroom-door-fetch/b512/step-004000/embodiment_id.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "robocasa_panda_omron": 13,
3
+ "oxe_droid": 17,
4
+ "oxe_fractal": 18,
5
+ "oxe_language_table": 19,
6
+ "oxe_bridge": 20,
7
+ "unknown": 22,
8
+ "gr1_unified": 20,
9
+ "agibot": 26,
10
+ "sim_behavior_r1_pro": 23,
11
+ "xdof": 24,
12
+ "xdof_oss_data": 25,
13
+ "unitree_g1_full_body_with_waist_height_nav_cmd": 25,
14
+ "real_r1_pro_sharpa": 27,
15
+ "real_r1_pro_sharpa_add_view": 27,
16
+ "real_r1_pro_sharpa_relative_arm_joint": 26,
17
+ "real_r1_pro_sharpa_delta_eef": 26,
18
+ "real_r1_pro_sharpa_absolute_eef": 26,
19
+ "real_r1_pro_sharpa_meanstd": 26,
20
+ "real_r1_pro_sharpa_relative_eef": 26,
21
+ "real_r1_pro_sharpa_relative_eef_add_view": 26,
22
+ "real_r1_pro_sharpa_relative_eef_relative_hand": 26,
23
+ "real_r1_pro_sharpa_relative_eef_human": 26,
24
+ "real_r1_pro_sharpa_relative_eef_human_add_view": 26,
25
+ "real_r1_pro_sharpa_relative_eef_human_relative_hand": 26,
26
+ "real_r1_pro_sharpa_relative_eef_egodex": 26,
27
+ "real_r1_pro_sharpa_relative_eef_egodex_relative_hand": 26,
28
+ "real_r1_pro_sharpa_relative_eef_egodex_wrist_only": 26,
29
+ "real_r1_pro_sharpa_relative_eef_maxinsights": 26,
30
+ "real_r1_pro_sharpa_relative_eef_maxinsights_relative_hand": 26,
31
+ "real_r1_pro_sharpa_relative_eef_mecka": 26,
32
+ "real_r1_pro_sharpa_relative_eef_mecka_relative_hand": 26,
33
+ "real_g1_relative_eef_absolute_joints": 25,
34
+ "real_g1_relative_eef_absolute_joints_wrist_cam": 25,
35
+ "real_g1_relative_eef_relative_joints": 25,
36
+ "real_r1_pro_sharpa_relative_eef_relative_hand_relative_joint": 26,
37
+ "real_r1_pro_sharpa_relative_joint": 29,
38
+ "oxe_droid_relative_eef_relative_joint": 24,
39
+ "oxe_droid_relative_eef_relative_joint_swapped": 24,
40
+ "oxe_droid_relative_eef_relative_joint_upweight_z": 24,
41
+ "oxe_droid_relative_eef_relative_joint_upweight_z_swapped": 24,
42
+ "oxe_droid_relative_eef_relative_joint_3view": 24,
43
+ "oxe_droid_relative_eef_relative_joint_3view_swapped": 24,
44
+ "oxe_droid_relative_eef": 24,
45
+ "oxe_droid_joint_position_relative": 24,
46
+ "xdof_relative_eef_relative_joint": 27,
47
+ "xdof_relative_eef_relative_joint_subtask": 27,
48
+ "xdof_relative_eef": 27,
49
+ "xdof_relative_joint": 28,
50
+ "simpler_env_google": 0,
51
+ "simpler_env_widowx": 1,
52
+ "libero_sim": 2,
53
+ "droid_sim": 3,
54
+ "new_embodiment": 10,
55
+ "robocasa_gr1_tabletop": 10,
56
+ "unitree_g1_sonic": 11
57
+ }
c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/conf.yaml ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ load_config_path: null
2
+ model:
3
+ model_type: Gr00tN1d7
4
+ model_dtype: bfloat16
5
+ model_name: nvidia/Cosmos-Reason2-2B
6
+ backbone_model_type: qwen
7
+ model_revision: null
8
+ tune_top_llm_layers: 0
9
+ backbone_embedding_dim: 2048
10
+ tune_llm: true
11
+ tune_visual: true
12
+ select_layer: 12
13
+ reproject_vision: false
14
+ use_flash_attention: true
15
+ load_bf16: false
16
+ backbone_trainable_params_fp32: true
17
+ image_crop_size:
18
+ - 230
19
+ - 230
20
+ image_target_size:
21
+ - 256
22
+ - 256
23
+ shortest_image_edge: null
24
+ crop_fraction: null
25
+ random_rotation_angle: null
26
+ color_jitter_params: null
27
+ use_albumentations_transforms: true
28
+ letter_box_transform: false
29
+ extra_augmentation_config: null
30
+ formalize_language: true
31
+ apply_sincos_state_encoding: false
32
+ use_percentiles: true
33
+ use_relative_action: true
34
+ max_state_dim: 132
35
+ max_action_dim: 132
36
+ action_horizon: 40
37
+ strict_action_padding_mask: null
38
+ hidden_size: 1024
39
+ input_embedding_dim: 1536
40
+ state_history_length: 1
41
+ add_pos_embed: true
42
+ attn_dropout: 0.2
43
+ use_vlln: true
44
+ strict_vl_padding_mask: null
45
+ max_seq_len: 1024
46
+ use_alternate_vl_dit: true
47
+ attend_text_every_n_blocks: 2
48
+ diffusion_model_cfg:
49
+ positional_embeddings: null
50
+ num_layers: 16
51
+ num_attention_heads: 32
52
+ attention_head_dim: 48
53
+ norm_type: ada_norm
54
+ dropout: 0.2
55
+ final_dropout: true
56
+ output_dim: 1024
57
+ interleave_self_attention: true
58
+ num_inference_timesteps: 4
59
+ noise_beta_alpha: 1.5
60
+ noise_beta_beta: 1.0
61
+ noise_s: 0.999
62
+ num_timestep_buckets: 1000
63
+ tune_projector: true
64
+ tune_diffusion_model: true
65
+ tune_vlln: true
66
+ state_dropout_prob: 0.2
67
+ exclude_state: false
68
+ use_mean_std: false
69
+ max_num_embodiments: 32
70
+ data:
71
+ datasets:
72
+ - dataset_paths:
73
+ - /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-data/c6
74
+ embodiment_tag: new_embodiment
75
+ mix_ratio: 1.0
76
+ dataset_type: physical_embodiment
77
+ val_dataset_path: null
78
+ modality_configs:
79
+ new_embodiment:
80
+ video:
81
+ delta_indices:
82
+ - 0
83
+ modality_keys:
84
+ - ego_view
85
+ - chest
86
+ sin_cos_embedding_keys: null
87
+ mean_std_embedding_keys: null
88
+ action_configs: null
89
+ state:
90
+ delta_indices:
91
+ - 0
92
+ modality_keys:
93
+ - left_leg
94
+ - right_leg
95
+ - waist
96
+ - left_arm
97
+ - right_arm
98
+ - left_hand
99
+ - right_hand
100
+ - projected_gravity
101
+ sin_cos_embedding_keys: null
102
+ mean_std_embedding_keys: null
103
+ action_configs: null
104
+ action:
105
+ delta_indices:
106
+ - 0
107
+ - 1
108
+ - 2
109
+ - 3
110
+ - 4
111
+ - 5
112
+ - 6
113
+ - 7
114
+ - 8
115
+ - 9
116
+ - 10
117
+ - 11
118
+ - 12
119
+ - 13
120
+ - 14
121
+ - 15
122
+ modality_keys:
123
+ - motion_token
124
+ - left_hand_joints
125
+ - right_hand_joints
126
+ sin_cos_embedding_keys: null
127
+ mean_std_embedding_keys: null
128
+ action_configs:
129
+ - rep: ABSOLUTE
130
+ type: NON_EEF
131
+ format: DEFAULT
132
+ state_key: null
133
+ - rep: ABSOLUTE
134
+ type: NON_EEF
135
+ format: DEFAULT
136
+ state_key: null
137
+ - rep: ABSOLUTE
138
+ type: NON_EEF
139
+ format: DEFAULT
140
+ state_key: null
141
+ language:
142
+ delta_indices:
143
+ - 0
144
+ modality_keys:
145
+ - annotation.human.task_description
146
+ sin_cos_embedding_keys: null
147
+ mean_std_embedding_keys: null
148
+ action_configs: null
149
+ download_cache: false
150
+ shard_size: 1024
151
+ episode_sampling_rate: 0.1
152
+ num_shards_per_epoch: 100000
153
+ ds_weights_alpha: null
154
+ override_pretraining_statistics: true
155
+ mode: single_turn
156
+ random_chop: 0.0
157
+ mock_dataset_mode: false
158
+ shuffle: true
159
+ seed: 42
160
+ multiprocessing_context: fork
161
+ allow_padding: false
162
+ subsample_ratio: 1.0
163
+ loader: fast
164
+ fast_loader:
165
+ decode_threads: 2
166
+ ffmpeg_threads: 1
167
+ shuffle_buffer: 0
168
+ min_fill: 0
169
+ image_crop_size:
170
+ - 244
171
+ - 244
172
+ image_target_size:
173
+ - 224
174
+ - 224
175
+ training:
176
+ output_dir: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-runs-ft512/c6/production
177
+ experiment_name: null
178
+ max_steps: 8000
179
+ global_batch_size: 256
180
+ per_gpu_batch_size: null
181
+ gradient_accumulation_steps: 2
182
+ learning_rate: 0.0001
183
+ lr_scheduler_type: cosine
184
+ weight_decay: 1.0e-05
185
+ warmup_ratio: 0.05
186
+ warmup_steps: 0
187
+ max_grad_norm: 1.0
188
+ optim: adamw_torch
189
+ start_from_checkpoint: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/models/groot-n17-base
190
+ skip_weight_loading: false
191
+ tf32: true
192
+ fp16: false
193
+ bf16: true
194
+ eval_bf16: true
195
+ logging_steps: 10
196
+ save_steps: 500
197
+ save_total_limit: 9
198
+ save_vl_model: false
199
+ save_only_model: false
200
+ resume_from_checkpoint: false
201
+ upload_checkpoints: false
202
+ upload_every: 1000
203
+ upload_last_n_checkpoints: 5
204
+ max_concurrent_uploads: 2
205
+ eval_strategy: 'no'
206
+ eval_steps: 500
207
+ eval_set_split_ratio: 0.1
208
+ eval_batch_size: 2
209
+ save_best_eval_metric_name: ''
210
+ save_best_eval_metric_greater_is_better: true
211
+ deepspeed_stage: 2
212
+ gradient_checkpointing: false
213
+ transformers_trust_remote_code: true
214
+ transformers_local_files_only: false
215
+ transformers_cache_dir: null
216
+ transformers_access_token: null
217
+ use_ddp: false
218
+ ddp_bucket_cap_mb: 100
219
+ num_gpus: 32
220
+ dataloader_num_workers: 8
221
+ remove_unused_columns: false
222
+ use_wandb: false
223
+ wandb_project: finetune-gr00t-n1d7
224
+ enable_profiling: false
225
+ max_retries: 3
226
+ assert_loss_less_than: null
227
+ add_rl_callback: false
228
+ enable_open_loop_eval: false
229
+ open_loop_eval_traj_ids:
230
+ - 0
231
+ open_loop_eval_steps_per_traj: 100
232
+ open_loop_eval_plot_indices: null
233
+ max_steps: 8000
234
+ save_steps: 500
c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/config.yaml ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ load_config_path: null
2
+ model:
3
+ model_type: Gr00tN1d7
4
+ model_dtype: bfloat16
5
+ model_name: nvidia/Cosmos-Reason2-2B
6
+ backbone_model_type: qwen
7
+ model_revision: null
8
+ tune_top_llm_layers: 0
9
+ backbone_embedding_dim: 2048
10
+ tune_llm: true
11
+ tune_visual: true
12
+ select_layer: 12
13
+ reproject_vision: false
14
+ use_flash_attention: true
15
+ load_bf16: false
16
+ backbone_trainable_params_fp32: true
17
+ image_crop_size:
18
+ - 230
19
+ - 230
20
+ image_target_size:
21
+ - 256
22
+ - 256
23
+ shortest_image_edge: null
24
+ crop_fraction: null
25
+ random_rotation_angle: null
26
+ color_jitter_params: null
27
+ use_albumentations_transforms: true
28
+ letter_box_transform: false
29
+ extra_augmentation_config: null
30
+ formalize_language: true
31
+ apply_sincos_state_encoding: false
32
+ use_percentiles: true
33
+ use_relative_action: true
34
+ max_state_dim: 132
35
+ max_action_dim: 132
36
+ action_horizon: 40
37
+ strict_action_padding_mask: null
38
+ hidden_size: 1024
39
+ input_embedding_dim: 1536
40
+ state_history_length: 1
41
+ add_pos_embed: true
42
+ attn_dropout: 0.2
43
+ use_vlln: true
44
+ strict_vl_padding_mask: null
45
+ max_seq_len: 1024
46
+ use_alternate_vl_dit: true
47
+ attend_text_every_n_blocks: 2
48
+ diffusion_model_cfg:
49
+ positional_embeddings: null
50
+ num_layers: 16
51
+ num_attention_heads: 32
52
+ attention_head_dim: 48
53
+ norm_type: ada_norm
54
+ dropout: 0.2
55
+ final_dropout: true
56
+ output_dim: 1024
57
+ interleave_self_attention: true
58
+ num_inference_timesteps: 4
59
+ noise_beta_alpha: 1.5
60
+ noise_beta_beta: 1.0
61
+ noise_s: 0.999
62
+ num_timestep_buckets: 1000
63
+ tune_projector: true
64
+ tune_diffusion_model: true
65
+ tune_vlln: true
66
+ state_dropout_prob: 0.2
67
+ exclude_state: false
68
+ use_mean_std: false
69
+ max_num_embodiments: 32
70
+ data:
71
+ datasets:
72
+ - dataset_paths:
73
+ - /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-data/c6
74
+ embodiment_tag: new_embodiment
75
+ mix_ratio: 1.0
76
+ dataset_type: physical_embodiment
77
+ val_dataset_path: null
78
+ modality_configs:
79
+ new_embodiment:
80
+ video:
81
+ delta_indices:
82
+ - 0
83
+ modality_keys:
84
+ - ego_view
85
+ - chest
86
+ sin_cos_embedding_keys: null
87
+ mean_std_embedding_keys: null
88
+ action_configs: null
89
+ state:
90
+ delta_indices:
91
+ - 0
92
+ modality_keys:
93
+ - left_leg
94
+ - right_leg
95
+ - waist
96
+ - left_arm
97
+ - right_arm
98
+ - left_hand
99
+ - right_hand
100
+ - projected_gravity
101
+ sin_cos_embedding_keys: null
102
+ mean_std_embedding_keys: null
103
+ action_configs: null
104
+ action:
105
+ delta_indices:
106
+ - 0
107
+ - 1
108
+ - 2
109
+ - 3
110
+ - 4
111
+ - 5
112
+ - 6
113
+ - 7
114
+ - 8
115
+ - 9
116
+ - 10
117
+ - 11
118
+ - 12
119
+ - 13
120
+ - 14
121
+ - 15
122
+ modality_keys:
123
+ - motion_token
124
+ - left_hand_joints
125
+ - right_hand_joints
126
+ sin_cos_embedding_keys: null
127
+ mean_std_embedding_keys: null
128
+ action_configs:
129
+ - rep: absolute
130
+ type: non_eef
131
+ format: default
132
+ state_key: null
133
+ - rep: absolute
134
+ type: non_eef
135
+ format: default
136
+ state_key: null
137
+ - rep: absolute
138
+ type: non_eef
139
+ format: default
140
+ state_key: null
141
+ language:
142
+ delta_indices:
143
+ - 0
144
+ modality_keys:
145
+ - annotation.human.task_description
146
+ sin_cos_embedding_keys: null
147
+ mean_std_embedding_keys: null
148
+ action_configs: null
149
+ download_cache: false
150
+ shard_size: 1024
151
+ episode_sampling_rate: 0.1
152
+ num_shards_per_epoch: 100000
153
+ ds_weights_alpha: null
154
+ override_pretraining_statistics: true
155
+ mode: single_turn
156
+ random_chop: 0.0
157
+ mock_dataset_mode: false
158
+ shuffle: true
159
+ seed: 42
160
+ multiprocessing_context: fork
161
+ allow_padding: false
162
+ subsample_ratio: 1.0
163
+ loader: fast
164
+ fast_loader:
165
+ decode_threads: 2
166
+ ffmpeg_threads: 1
167
+ shuffle_buffer: 0
168
+ min_fill: 0
169
+ image_crop_size:
170
+ - 244
171
+ - 244
172
+ image_target_size:
173
+ - 224
174
+ - 224
175
+ training:
176
+ output_dir: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-runs-ft512/c6/production
177
+ experiment_name: null
178
+ max_steps: 8000
179
+ global_batch_size: 256
180
+ per_gpu_batch_size: null
181
+ gradient_accumulation_steps: 2
182
+ learning_rate: 0.0001
183
+ lr_scheduler_type: cosine
184
+ weight_decay: 1.0e-05
185
+ warmup_ratio: 0.05
186
+ warmup_steps: 0
187
+ max_grad_norm: 1.0
188
+ optim: adamw_torch
189
+ start_from_checkpoint: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/models/groot-n17-base
190
+ skip_weight_loading: false
191
+ tf32: true
192
+ fp16: false
193
+ bf16: true
194
+ eval_bf16: true
195
+ logging_steps: 10
196
+ save_steps: 500
197
+ save_total_limit: 9
198
+ save_vl_model: false
199
+ save_only_model: false
200
+ resume_from_checkpoint: false
201
+ upload_checkpoints: false
202
+ upload_every: 1000
203
+ upload_last_n_checkpoints: 5
204
+ max_concurrent_uploads: 2
205
+ eval_strategy: 'no'
206
+ eval_steps: 500
207
+ eval_set_split_ratio: 0.1
208
+ eval_batch_size: 2
209
+ save_best_eval_metric_name: ''
210
+ save_best_eval_metric_greater_is_better: true
211
+ deepspeed_stage: 2
212
+ gradient_checkpointing: false
213
+ transformers_trust_remote_code: true
214
+ transformers_local_files_only: false
215
+ transformers_cache_dir: null
216
+ transformers_access_token: null
217
+ use_ddp: false
218
+ ddp_bucket_cap_mb: 100
219
+ num_gpus: 32
220
+ dataloader_num_workers: 8
221
+ remove_unused_columns: false
222
+ use_wandb: false
223
+ wandb_project: finetune-gr00t-n1d7
224
+ enable_profiling: false
225
+ max_retries: 3
226
+ assert_loss_less_than: null
227
+ add_rl_callback: false
228
+ enable_open_loop_eval: false
229
+ open_loop_eval_traj_ids:
230
+ - 0
231
+ open_loop_eval_steps_per_traj: 100
232
+ open_loop_eval_plot_indices: null
c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/dataset_statistics.json ADDED
@@ -0,0 +1,883 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "new_embodiment": {
3
+ "state": {
4
+ "left_leg": {
5
+ "min": [
6
+ -0.4785136878490448,
7
+ -0.2918507158756256,
8
+ -0.6313007473945618,
9
+ 0.010540603660047054,
10
+ -0.6188291907310486,
11
+ -0.206183522939682
12
+ ],
13
+ "max": [
14
+ 0.3491908311843872,
15
+ 0.4217258095741272,
16
+ 1.0434117317199707,
17
+ 1.2800570726394653,
18
+ 0.3779217004776001,
19
+ 0.21826599538326263
20
+ ],
21
+ "mean": [
22
+ -0.09819258749485016,
23
+ 0.07544288784265518,
24
+ 0.11681321263313293,
25
+ 0.3013545870780945,
26
+ -0.11470521986484528,
27
+ -0.01727166958153248
28
+ ],
29
+ "std": [
30
+ 0.12663348019123077,
31
+ 0.08195875585079193,
32
+ 0.11474999040365219,
33
+ 0.20646125078201294,
34
+ 0.11257362365722656,
35
+ 0.05912202224135399
36
+ ],
37
+ "q01": [
38
+ -0.37483933329582214,
39
+ -0.12298969686031341,
40
+ -0.15569113552570343,
41
+ 0.13657819986343384,
42
+ -0.3899055337905884,
43
+ -0.13645741164684297
44
+ ],
45
+ "q99": [
46
+ 0.19294546306133264,
47
+ 0.2474056810140606,
48
+ 0.4429215574264521,
49
+ 1.1049808788299555,
50
+ 0.09607191324233998,
51
+ 0.10511334985494601
52
+ ]
53
+ },
54
+ "right_leg": {
55
+ "min": [
56
+ -0.5057681798934937,
57
+ -0.5448390245437622,
58
+ -1.3572803735733032,
59
+ 0.06141653656959534,
60
+ -0.632612943649292,
61
+ -0.18811775743961334
62
+ ],
63
+ "max": [
64
+ 0.29021698236465454,
65
+ 0.27317020297050476,
66
+ 0.7898722290992737,
67
+ 1.206057071685791,
68
+ 0.3160344362258911,
69
+ 0.17116543650627136
70
+ ],
71
+ "mean": [
72
+ -0.05244928225874901,
73
+ -0.0973229855298996,
74
+ -0.3890450894832611,
75
+ 0.28066104650497437,
76
+ -0.14025633037090302,
77
+ -0.008033274672925472
78
+ ],
79
+ "std": [
80
+ 0.14020821452140808,
81
+ 0.07615572214126587,
82
+ 0.2367052137851715,
83
+ 0.18736761808395386,
84
+ 0.0934181809425354,
85
+ 0.04887722432613373
86
+ ],
87
+ "q01": [
88
+ -0.40026607990264895,
89
+ -0.259296293258667,
90
+ -0.8995867514610291,
91
+ 0.1328939527273178,
92
+ -0.36449979662895204,
93
+ -0.11489669919013977
94
+ ],
95
+ "q99": [
96
+ 0.17577122867107386,
97
+ 0.13777596414089194,
98
+ 0.1872643685340881,
99
+ 1.049287176132202,
100
+ 0.07367992281913756,
101
+ 0.09640679776668548
102
+ ]
103
+ },
104
+ "waist": {
105
+ "min": [
106
+ -0.4826902449131012,
107
+ -0.1625950038433075,
108
+ 0.007602782920002937
109
+ ],
110
+ "max": [
111
+ 0.37076523900032043,
112
+ 0.07867750525474548,
113
+ 0.21746867895126343
114
+ ],
115
+ "mean": [
116
+ -0.04686953127384186,
117
+ -0.0021954660769551992,
118
+ 0.14370198547840118
119
+ ],
120
+ "std": [
121
+ 0.06225719675421715,
122
+ 0.021201301366090775,
123
+ 0.01854829303920269
124
+ ],
125
+ "q01": [
126
+ -0.1867198932170868,
127
+ -0.05133456826210022,
128
+ 0.08262025237083435
129
+ ],
130
+ "q99": [
131
+ 0.095388787984848,
132
+ 0.04513582125306128,
133
+ 0.17983700215816495
134
+ ]
135
+ },
136
+ "left_arm": {
137
+ "min": [
138
+ -0.34218186140060425,
139
+ -0.17220376431941986,
140
+ -1.1816155910491943,
141
+ 0.45463860034942627,
142
+ -0.7760087251663208,
143
+ -0.42926889657974243,
144
+ -0.4806421995162964
145
+ ],
146
+ "max": [
147
+ 0.4394499361515045,
148
+ 0.395841121673584,
149
+ -0.09651299566030502,
150
+ 1.3289127349853516,
151
+ 0.18888872861862183,
152
+ 0.1591426283121109,
153
+ 0.5067278146743774
154
+ ],
155
+ "mean": [
156
+ -0.11364282667636871,
157
+ 0.11475001275539398,
158
+ -0.6012120246887207,
159
+ 1.0332186222076416,
160
+ -0.08136407285928726,
161
+ -0.010364324785768986,
162
+ 0.04154585674405098
163
+ ],
164
+ "std": [
165
+ 0.055622633546590805,
166
+ 0.042779337614774704,
167
+ 0.12426868826150894,
168
+ 0.06707596033811528,
169
+ 0.07843596488237381,
170
+ 0.0419323705136776,
171
+ 0.03808686137199402
172
+ ],
173
+ "q01": [
174
+ -0.24149641692638396,
175
+ 0.03866889238357544,
176
+ -0.9198800373077393,
177
+ 0.9079521274566651,
178
+ -0.27555797934532167,
179
+ -0.127785826921463,
180
+ -0.05107202395796776
181
+ ],
182
+ "q99": [
183
+ 0.008396670185029471,
184
+ 0.26474841594696036,
185
+ -0.3445832228660588,
186
+ 1.20537353515625,
187
+ 0.08861226797103881,
188
+ 0.07466056495904921,
189
+ 0.1250176393985748
190
+ ]
191
+ },
192
+ "right_arm": {
193
+ "min": [
194
+ -1.9729524850845337,
195
+ -2.032991647720337,
196
+ -0.31683599948883057,
197
+ -0.9346699118614197,
198
+ -1.8513656854629517,
199
+ -0.8266168236732483,
200
+ -1.052769422531128
201
+ ],
202
+ "max": [
203
+ 1.627657413482666,
204
+ 0.16204199194908142,
205
+ 1.8939049243927002,
206
+ 1.5688329935073853,
207
+ 1.6792714595794678,
208
+ 0.9115577936172485,
209
+ 1.1792489290237427
210
+ ],
211
+ "mean": [
212
+ -0.0506708100438118,
213
+ -0.469869464635849,
214
+ 0.46301957964897156,
215
+ -0.08993806689977646,
216
+ 0.0828937292098999,
217
+ 0.10460465401411057,
218
+ -0.08551113307476044
219
+ ],
220
+ "std": [
221
+ 0.39518874883651733,
222
+ 0.3694792687892914,
223
+ 0.35081836581230164,
224
+ 0.780928909778595,
225
+ 0.5852335691452026,
226
+ 0.20113025605678558,
227
+ 0.24567994475364685
228
+ ],
229
+ "q01": [
230
+ -1.2982357120513917,
231
+ -1.723033480644226,
232
+ -0.05588918775320054,
233
+ -0.8578749203681946,
234
+ -1.5541837120056152,
235
+ -0.5743140721321106,
236
+ -0.5639328932762147
237
+ ],
238
+ "q99": [
239
+ 0.7831437516212455,
240
+ 0.04176102608442296,
241
+ 1.4322336149215698,
242
+ 1.247391700744628,
243
+ 1.0657319211959837,
244
+ 0.4018059158325195,
245
+ 0.71763419151306
246
+ ]
247
+ },
248
+ "left_hand": {
249
+ "min": [
250
+ 0.9969565868377686,
251
+ 0.9992091655731201,
252
+ 0.9935436844825745,
253
+ 0.9582553505897522,
254
+ 0.8700727224349976,
255
+ 0.0
256
+ ],
257
+ "max": [
258
+ 1.0,
259
+ 1.0,
260
+ 1.0,
261
+ 1.0,
262
+ 1.0,
263
+ 1.0
264
+ ],
265
+ "mean": [
266
+ 0.9999999403953552,
267
+ 1.0,
268
+ 1.0,
269
+ 0.9999901652336121,
270
+ 0.9991204738616943,
271
+ 0.9334041476249695
272
+ ],
273
+ "std": [
274
+ 1.6514097184330978e-05,
275
+ 1.6039554811767194e-05,
276
+ 3.130664815030056e-05,
277
+ 0.00033806028652347557,
278
+ 0.0019244696013520704,
279
+ 0.24276891350746155
280
+ ],
281
+ "q01": [
282
+ 0.9999575614929199,
283
+ 0.9999467730522156,
284
+ 0.9999411106109619,
285
+ 0.999931275844574,
286
+ 0.9973517060279846,
287
+ 0.0
288
+ ],
289
+ "q99": [
290
+ 1.0,
291
+ 1.0,
292
+ 1.0,
293
+ 1.0,
294
+ 0.9996138215065002,
295
+ 1.0
296
+ ]
297
+ },
298
+ "right_hand": {
299
+ "min": [
300
+ 0.3226946294307709,
301
+ 0.6517601609230042,
302
+ 0.6507593989372253,
303
+ 0.506548285484314,
304
+ 0.4324777126312256,
305
+ 0.0
306
+ ],
307
+ "max": [
308
+ 1.0,
309
+ 1.0,
310
+ 1.0,
311
+ 1.0,
312
+ 1.0,
313
+ 1.0
314
+ ],
315
+ "mean": [
316
+ 0.8714392781257629,
317
+ 0.8772875070571899,
318
+ 0.8814314007759094,
319
+ 0.8773547410964966,
320
+ 0.9464673399925232,
321
+ 0.343583881855011
322
+ ],
323
+ "std": [
324
+ 0.13676515221595764,
325
+ 0.1305650770664215,
326
+ 0.1265411376953125,
327
+ 0.133805513381958,
328
+ 0.057199262082576266,
329
+ 0.46949049830436707
330
+ ],
331
+ "q01": [
332
+ 0.662733793258667,
333
+ 0.6754913330078125,
334
+ 0.6838080883026123,
335
+ 0.5842239856719971,
336
+ 0.8169243931770325,
337
+ 0.0
338
+ ],
339
+ "q99": [
340
+ 1.0,
341
+ 1.0,
342
+ 1.0,
343
+ 1.0,
344
+ 1.0,
345
+ 1.0
346
+ ]
347
+ },
348
+ "projected_gravity": {
349
+ "min": [
350
+ -0.23671554028987885,
351
+ -0.17860174179077148,
352
+ -1.0
353
+ ],
354
+ "max": [
355
+ 0.14903132617473602,
356
+ 0.1711718887090683,
357
+ -0.963162899017334
358
+ ],
359
+ "mean": [
360
+ -0.037638310343027115,
361
+ 0.004948244895786047,
362
+ -0.9994713664054871
363
+ ],
364
+ "std": [
365
+ 0.02850433997809887,
366
+ 0.017658812925219536,
367
+ 0.0017562116263516979
368
+ ],
369
+ "q01": [
370
+ -0.1162533575296402,
371
+ -0.04250865131616592,
372
+ -0.9999839067459106
373
+ ],
374
+ "q99": [
375
+ 0.014045437313616243,
376
+ 0.042780922800302504,
377
+ -0.9928991365432739
378
+ ]
379
+ }
380
+ },
381
+ "action": {
382
+ "motion_token": {
383
+ "min": [
384
+ -0.25,
385
+ -0.5625,
386
+ -0.8125,
387
+ -0.5,
388
+ -0.5625,
389
+ -0.4375,
390
+ -0.875,
391
+ -0.5,
392
+ -0.5,
393
+ -0.375,
394
+ -0.6875,
395
+ -0.3125,
396
+ -0.3125,
397
+ -0.6875,
398
+ -0.25,
399
+ -0.5,
400
+ -0.4375,
401
+ -0.375,
402
+ -0.6875,
403
+ -0.5625,
404
+ -0.375,
405
+ -0.625,
406
+ -0.5625,
407
+ -0.4375,
408
+ -0.5,
409
+ -0.5,
410
+ -0.375,
411
+ -0.5625,
412
+ -0.625,
413
+ -0.4375,
414
+ -0.75,
415
+ -0.375,
416
+ -0.375,
417
+ -0.3125,
418
+ 0.0,
419
+ -0.625,
420
+ -0.375,
421
+ -0.5,
422
+ -0.25,
423
+ -0.3125,
424
+ -0.5,
425
+ -0.3125,
426
+ -0.5625,
427
+ -0.3125,
428
+ -0.5,
429
+ -0.5625,
430
+ -0.3125,
431
+ -0.4375,
432
+ -0.5,
433
+ -0.5625,
434
+ -0.375,
435
+ -0.3125,
436
+ -0.625,
437
+ -0.8125,
438
+ -0.125,
439
+ -0.5625,
440
+ -0.5625,
441
+ -0.25,
442
+ -0.8125,
443
+ -0.5625,
444
+ -0.75,
445
+ -0.25,
446
+ -0.5,
447
+ -0.75
448
+ ],
449
+ "max": [
450
+ 0.5,
451
+ 0.375,
452
+ 0.3125,
453
+ 0.1875,
454
+ 0.5,
455
+ 0.5625,
456
+ 0.3125,
457
+ 0.25,
458
+ 0.5,
459
+ 0.0625,
460
+ 0.25,
461
+ 0.375,
462
+ 0.5,
463
+ 0.375,
464
+ 0.6875,
465
+ 0.4375,
466
+ 0.375,
467
+ 0.875,
468
+ 0.25,
469
+ 0.375,
470
+ 0.5,
471
+ 0.875,
472
+ 0.25,
473
+ 0.5,
474
+ 0.125,
475
+ 0.4375,
476
+ 0.25,
477
+ 0.625,
478
+ 0.375,
479
+ 0.4375,
480
+ 0.5,
481
+ 0.5625,
482
+ 0.3125,
483
+ 0.5,
484
+ 0.375,
485
+ 0.375,
486
+ 0.5,
487
+ 0.375,
488
+ 0.5,
489
+ 0.3125,
490
+ 0.125,
491
+ 0.5625,
492
+ 0.3125,
493
+ 0.625,
494
+ 0.375,
495
+ 0.5625,
496
+ 0.5625,
497
+ 0.5625,
498
+ 0.5625,
499
+ 0.75,
500
+ 0.5,
501
+ 0.5,
502
+ 0.625,
503
+ 0.125,
504
+ 0.375,
505
+ 0.5625,
506
+ 0.5625,
507
+ 0.375,
508
+ 0.3125,
509
+ 0.1875,
510
+ 0.3125,
511
+ 0.625,
512
+ 0.4375,
513
+ 0.625
514
+ ],
515
+ "mean": [
516
+ 0.20123250782489777,
517
+ -0.06108349561691284,
518
+ -0.13629314303398132,
519
+ -0.11174821108579636,
520
+ -0.0617947056889534,
521
+ -0.03456442430615425,
522
+ -0.23015177249908447,
523
+ -0.07462213188409805,
524
+ -0.13322512805461884,
525
+ -0.1472058743238449,
526
+ -0.2083454430103302,
527
+ -0.030868612229824066,
528
+ 0.17468158900737762,
529
+ 0.001839171745814383,
530
+ 0.27572304010391235,
531
+ -0.11888454854488373,
532
+ -0.07486164569854736,
533
+ 0.21201646327972412,
534
+ -0.2586325705051422,
535
+ 0.08421333134174347,
536
+ -0.052575740963220596,
537
+ -0.01832437328994274,
538
+ -0.08497244119644165,
539
+ 0.0031559253111481667,
540
+ -0.18636076152324677,
541
+ 0.11712878197431564,
542
+ -0.19862154126167297,
543
+ 0.05863145738840103,
544
+ -0.04054772108793259,
545
+ -0.06300072371959686,
546
+ 0.08952739834785461,
547
+ 0.1475200653076172,
548
+ -0.07134870439767838,
549
+ 0.1829630732536316,
550
+ 0.20171518623828888,
551
+ -0.060423288494348526,
552
+ 0.0014531344641000032,
553
+ -0.1303994506597519,
554
+ 0.029821520671248436,
555
+ 0.026329997926950455,
556
+ -0.27272436022758484,
557
+ 0.08784180134534836,
558
+ -0.09276870638132095,
559
+ 0.09279575198888779,
560
+ -0.08412851393222809,
561
+ 0.1084708422422409,
562
+ 0.17423243820667267,
563
+ 0.07643622905015945,
564
+ 0.051161494106054306,
565
+ -0.09909097850322723,
566
+ 0.08915404230356216,
567
+ 0.015397533774375916,
568
+ 0.017366042360663414,
569
+ -0.29031383991241455,
570
+ 0.11175469309091568,
571
+ 0.0816967636346817,
572
+ 0.11544036120176315,
573
+ 0.008970999158918858,
574
+ -0.10728567838668823,
575
+ -0.27102887630462646,
576
+ -0.14623092114925385,
577
+ 0.2619679868221283,
578
+ 0.012647370807826519,
579
+ 0.21814939379692078
580
+ ],
581
+ "std": [
582
+ 0.11357352882623672,
583
+ 0.18292704224586487,
584
+ 0.137363463640213,
585
+ 0.10977763682603836,
586
+ 0.1531764566898346,
587
+ 0.1585584282875061,
588
+ 0.1735132783651352,
589
+ 0.11793339252471924,
590
+ 0.12976311147212982,
591
+ 0.07610169798135757,
592
+ 0.11690033227205276,
593
+ 0.11314540356397629,
594
+ 0.11649427562952042,
595
+ 0.1660083532333374,
596
+ 0.10482712090015411,
597
+ 0.14850248396396637,
598
+ 0.1124672070145607,
599
+ 0.21744157373905182,
600
+ 0.12219816446304321,
601
+ 0.12046979367733002,
602
+ 0.14292262494564056,
603
+ 0.16726306080818176,
604
+ 0.11711526662111282,
605
+ 0.16131815314292908,
606
+ 0.10909572243690491,
607
+ 0.11637136340141296,
608
+ 0.061326783150434494,
609
+ 0.16990187764167786,
610
+ 0.14242008328437805,
611
+ 0.12174104899168015,
612
+ 0.1446765810251236,
613
+ 0.11699987947940826,
614
+ 0.10756910592317581,
615
+ 0.1349058449268341,
616
+ 0.05582008510828018,
617
+ 0.13805602490901947,
618
+ 0.11933916062116623,
619
+ 0.12959054112434387,
620
+ 0.126656636595726,
621
+ 0.09817667305469513,
622
+ 0.08382254838943481,
623
+ 0.13038833439350128,
624
+ 0.1117633655667305,
625
+ 0.18998436629772186,
626
+ 0.11860442161560059,
627
+ 0.18650341033935547,
628
+ 0.1316465437412262,
629
+ 0.15947967767715454,
630
+ 0.21038147807121277,
631
+ 0.16498221457004547,
632
+ 0.12202334403991699,
633
+ 0.11526203900575638,
634
+ 0.2124725729227066,
635
+ 0.1205543503165245,
636
+ 0.0893925204873085,
637
+ 0.1775791347026825,
638
+ 0.18474112451076508,
639
+ 0.08824773877859116,
640
+ 0.1889493614435196,
641
+ 0.12660875916481018,
642
+ 0.1821260005235672,
643
+ 0.14378641545772552,
644
+ 0.15782058238983154,
645
+ 0.14657767117023468
646
+ ],
647
+ "q01": [
648
+ -0.0625,
649
+ -0.5,
650
+ -0.5,
651
+ -0.375,
652
+ -0.375,
653
+ -0.3125,
654
+ -0.5,
655
+ -0.375,
656
+ -0.4375,
657
+ -0.375,
658
+ -0.5,
659
+ -0.25,
660
+ -0.125,
661
+ -0.375,
662
+ -0.0625,
663
+ -0.375,
664
+ -0.3125,
665
+ -0.25,
666
+ -0.5,
667
+ -0.1875,
668
+ -0.3125,
669
+ -0.5,
670
+ -0.3125,
671
+ -0.25,
672
+ -0.4375,
673
+ -0.125,
674
+ -0.375,
675
+ -0.4375,
676
+ -0.3125,
677
+ -0.375,
678
+ -0.25,
679
+ -0.125,
680
+ -0.3125,
681
+ -0.125,
682
+ 0.0625,
683
+ -0.5,
684
+ -0.25,
685
+ -0.4375,
686
+ -0.1875,
687
+ -0.25,
688
+ -0.4375,
689
+ -0.1875,
690
+ -0.3125,
691
+ -0.1875,
692
+ -0.3125,
693
+ -0.3125,
694
+ -0.125,
695
+ -0.3125,
696
+ -0.25,
697
+ -0.5,
698
+ -0.1875,
699
+ -0.25,
700
+ -0.5,
701
+ -0.5,
702
+ -0.0625,
703
+ -0.375,
704
+ -0.375,
705
+ -0.1875,
706
+ -0.5,
707
+ -0.5,
708
+ -0.625,
709
+ -0.125,
710
+ -0.3125,
711
+ -0.0625
712
+ ],
713
+ "q99": [
714
+ 0.375,
715
+ 0.25,
716
+ 0.1875,
717
+ 0.125,
718
+ 0.3125,
719
+ 0.3125,
720
+ 0.1875,
721
+ 0.1875,
722
+ 0.1875,
723
+ 0.0,
724
+ 0.0625,
725
+ 0.3125,
726
+ 0.4375,
727
+ 0.3125,
728
+ 0.4375,
729
+ 0.25,
730
+ 0.25,
731
+ 0.5625,
732
+ 0.0,
733
+ 0.3125,
734
+ 0.375,
735
+ 0.375,
736
+ 0.125,
737
+ 0.375,
738
+ 0.0,
739
+ 0.375,
740
+ -0.0625,
741
+ 0.375,
742
+ 0.25,
743
+ 0.1875,
744
+ 0.375,
745
+ 0.4375,
746
+ 0.1875,
747
+ 0.4375,
748
+ 0.3125,
749
+ 0.125,
750
+ 0.375,
751
+ 0.125,
752
+ 0.375,
753
+ 0.25,
754
+ -0.0625,
755
+ 0.375,
756
+ 0.125,
757
+ 0.625,
758
+ 0.1875,
759
+ 0.5,
760
+ 0.5,
761
+ 0.375,
762
+ 0.5,
763
+ 0.3125,
764
+ 0.375,
765
+ 0.25,
766
+ 0.5,
767
+ 0.0,
768
+ 0.3125,
769
+ 0.375,
770
+ 0.5,
771
+ 0.1875,
772
+ 0.25,
773
+ 0.0625,
774
+ 0.1875,
775
+ 0.5625,
776
+ 0.3125,
777
+ 0.625
778
+ ]
779
+ },
780
+ "left_hand_joints": {
781
+ "min": [
782
+ 0.9969565868377686,
783
+ 0.9992091655731201,
784
+ 0.9935436844825745,
785
+ 0.9582553505897522,
786
+ 0.8700727224349976,
787
+ 0.0
788
+ ],
789
+ "max": [
790
+ 1.0,
791
+ 1.0,
792
+ 1.0,
793
+ 1.0,
794
+ 1.0,
795
+ 1.0
796
+ ],
797
+ "mean": [
798
+ 0.9999999403953552,
799
+ 1.0,
800
+ 1.0,
801
+ 0.9999901652336121,
802
+ 0.9991204738616943,
803
+ 0.9334041476249695
804
+ ],
805
+ "std": [
806
+ 1.6514097184330978e-05,
807
+ 1.6039554811767194e-05,
808
+ 3.130664815030056e-05,
809
+ 0.00033806028652347557,
810
+ 0.0019244696013520704,
811
+ 0.24276891350746155
812
+ ],
813
+ "q01": [
814
+ 0.9999575614929199,
815
+ 0.9999467730522156,
816
+ 0.9999411106109619,
817
+ 0.999931275844574,
818
+ 0.9973517060279846,
819
+ 0.0
820
+ ],
821
+ "q99": [
822
+ 1.0,
823
+ 1.0,
824
+ 1.0,
825
+ 1.0,
826
+ 0.9996138215065002,
827
+ 1.0
828
+ ]
829
+ },
830
+ "right_hand_joints": {
831
+ "min": [
832
+ 0.3226946294307709,
833
+ 0.6517601609230042,
834
+ 0.6507593989372253,
835
+ 0.506548285484314,
836
+ 0.4324777126312256,
837
+ 0.0
838
+ ],
839
+ "max": [
840
+ 1.0,
841
+ 1.0,
842
+ 1.0,
843
+ 1.0,
844
+ 1.0,
845
+ 1.0
846
+ ],
847
+ "mean": [
848
+ 0.8714392781257629,
849
+ 0.8772875070571899,
850
+ 0.8814314007759094,
851
+ 0.8773547410964966,
852
+ 0.9464673399925232,
853
+ 0.343583881855011
854
+ ],
855
+ "std": [
856
+ 0.13676515221595764,
857
+ 0.1305650770664215,
858
+ 0.1265411376953125,
859
+ 0.133805513381958,
860
+ 0.057199262082576266,
861
+ 0.46949049830436707
862
+ ],
863
+ "q01": [
864
+ 0.662733793258667,
865
+ 0.6754913330078125,
866
+ 0.6838080883026123,
867
+ 0.5842239856719971,
868
+ 0.8169243931770325,
869
+ 0.0
870
+ ],
871
+ "q99": [
872
+ 1.0,
873
+ 1.0,
874
+ 1.0,
875
+ 1.0,
876
+ 1.0,
877
+ 1.0
878
+ ]
879
+ }
880
+ },
881
+ "relative_action": {}
882
+ }
883
+ }
c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/final_model_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "Gr00tN1d7",
3
+ "model_dtype": "bfloat16",
4
+ "model_name": "nvidia/Cosmos-Reason2-2B",
5
+ "backbone_model_type": "qwen",
6
+ "model_revision": null,
7
+ "tune_top_llm_layers": 0,
8
+ "backbone_embedding_dim": 2048,
9
+ "tune_llm": true,
10
+ "tune_visual": true,
11
+ "select_layer": 16,
12
+ "reproject_vision": false,
13
+ "use_flash_attention": true,
14
+ "load_bf16": false,
15
+ "backbone_trainable_params_fp32": true,
16
+ "letter_box_transform": false,
17
+ "extra_augmentation_config": null,
18
+ "apply_sincos_state_encoding": false,
19
+ "use_percentiles": true,
20
+ "use_relative_action": false,
21
+ "max_state_dim": 132,
22
+ "max_action_dim": 132,
23
+ "action_horizon": 40,
24
+ "strict_action_padding_mask": false,
25
+ "hidden_size": 1024,
26
+ "input_embedding_dim": 1536,
27
+ "state_history_length": 1,
28
+ "add_pos_embed": true,
29
+ "attn_dropout": 0.2,
30
+ "use_vlln": true,
31
+ "strict_vl_padding_mask": false,
32
+ "max_seq_len": 1024,
33
+ "use_alternate_vl_dit": true,
34
+ "attend_text_every_n_blocks": 2,
35
+ "diffusion_model_cfg": {
36
+ "attention_head_dim": 48,
37
+ "dropout": 0.2,
38
+ "final_dropout": true,
39
+ "interleave_self_attention": true,
40
+ "norm_type": "ada_norm",
41
+ "num_attention_heads": 32,
42
+ "num_layers": 32,
43
+ "output_dim": 1024,
44
+ "positional_embeddings": null
45
+ },
46
+ "num_inference_timesteps": 4,
47
+ "noise_beta_alpha": 1.5,
48
+ "noise_beta_beta": 1.0,
49
+ "noise_s": 0.999,
50
+ "num_timestep_buckets": 1000,
51
+ "tune_projector": true,
52
+ "tune_diffusion_model": true,
53
+ "tune_vlln": true,
54
+ "state_dropout_prob": 0.2,
55
+ "exclude_state": false,
56
+ "use_mean_std": false,
57
+ "max_num_embodiments": 32
58
+ }
c6-bathroom-door-fetch/b512/step-004000/experiment_cfg/final_processor_config.json ADDED
The diff for this file is too large to render. See raw diff
 
c6-bathroom-door-fetch/b512/step-004000/model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34b60712ed71e44775deb6c9aa4a0c81f3038fbc090a8e46e86164959a7599d5
3
+ size 4990519232
c6-bathroom-door-fetch/b512/step-004000/model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:914b87a5dd6ea49a6220aaf3820844d4c3cc7925dde4f875c1bcac681bbb4f1c
3
+ size 1919980184
c6-bathroom-door-fetch/b512/step-004000/model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
c6-bathroom-door-fetch/b512/step-004000/processor_config.json ADDED
@@ -0,0 +1,1137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "processor_class": "Gr00tN1d7Processor",
3
+ "processor_kwargs": {
4
+ "modality_configs": {
5
+ "real_g1_relative_eef_relative_joints": {
6
+ "video": {
7
+ "delta_indices": [
8
+ -20,
9
+ 0
10
+ ],
11
+ "modality_keys": [
12
+ "ego_view"
13
+ ],
14
+ "sin_cos_embedding_keys": null,
15
+ "mean_std_embedding_keys": null,
16
+ "action_configs": null
17
+ },
18
+ "state": {
19
+ "delta_indices": [
20
+ 0
21
+ ],
22
+ "modality_keys": [
23
+ "left_wrist_eef_9d",
24
+ "right_wrist_eef_9d",
25
+ "left_hand",
26
+ "right_hand",
27
+ "left_arm",
28
+ "right_arm",
29
+ "waist"
30
+ ],
31
+ "sin_cos_embedding_keys": null,
32
+ "mean_std_embedding_keys": null,
33
+ "action_configs": null
34
+ },
35
+ "action": {
36
+ "delta_indices": [
37
+ 0,
38
+ 1,
39
+ 2,
40
+ 3,
41
+ 4,
42
+ 5,
43
+ 6,
44
+ 7,
45
+ 8,
46
+ 9,
47
+ 10,
48
+ 11,
49
+ 12,
50
+ 13,
51
+ 14,
52
+ 15,
53
+ 16,
54
+ 17,
55
+ 18,
56
+ 19,
57
+ 20,
58
+ 21,
59
+ 22,
60
+ 23,
61
+ 24,
62
+ 25,
63
+ 26,
64
+ 27,
65
+ 28,
66
+ 29,
67
+ 30,
68
+ 31,
69
+ 32,
70
+ 33,
71
+ 34,
72
+ 35,
73
+ 36,
74
+ 37,
75
+ 38,
76
+ 39
77
+ ],
78
+ "modality_keys": [
79
+ "left_wrist_eef_9d",
80
+ "right_wrist_eef_9d",
81
+ "left_hand",
82
+ "right_hand",
83
+ "left_arm",
84
+ "right_arm",
85
+ "waist",
86
+ "base_height_command",
87
+ "navigate_command"
88
+ ],
89
+ "sin_cos_embedding_keys": null,
90
+ "mean_std_embedding_keys": null,
91
+ "action_configs": [
92
+ {
93
+ "rep": "RELATIVE",
94
+ "type": "EEF",
95
+ "format": "XYZ_ROT6D",
96
+ "state_key": "left_wrist_eef_9d"
97
+ },
98
+ {
99
+ "rep": "RELATIVE",
100
+ "type": "EEF",
101
+ "format": "XYZ_ROT6D",
102
+ "state_key": "right_wrist_eef_9d"
103
+ },
104
+ {
105
+ "rep": "ABSOLUTE",
106
+ "type": "NON_EEF",
107
+ "format": "DEFAULT",
108
+ "state_key": "left_hand"
109
+ },
110
+ {
111
+ "rep": "ABSOLUTE",
112
+ "type": "NON_EEF",
113
+ "format": "DEFAULT",
114
+ "state_key": "right_hand"
115
+ },
116
+ {
117
+ "rep": "RELATIVE",
118
+ "type": "NON_EEF",
119
+ "format": "DEFAULT",
120
+ "state_key": "left_arm"
121
+ },
122
+ {
123
+ "rep": "RELATIVE",
124
+ "type": "NON_EEF",
125
+ "format": "DEFAULT",
126
+ "state_key": "right_arm"
127
+ },
128
+ {
129
+ "rep": "ABSOLUTE",
130
+ "type": "NON_EEF",
131
+ "format": "DEFAULT",
132
+ "state_key": "waist"
133
+ },
134
+ {
135
+ "rep": "ABSOLUTE",
136
+ "type": "NON_EEF",
137
+ "format": "DEFAULT",
138
+ "state_key": "base_height_command"
139
+ },
140
+ {
141
+ "rep": "ABSOLUTE",
142
+ "type": "NON_EEF",
143
+ "format": "DEFAULT",
144
+ "state_key": "navigate_command"
145
+ }
146
+ ]
147
+ },
148
+ "language": {
149
+ "delta_indices": [
150
+ 0
151
+ ],
152
+ "modality_keys": [
153
+ "annotation.human.task_description"
154
+ ],
155
+ "sin_cos_embedding_keys": null,
156
+ "mean_std_embedding_keys": null,
157
+ "action_configs": null
158
+ }
159
+ },
160
+ "real_r1_pro_sharpa_relative_eef_mecka": {
161
+ "video": {
162
+ "delta_indices": [
163
+ -30,
164
+ 0
165
+ ],
166
+ "modality_keys": [
167
+ "ego_view_cropratio_res320x240_freq30"
168
+ ],
169
+ "sin_cos_embedding_keys": null,
170
+ "mean_std_embedding_keys": null,
171
+ "action_configs": null
172
+ },
173
+ "state": {
174
+ "delta_indices": [
175
+ 0
176
+ ],
177
+ "modality_keys": [
178
+ "left_wrist_eef",
179
+ "right_wrist_eef",
180
+ "left_hand_joints",
181
+ "right_hand_joints"
182
+ ],
183
+ "sin_cos_embedding_keys": null,
184
+ "mean_std_embedding_keys": null,
185
+ "action_configs": null
186
+ },
187
+ "action": {
188
+ "delta_indices": [
189
+ 0,
190
+ 1,
191
+ 2,
192
+ 3,
193
+ 4,
194
+ 5,
195
+ 6,
196
+ 7,
197
+ 8,
198
+ 9,
199
+ 10,
200
+ 11,
201
+ 12,
202
+ 13,
203
+ 14,
204
+ 15,
205
+ 16,
206
+ 17,
207
+ 18,
208
+ 19,
209
+ 20,
210
+ 21,
211
+ 22,
212
+ 23,
213
+ 24,
214
+ 25,
215
+ 26,
216
+ 27,
217
+ 28,
218
+ 29,
219
+ 30,
220
+ 31,
221
+ 32,
222
+ 33,
223
+ 34,
224
+ 35,
225
+ 36,
226
+ 37,
227
+ 38,
228
+ 39
229
+ ],
230
+ "modality_keys": [
231
+ "left_wrist_eef",
232
+ "right_wrist_eef",
233
+ "left_hand_joints",
234
+ "right_hand_joints"
235
+ ],
236
+ "sin_cos_embedding_keys": null,
237
+ "mean_std_embedding_keys": null,
238
+ "action_configs": [
239
+ {
240
+ "rep": "RELATIVE",
241
+ "type": "EEF",
242
+ "format": "XYZ_ROT6D",
243
+ "state_key": "left_wrist_eef"
244
+ },
245
+ {
246
+ "rep": "RELATIVE",
247
+ "type": "EEF",
248
+ "format": "XYZ_ROT6D",
249
+ "state_key": "right_wrist_eef"
250
+ },
251
+ {
252
+ "rep": "ABSOLUTE",
253
+ "type": "NON_EEF",
254
+ "format": "DEFAULT",
255
+ "state_key": "left_hand_joints"
256
+ },
257
+ {
258
+ "rep": "ABSOLUTE",
259
+ "type": "NON_EEF",
260
+ "format": "DEFAULT",
261
+ "state_key": "right_hand_joints"
262
+ }
263
+ ]
264
+ },
265
+ "language": {
266
+ "delta_indices": [
267
+ 0
268
+ ],
269
+ "modality_keys": [
270
+ "annotation.human.coarse_action"
271
+ ],
272
+ "sin_cos_embedding_keys": null,
273
+ "mean_std_embedding_keys": null,
274
+ "action_configs": null
275
+ }
276
+ },
277
+ "real_r1_pro_sharpa_relative_eef_human": {
278
+ "video": {
279
+ "delta_indices": [
280
+ -20,
281
+ 0
282
+ ],
283
+ "modality_keys": [
284
+ "ego_view_res320x240_freq20",
285
+ "left_wrist_view_res320x240_freq20",
286
+ "right_wrist_view_res320x240_freq20"
287
+ ],
288
+ "sin_cos_embedding_keys": null,
289
+ "mean_std_embedding_keys": null,
290
+ "action_configs": null
291
+ },
292
+ "state": {
293
+ "delta_indices": [
294
+ 0
295
+ ],
296
+ "modality_keys": [
297
+ "left_wrist_eef",
298
+ "right_wrist_eef",
299
+ "left_hand_joints",
300
+ "right_hand_joints"
301
+ ],
302
+ "sin_cos_embedding_keys": null,
303
+ "mean_std_embedding_keys": null,
304
+ "action_configs": null
305
+ },
306
+ "action": {
307
+ "delta_indices": [
308
+ 0,
309
+ 1,
310
+ 2,
311
+ 3,
312
+ 4,
313
+ 5,
314
+ 6,
315
+ 7,
316
+ 8,
317
+ 9,
318
+ 10,
319
+ 11,
320
+ 12,
321
+ 13,
322
+ 14,
323
+ 15,
324
+ 16,
325
+ 17,
326
+ 18,
327
+ 19,
328
+ 20,
329
+ 21,
330
+ 22,
331
+ 23,
332
+ 24,
333
+ 25,
334
+ 26,
335
+ 27,
336
+ 28,
337
+ 29,
338
+ 30,
339
+ 31,
340
+ 32,
341
+ 33,
342
+ 34,
343
+ 35,
344
+ 36,
345
+ 37,
346
+ 38,
347
+ 39
348
+ ],
349
+ "modality_keys": [
350
+ "left_wrist_eef",
351
+ "right_wrist_eef",
352
+ "left_hand_joints",
353
+ "right_hand_joints"
354
+ ],
355
+ "sin_cos_embedding_keys": null,
356
+ "mean_std_embedding_keys": null,
357
+ "action_configs": [
358
+ {
359
+ "rep": "RELATIVE",
360
+ "type": "EEF",
361
+ "format": "XYZ_ROT6D",
362
+ "state_key": "left_wrist_eef"
363
+ },
364
+ {
365
+ "rep": "RELATIVE",
366
+ "type": "EEF",
367
+ "format": "XYZ_ROT6D",
368
+ "state_key": "right_wrist_eef"
369
+ },
370
+ {
371
+ "rep": "ABSOLUTE",
372
+ "type": "NON_EEF",
373
+ "format": "DEFAULT",
374
+ "state_key": "left_hand_joints"
375
+ },
376
+ {
377
+ "rep": "ABSOLUTE",
378
+ "type": "NON_EEF",
379
+ "format": "DEFAULT",
380
+ "state_key": "right_hand_joints"
381
+ }
382
+ ]
383
+ },
384
+ "language": {
385
+ "delta_indices": [
386
+ 0
387
+ ],
388
+ "modality_keys": [
389
+ "annotation.human.coarse_action"
390
+ ],
391
+ "sin_cos_embedding_keys": null,
392
+ "mean_std_embedding_keys": null,
393
+ "action_configs": null
394
+ }
395
+ },
396
+ "real_r1_pro_sharpa_relative_eef": {
397
+ "video": {
398
+ "delta_indices": [
399
+ -20,
400
+ 0
401
+ ],
402
+ "modality_keys": [
403
+ "ego_view_res320x240_freq20",
404
+ "left_wrist_view_res320x240_freq20",
405
+ "right_wrist_view_res320x240_freq20"
406
+ ],
407
+ "sin_cos_embedding_keys": null,
408
+ "mean_std_embedding_keys": null,
409
+ "action_configs": null
410
+ },
411
+ "state": {
412
+ "delta_indices": [
413
+ 0
414
+ ],
415
+ "modality_keys": [
416
+ "left_wrist_eef",
417
+ "right_wrist_eef",
418
+ "left_hand_joints",
419
+ "right_hand_joints"
420
+ ],
421
+ "sin_cos_embedding_keys": null,
422
+ "mean_std_embedding_keys": null,
423
+ "action_configs": null
424
+ },
425
+ "action": {
426
+ "delta_indices": [
427
+ 0,
428
+ 1,
429
+ 2,
430
+ 3,
431
+ 4,
432
+ 5,
433
+ 6,
434
+ 7,
435
+ 8,
436
+ 9,
437
+ 10,
438
+ 11,
439
+ 12,
440
+ 13,
441
+ 14,
442
+ 15,
443
+ 16,
444
+ 17,
445
+ 18,
446
+ 19,
447
+ 20,
448
+ 21,
449
+ 22,
450
+ 23,
451
+ 24,
452
+ 25,
453
+ 26,
454
+ 27,
455
+ 28,
456
+ 29,
457
+ 30,
458
+ 31,
459
+ 32,
460
+ 33,
461
+ 34,
462
+ 35,
463
+ 36,
464
+ 37,
465
+ 38,
466
+ 39
467
+ ],
468
+ "modality_keys": [
469
+ "left_wrist_eef",
470
+ "right_wrist_eef",
471
+ "left_hand_joints",
472
+ "right_hand_joints"
473
+ ],
474
+ "sin_cos_embedding_keys": null,
475
+ "mean_std_embedding_keys": null,
476
+ "action_configs": [
477
+ {
478
+ "rep": "RELATIVE",
479
+ "type": "EEF",
480
+ "format": "XYZ_ROT6D",
481
+ "state_key": "left_wrist_eef"
482
+ },
483
+ {
484
+ "rep": "RELATIVE",
485
+ "type": "EEF",
486
+ "format": "XYZ_ROT6D",
487
+ "state_key": "right_wrist_eef"
488
+ },
489
+ {
490
+ "rep": "ABSOLUTE",
491
+ "type": "NON_EEF",
492
+ "format": "DEFAULT",
493
+ "state_key": "left_hand_joints"
494
+ },
495
+ {
496
+ "rep": "ABSOLUTE",
497
+ "type": "NON_EEF",
498
+ "format": "DEFAULT",
499
+ "state_key": "right_hand_joints"
500
+ }
501
+ ]
502
+ },
503
+ "language": {
504
+ "delta_indices": [
505
+ 0
506
+ ],
507
+ "modality_keys": [
508
+ "annotation.human.coarse_action"
509
+ ],
510
+ "sin_cos_embedding_keys": null,
511
+ "mean_std_embedding_keys": null,
512
+ "action_configs": null
513
+ }
514
+ },
515
+ "xdof_relative_eef_relative_joint": {
516
+ "video": {
517
+ "delta_indices": [
518
+ -30,
519
+ 0
520
+ ],
521
+ "modality_keys": [
522
+ "top_camera-images-rgb_320_240",
523
+ "left_camera-images-rgb_320_240",
524
+ "right_camera-images-rgb_320_240"
525
+ ],
526
+ "sin_cos_embedding_keys": null,
527
+ "mean_std_embedding_keys": null,
528
+ "action_configs": null
529
+ },
530
+ "state": {
531
+ "delta_indices": [
532
+ 0
533
+ ],
534
+ "modality_keys": [
535
+ "left_wrist_eef",
536
+ "right_wrist_eef",
537
+ "left_gripper_pos",
538
+ "right_gripper_pos",
539
+ "left_joint_pos",
540
+ "right_joint_pos"
541
+ ],
542
+ "sin_cos_embedding_keys": null,
543
+ "mean_std_embedding_keys": null,
544
+ "action_configs": null
545
+ },
546
+ "action": {
547
+ "delta_indices": [
548
+ 0,
549
+ 1,
550
+ 2,
551
+ 3,
552
+ 4,
553
+ 5,
554
+ 6,
555
+ 7,
556
+ 8,
557
+ 9,
558
+ 10,
559
+ 11,
560
+ 12,
561
+ 13,
562
+ 14,
563
+ 15,
564
+ 16,
565
+ 17,
566
+ 18,
567
+ 19,
568
+ 20,
569
+ 21,
570
+ 22,
571
+ 23,
572
+ 24,
573
+ 25,
574
+ 26,
575
+ 27,
576
+ 28,
577
+ 29,
578
+ 30,
579
+ 31,
580
+ 32,
581
+ 33,
582
+ 34,
583
+ 35,
584
+ 36,
585
+ 37,
586
+ 38,
587
+ 39
588
+ ],
589
+ "modality_keys": [
590
+ "left_wrist_eef",
591
+ "right_wrist_eef",
592
+ "left_gripper_pos",
593
+ "right_gripper_pos",
594
+ "left_joint_pos",
595
+ "right_joint_pos"
596
+ ],
597
+ "sin_cos_embedding_keys": null,
598
+ "mean_std_embedding_keys": null,
599
+ "action_configs": [
600
+ {
601
+ "rep": "RELATIVE",
602
+ "type": "EEF",
603
+ "format": "XYZ_ROT6D",
604
+ "state_key": "left_wrist_eef"
605
+ },
606
+ {
607
+ "rep": "RELATIVE",
608
+ "type": "EEF",
609
+ "format": "XYZ_ROT6D",
610
+ "state_key": "right_wrist_eef"
611
+ },
612
+ {
613
+ "rep": "ABSOLUTE",
614
+ "type": "NON_EEF",
615
+ "format": "DEFAULT",
616
+ "state_key": "left_gripper_pos"
617
+ },
618
+ {
619
+ "rep": "ABSOLUTE",
620
+ "type": "NON_EEF",
621
+ "format": "DEFAULT",
622
+ "state_key": "right_gripper_pos"
623
+ },
624
+ {
625
+ "rep": "RELATIVE",
626
+ "type": "NON_EEF",
627
+ "format": "DEFAULT",
628
+ "state_key": "left_joint_pos"
629
+ },
630
+ {
631
+ "rep": "RELATIVE",
632
+ "type": "NON_EEF",
633
+ "format": "DEFAULT",
634
+ "state_key": "right_joint_pos"
635
+ }
636
+ ]
637
+ },
638
+ "language": {
639
+ "delta_indices": [
640
+ 0
641
+ ],
642
+ "modality_keys": [
643
+ "annotation.task"
644
+ ],
645
+ "sin_cos_embedding_keys": null,
646
+ "mean_std_embedding_keys": null,
647
+ "action_configs": null
648
+ }
649
+ },
650
+ "real_r1_pro_sharpa_relative_eef_maxinsights": {
651
+ "video": {
652
+ "delta_indices": [
653
+ -30,
654
+ 0
655
+ ],
656
+ "modality_keys": [
657
+ "ego_view_cropratio_res320x240_freq30"
658
+ ],
659
+ "sin_cos_embedding_keys": null,
660
+ "mean_std_embedding_keys": null,
661
+ "action_configs": null
662
+ },
663
+ "state": {
664
+ "delta_indices": [
665
+ 0
666
+ ],
667
+ "modality_keys": [
668
+ "left_wrist_eef",
669
+ "right_wrist_eef",
670
+ "left_hand_joints",
671
+ "right_hand_joints"
672
+ ],
673
+ "sin_cos_embedding_keys": null,
674
+ "mean_std_embedding_keys": null,
675
+ "action_configs": null
676
+ },
677
+ "action": {
678
+ "delta_indices": [
679
+ 0,
680
+ 1,
681
+ 2,
682
+ 3,
683
+ 4,
684
+ 5,
685
+ 6,
686
+ 7,
687
+ 8,
688
+ 9,
689
+ 10,
690
+ 11,
691
+ 12,
692
+ 13,
693
+ 14,
694
+ 15,
695
+ 16,
696
+ 17,
697
+ 18,
698
+ 19,
699
+ 20,
700
+ 21,
701
+ 22,
702
+ 23,
703
+ 24,
704
+ 25,
705
+ 26,
706
+ 27,
707
+ 28,
708
+ 29,
709
+ 30,
710
+ 31,
711
+ 32,
712
+ 33,
713
+ 34,
714
+ 35,
715
+ 36,
716
+ 37,
717
+ 38,
718
+ 39
719
+ ],
720
+ "modality_keys": [
721
+ "left_wrist_eef",
722
+ "right_wrist_eef",
723
+ "left_hand_joints",
724
+ "right_hand_joints"
725
+ ],
726
+ "sin_cos_embedding_keys": null,
727
+ "mean_std_embedding_keys": null,
728
+ "action_configs": [
729
+ {
730
+ "rep": "RELATIVE",
731
+ "type": "EEF",
732
+ "format": "XYZ_ROT6D",
733
+ "state_key": "left_wrist_eef"
734
+ },
735
+ {
736
+ "rep": "RELATIVE",
737
+ "type": "EEF",
738
+ "format": "XYZ_ROT6D",
739
+ "state_key": "right_wrist_eef"
740
+ },
741
+ {
742
+ "rep": "ABSOLUTE",
743
+ "type": "NON_EEF",
744
+ "format": "DEFAULT",
745
+ "state_key": "left_hand_joints"
746
+ },
747
+ {
748
+ "rep": "ABSOLUTE",
749
+ "type": "NON_EEF",
750
+ "format": "DEFAULT",
751
+ "state_key": "right_hand_joints"
752
+ }
753
+ ]
754
+ },
755
+ "language": {
756
+ "delta_indices": [
757
+ 0
758
+ ],
759
+ "modality_keys": [
760
+ "annotation.human.coarse_action"
761
+ ],
762
+ "sin_cos_embedding_keys": null,
763
+ "mean_std_embedding_keys": null,
764
+ "action_configs": null
765
+ }
766
+ },
767
+ "xdof_relative_eef_relative_joint_subtask": {
768
+ "video": {
769
+ "delta_indices": [
770
+ -30,
771
+ 0
772
+ ],
773
+ "modality_keys": [
774
+ "top_camera-images-rgb_320_240",
775
+ "left_camera-images-rgb_320_240",
776
+ "right_camera-images-rgb_320_240"
777
+ ],
778
+ "sin_cos_embedding_keys": null,
779
+ "mean_std_embedding_keys": null,
780
+ "action_configs": null
781
+ },
782
+ "state": {
783
+ "delta_indices": [
784
+ 0
785
+ ],
786
+ "modality_keys": [
787
+ "left_wrist_eef",
788
+ "right_wrist_eef",
789
+ "left_gripper_pos",
790
+ "right_gripper_pos",
791
+ "left_joint_pos",
792
+ "right_joint_pos"
793
+ ],
794
+ "sin_cos_embedding_keys": null,
795
+ "mean_std_embedding_keys": null,
796
+ "action_configs": null
797
+ },
798
+ "action": {
799
+ "delta_indices": [
800
+ 0,
801
+ 1,
802
+ 2,
803
+ 3,
804
+ 4,
805
+ 5,
806
+ 6,
807
+ 7,
808
+ 8,
809
+ 9,
810
+ 10,
811
+ 11,
812
+ 12,
813
+ 13,
814
+ 14,
815
+ 15,
816
+ 16,
817
+ 17,
818
+ 18,
819
+ 19,
820
+ 20,
821
+ 21,
822
+ 22,
823
+ 23,
824
+ 24,
825
+ 25,
826
+ 26,
827
+ 27,
828
+ 28,
829
+ 29,
830
+ 30,
831
+ 31,
832
+ 32,
833
+ 33,
834
+ 34,
835
+ 35,
836
+ 36,
837
+ 37,
838
+ 38,
839
+ 39
840
+ ],
841
+ "modality_keys": [
842
+ "left_wrist_eef",
843
+ "right_wrist_eef",
844
+ "left_gripper_pos",
845
+ "right_gripper_pos",
846
+ "left_joint_pos",
847
+ "right_joint_pos"
848
+ ],
849
+ "sin_cos_embedding_keys": null,
850
+ "mean_std_embedding_keys": null,
851
+ "action_configs": [
852
+ {
853
+ "rep": "RELATIVE",
854
+ "type": "EEF",
855
+ "format": "XYZ_ROT6D",
856
+ "state_key": "left_wrist_eef"
857
+ },
858
+ {
859
+ "rep": "RELATIVE",
860
+ "type": "EEF",
861
+ "format": "XYZ_ROT6D",
862
+ "state_key": "right_wrist_eef"
863
+ },
864
+ {
865
+ "rep": "ABSOLUTE",
866
+ "type": "NON_EEF",
867
+ "format": "DEFAULT",
868
+ "state_key": "left_gripper_pos"
869
+ },
870
+ {
871
+ "rep": "ABSOLUTE",
872
+ "type": "NON_EEF",
873
+ "format": "DEFAULT",
874
+ "state_key": "right_gripper_pos"
875
+ },
876
+ {
877
+ "rep": "RELATIVE",
878
+ "type": "NON_EEF",
879
+ "format": "DEFAULT",
880
+ "state_key": "left_joint_pos"
881
+ },
882
+ {
883
+ "rep": "RELATIVE",
884
+ "type": "NON_EEF",
885
+ "format": "DEFAULT",
886
+ "state_key": "right_joint_pos"
887
+ }
888
+ ]
889
+ },
890
+ "language": {
891
+ "delta_indices": [
892
+ 0
893
+ ],
894
+ "modality_keys": [
895
+ "annotation.sub_task"
896
+ ],
897
+ "sin_cos_embedding_keys": null,
898
+ "mean_std_embedding_keys": null,
899
+ "action_configs": null
900
+ }
901
+ },
902
+ "oxe_droid_relative_eef_relative_joint": {
903
+ "video": {
904
+ "delta_indices": [
905
+ -15,
906
+ 0
907
+ ],
908
+ "modality_keys": [
909
+ "exterior_image_1_left",
910
+ "wrist_image_left"
911
+ ],
912
+ "sin_cos_embedding_keys": null,
913
+ "mean_std_embedding_keys": null,
914
+ "action_configs": null
915
+ },
916
+ "state": {
917
+ "delta_indices": [
918
+ 0
919
+ ],
920
+ "modality_keys": [
921
+ "eef_9d",
922
+ "gripper_position",
923
+ "joint_position"
924
+ ],
925
+ "sin_cos_embedding_keys": null,
926
+ "mean_std_embedding_keys": null,
927
+ "action_configs": null
928
+ },
929
+ "action": {
930
+ "delta_indices": [
931
+ 0,
932
+ 1,
933
+ 2,
934
+ 3,
935
+ 4,
936
+ 5,
937
+ 6,
938
+ 7,
939
+ 8,
940
+ 9,
941
+ 10,
942
+ 11,
943
+ 12,
944
+ 13,
945
+ 14,
946
+ 15,
947
+ 16,
948
+ 17,
949
+ 18,
950
+ 19,
951
+ 20,
952
+ 21,
953
+ 22,
954
+ 23,
955
+ 24,
956
+ 25,
957
+ 26,
958
+ 27,
959
+ 28,
960
+ 29,
961
+ 30,
962
+ 31,
963
+ 32,
964
+ 33,
965
+ 34,
966
+ 35,
967
+ 36,
968
+ 37,
969
+ 38,
970
+ 39
971
+ ],
972
+ "modality_keys": [
973
+ "eef_9d",
974
+ "gripper_position",
975
+ "joint_position"
976
+ ],
977
+ "sin_cos_embedding_keys": null,
978
+ "mean_std_embedding_keys": null,
979
+ "action_configs": [
980
+ {
981
+ "rep": "RELATIVE",
982
+ "type": "EEF",
983
+ "format": "XYZ_ROT6D",
984
+ "state_key": "eef_9d"
985
+ },
986
+ {
987
+ "rep": "ABSOLUTE",
988
+ "type": "NON_EEF",
989
+ "format": "DEFAULT",
990
+ "state_key": "gripper_position"
991
+ },
992
+ {
993
+ "rep": "RELATIVE",
994
+ "type": "NON_EEF",
995
+ "format": "DEFAULT",
996
+ "state_key": "joint_position"
997
+ }
998
+ ]
999
+ },
1000
+ "language": {
1001
+ "delta_indices": [
1002
+ 0
1003
+ ],
1004
+ "modality_keys": [
1005
+ "annotation.language.language_instruction"
1006
+ ],
1007
+ "sin_cos_embedding_keys": null,
1008
+ "mean_std_embedding_keys": null,
1009
+ "action_configs": null
1010
+ }
1011
+ },
1012
+ "new_embodiment": {
1013
+ "video": {
1014
+ "delta_indices": [
1015
+ 0
1016
+ ],
1017
+ "modality_keys": [
1018
+ "ego_view",
1019
+ "chest"
1020
+ ],
1021
+ "sin_cos_embedding_keys": null,
1022
+ "mean_std_embedding_keys": null,
1023
+ "action_configs": null
1024
+ },
1025
+ "state": {
1026
+ "delta_indices": [
1027
+ 0
1028
+ ],
1029
+ "modality_keys": [
1030
+ "left_leg",
1031
+ "right_leg",
1032
+ "waist",
1033
+ "left_arm",
1034
+ "right_arm",
1035
+ "left_hand",
1036
+ "right_hand",
1037
+ "projected_gravity"
1038
+ ],
1039
+ "sin_cos_embedding_keys": null,
1040
+ "mean_std_embedding_keys": null,
1041
+ "action_configs": null
1042
+ },
1043
+ "action": {
1044
+ "delta_indices": [
1045
+ 0,
1046
+ 1,
1047
+ 2,
1048
+ 3,
1049
+ 4,
1050
+ 5,
1051
+ 6,
1052
+ 7,
1053
+ 8,
1054
+ 9,
1055
+ 10,
1056
+ 11,
1057
+ 12,
1058
+ 13,
1059
+ 14,
1060
+ 15
1061
+ ],
1062
+ "modality_keys": [
1063
+ "motion_token",
1064
+ "left_hand_joints",
1065
+ "right_hand_joints"
1066
+ ],
1067
+ "sin_cos_embedding_keys": null,
1068
+ "mean_std_embedding_keys": null,
1069
+ "action_configs": [
1070
+ {
1071
+ "rep": "ABSOLUTE",
1072
+ "type": "NON_EEF",
1073
+ "format": "DEFAULT",
1074
+ "state_key": null
1075
+ },
1076
+ {
1077
+ "rep": "ABSOLUTE",
1078
+ "type": "NON_EEF",
1079
+ "format": "DEFAULT",
1080
+ "state_key": null
1081
+ },
1082
+ {
1083
+ "rep": "ABSOLUTE",
1084
+ "type": "NON_EEF",
1085
+ "format": "DEFAULT",
1086
+ "state_key": null
1087
+ }
1088
+ ]
1089
+ },
1090
+ "language": {
1091
+ "delta_indices": [
1092
+ 0
1093
+ ],
1094
+ "modality_keys": [
1095
+ "annotation.human.task_description"
1096
+ ],
1097
+ "sin_cos_embedding_keys": null,
1098
+ "mean_std_embedding_keys": null,
1099
+ "action_configs": null
1100
+ }
1101
+ }
1102
+ },
1103
+ "image_crop_size": [
1104
+ 230,
1105
+ 230
1106
+ ],
1107
+ "image_target_size": [
1108
+ 256,
1109
+ 256
1110
+ ],
1111
+ "use_albumentations": true,
1112
+ "random_rotation_angle": 0,
1113
+ "color_jitter_params": {
1114
+ "brightness": 0.3,
1115
+ "contrast": 0.4,
1116
+ "saturation": 0.5,
1117
+ "hue": 0.08
1118
+ },
1119
+ "shortest_image_edge": 256,
1120
+ "crop_fraction": 0.95,
1121
+ "letter_box_transform": false,
1122
+ "model_name": "nvidia/Cosmos-Reason2-2B",
1123
+ "model_type": "qwen",
1124
+ "formalize_language": true,
1125
+ "max_state_dim": 132,
1126
+ "max_action_dim": 132,
1127
+ "max_action_horizon": 40,
1128
+ "strict_action_padding_mask": false,
1129
+ "use_percentiles": true,
1130
+ "use_mean_std": false,
1131
+ "clip_outliers": true,
1132
+ "apply_sincos_state_encoding": false,
1133
+ "use_relative_action": true,
1134
+ "exclude_state": false,
1135
+ "state_dropout_prob": 0.2
1136
+ }
1137
+ }
c6-bathroom-door-fetch/b512/step-004000/protocol.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "GR00T N1.7 (Gr00tN1d7, action head fine-tuned, VLM frozen)",
3
+ "task": "C6 bathroom-door cross-room fetch (G1)",
4
+ "task_dir": "c6-bathroom-door-fetch/b512",
5
+ "robot": "Unitree G1",
6
+ "training_data": "c6-bathroom-door-fetch-expert-v1 @3afba69e",
7
+ "episodes": 100,
8
+ "epoch_completed": null,
9
+ "global_step": 4000,
10
+ "augmentation": "Humanoid Benchmark online augmentation spec v2 (2026-11-09): 15 visual effects, one effect per training sample at 1.5x; proprioception aligned with the GR00T A20 recipe (2026-11-12): per-sample joint bias +-2 deg + Gaussian noise 0.25 deg (hb_aug_v2.perturb_joints), no proprio delay, no history drop; model-native image augmentation off",
11
+ "epochs": null,
12
+ "total_steps": 8000,
13
+ "save_steps": [
14
+ 4000,
15
+ 4500,
16
+ 5000,
17
+ 5500,
18
+ 6000,
19
+ 6500,
20
+ 7000,
21
+ 7500,
22
+ 8000
23
+ ],
24
+ "global_batch": 512,
25
+ "per_gpu_batch": 8,
26
+ "num_gpus": 32,
27
+ "lr": 0.0001,
28
+ "lr_schedule": "cosine, warmup_ratio 0.05",
29
+ "weight_decay": 1e-05,
30
+ "proprio_augmentation": "per-sample joint bias +-2 deg + noise 0.25 deg (hb_aug_v2.perturb_joints); no proprio delay / history drop (the GR00T A20 recipe)",
31
+ "config": "experiment_cfg/conf.yaml",
32
+ "normalization": "statistics.json",
33
+ "inference": "NVIDIA Isaac-GR00T N1.7 policy loader with embodiment_tag new_embodiment and experiment_cfg/conf.yaml; VLM nvidia/Cosmos-Reason2-2B from its own repository.",
34
+ "epochs_equivalent": 18.47,
35
+ "recipe": "full fine-tune (tune_llm, tune_visual, projector, diffusion, vlln), fixed steps",
36
+ "gradient_accumulation_steps": 2,
37
+ "trainable": "all modules (tune_llm, tune_visual, projector, diffusion action head, VLLN)",
38
+ "training_records_included": true,
39
+ "resume_state_included": false,
40
+ "files": {
41
+ "code/hb_groot/cache_cosmos_reason2.py": 2542,
42
+ "code/hb_groot/check_reason2_offline.py": 1283,
43
+ "code/hb_groot/g1_feedback76_h16.py": 1474,
44
+ "code/hb_groot/groot_chain.py": 6325,
45
+ "code/hb_groot/h2_body31_hand44_h16.py": 1395,
46
+ "code/hb_groot/h2w3_body31_hand44_h16.py": 1563,
47
+ "code/hb_groot/hb_aug_v2.py": 7475,
48
+ "code/hb_groot/hb_launch.py": 3913,
49
+ "code/hb_groot/hb_offline_fix.py": 1138,
50
+ "code/hb_groot/prepare_groot_data.py": 10648,
51
+ "code/hb_groot/verify_groot_cpu.py": 2310,
52
+ "config.json": 2219,
53
+ "dataset_meta/hb-dataset-receipt.json": 774,
54
+ "dataset_meta/modality.json": 1537,
55
+ "embodiment_id.json": 2226,
56
+ "experiment_cfg/conf.yaml": 5792,
57
+ "experiment_cfg/config.yaml": 5760,
58
+ "experiment_cfg/dataset_statistics.json": 20098,
59
+ "experiment_cfg/final_model_config.json": 1584,
60
+ "experiment_cfg/final_processor_config.json": 2548329,
61
+ "model-00001-of-00002.safetensors": 4990519232,
62
+ "model-00002-of-00002.safetensors": 1919980184,
63
+ "model.safetensors.index.json": 104985,
64
+ "processor_config.json": 26945,
65
+ "statistics.json": 4313191,
66
+ "train.log": 756941,
67
+ "trainer_state.json": 56070,
68
+ "training_args.bin": 8017,
69
+ "training_plan.json": 354,
70
+ "wandb_config.json": 58
71
+ }
72
+ }
c6-bathroom-door-fetch/b512/step-004000/statistics.json ADDED
The diff for this file is too large to render. See raw diff
 
c6-bathroom-door-fetch/b512/step-004000/train.log ADDED
The diff for this file is too large to render. See raw diff
 
c6-bathroom-door-fetch/b512/step-004000/trainer_state.json ADDED
@@ -0,0 +1,2434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.5,
6
+ "eval_steps": 500,
7
+ "global_step": 4000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "grad_norm": 0.16496065258979797,
14
+ "learning_rate": 2.25e-06,
15
+ "loss": 1.3108,
16
+ "step": 10
17
+ },
18
+ {
19
+ "grad_norm": 0.13526766002178192,
20
+ "learning_rate": 4.75e-06,
21
+ "loss": 1.3076,
22
+ "step": 20
23
+ },
24
+ {
25
+ "grad_norm": 0.25319644808769226,
26
+ "learning_rate": 7.25e-06,
27
+ "loss": 1.2691,
28
+ "step": 30
29
+ },
30
+ {
31
+ "grad_norm": 0.2596031129360199,
32
+ "learning_rate": 9.750000000000002e-06,
33
+ "loss": 1.211,
34
+ "step": 40
35
+ },
36
+ {
37
+ "grad_norm": 0.22945751249790192,
38
+ "learning_rate": 1.225e-05,
39
+ "loss": 1.1429,
40
+ "step": 50
41
+ },
42
+ {
43
+ "grad_norm": 0.253459632396698,
44
+ "learning_rate": 1.475e-05,
45
+ "loss": 1.1174,
46
+ "step": 60
47
+ },
48
+ {
49
+ "grad_norm": 0.24715471267700195,
50
+ "learning_rate": 1.725e-05,
51
+ "loss": 1.0985,
52
+ "step": 70
53
+ },
54
+ {
55
+ "grad_norm": 0.23292163014411926,
56
+ "learning_rate": 1.9750000000000002e-05,
57
+ "loss": 1.0828,
58
+ "step": 80
59
+ },
60
+ {
61
+ "grad_norm": 0.3030252456665039,
62
+ "learning_rate": 2.2250000000000002e-05,
63
+ "loss": 1.0787,
64
+ "step": 90
65
+ },
66
+ {
67
+ "grad_norm": 0.23605094850063324,
68
+ "learning_rate": 2.4750000000000002e-05,
69
+ "loss": 1.0708,
70
+ "step": 100
71
+ },
72
+ {
73
+ "grad_norm": 0.2166491597890854,
74
+ "learning_rate": 2.725e-05,
75
+ "loss": 1.071,
76
+ "step": 110
77
+ },
78
+ {
79
+ "grad_norm": 0.21502812206745148,
80
+ "learning_rate": 2.975e-05,
81
+ "loss": 1.0709,
82
+ "step": 120
83
+ },
84
+ {
85
+ "grad_norm": 0.205549955368042,
86
+ "learning_rate": 3.2250000000000005e-05,
87
+ "loss": 1.0708,
88
+ "step": 130
89
+ },
90
+ {
91
+ "grad_norm": 0.2226843386888504,
92
+ "learning_rate": 3.475e-05,
93
+ "loss": 1.0591,
94
+ "step": 140
95
+ },
96
+ {
97
+ "grad_norm": 0.28557905554771423,
98
+ "learning_rate": 3.7250000000000004e-05,
99
+ "loss": 1.0491,
100
+ "step": 150
101
+ },
102
+ {
103
+ "grad_norm": 0.3563362658023834,
104
+ "learning_rate": 3.9750000000000004e-05,
105
+ "loss": 1.0191,
106
+ "step": 160
107
+ },
108
+ {
109
+ "grad_norm": 0.4333968758583069,
110
+ "learning_rate": 4.2250000000000004e-05,
111
+ "loss": 0.9876,
112
+ "step": 170
113
+ },
114
+ {
115
+ "grad_norm": 0.4386720061302185,
116
+ "learning_rate": 4.4750000000000004e-05,
117
+ "loss": 0.9413,
118
+ "step": 180
119
+ },
120
+ {
121
+ "grad_norm": 0.48929619789123535,
122
+ "learning_rate": 4.7249999999999997e-05,
123
+ "loss": 0.9172,
124
+ "step": 190
125
+ },
126
+ {
127
+ "grad_norm": 0.5376286506652832,
128
+ "learning_rate": 4.975e-05,
129
+ "loss": 0.8845,
130
+ "step": 200
131
+ },
132
+ {
133
+ "grad_norm": 0.5176939368247986,
134
+ "learning_rate": 5.2249999999999996e-05,
135
+ "loss": 0.8623,
136
+ "step": 210
137
+ },
138
+ {
139
+ "grad_norm": 0.4630448520183563,
140
+ "learning_rate": 5.475e-05,
141
+ "loss": 0.8434,
142
+ "step": 220
143
+ },
144
+ {
145
+ "grad_norm": 0.5140582323074341,
146
+ "learning_rate": 5.725e-05,
147
+ "loss": 0.8183,
148
+ "step": 230
149
+ },
150
+ {
151
+ "grad_norm": 0.549572765827179,
152
+ "learning_rate": 5.975000000000001e-05,
153
+ "loss": 0.8053,
154
+ "step": 240
155
+ },
156
+ {
157
+ "grad_norm": 0.4795304536819458,
158
+ "learning_rate": 6.225000000000001e-05,
159
+ "loss": 0.7872,
160
+ "step": 250
161
+ },
162
+ {
163
+ "grad_norm": 0.49798330664634705,
164
+ "learning_rate": 6.475e-05,
165
+ "loss": 0.7817,
166
+ "step": 260
167
+ },
168
+ {
169
+ "grad_norm": 0.49465954303741455,
170
+ "learning_rate": 6.725000000000001e-05,
171
+ "loss": 0.7617,
172
+ "step": 270
173
+ },
174
+ {
175
+ "grad_norm": 0.49877098202705383,
176
+ "learning_rate": 6.975e-05,
177
+ "loss": 0.768,
178
+ "step": 280
179
+ },
180
+ {
181
+ "grad_norm": 0.48488160967826843,
182
+ "learning_rate": 7.225000000000001e-05,
183
+ "loss": 0.7421,
184
+ "step": 290
185
+ },
186
+ {
187
+ "grad_norm": 0.41930460929870605,
188
+ "learning_rate": 7.475000000000001e-05,
189
+ "loss": 0.7365,
190
+ "step": 300
191
+ },
192
+ {
193
+ "grad_norm": 0.45083746314048767,
194
+ "learning_rate": 7.725e-05,
195
+ "loss": 0.7362,
196
+ "step": 310
197
+ },
198
+ {
199
+ "grad_norm": 0.5703641772270203,
200
+ "learning_rate": 7.975e-05,
201
+ "loss": 0.7279,
202
+ "step": 320
203
+ },
204
+ {
205
+ "grad_norm": 0.44921594858169556,
206
+ "learning_rate": 8.225000000000001e-05,
207
+ "loss": 0.7226,
208
+ "step": 330
209
+ },
210
+ {
211
+ "grad_norm": 0.49320295453071594,
212
+ "learning_rate": 8.475000000000001e-05,
213
+ "loss": 0.7074,
214
+ "step": 340
215
+ },
216
+ {
217
+ "grad_norm": 0.5116968750953674,
218
+ "learning_rate": 8.725e-05,
219
+ "loss": 0.7088,
220
+ "step": 350
221
+ },
222
+ {
223
+ "grad_norm": 0.4692336916923523,
224
+ "learning_rate": 8.975e-05,
225
+ "loss": 0.7009,
226
+ "step": 360
227
+ },
228
+ {
229
+ "grad_norm": 0.48190030455589294,
230
+ "learning_rate": 9.225e-05,
231
+ "loss": 0.693,
232
+ "step": 370
233
+ },
234
+ {
235
+ "grad_norm": 0.4116581678390503,
236
+ "learning_rate": 9.475e-05,
237
+ "loss": 0.6832,
238
+ "step": 380
239
+ },
240
+ {
241
+ "grad_norm": 0.5388050675392151,
242
+ "learning_rate": 9.725e-05,
243
+ "loss": 0.6942,
244
+ "step": 390
245
+ },
246
+ {
247
+ "grad_norm": 0.49562445282936096,
248
+ "learning_rate": 9.975000000000001e-05,
249
+ "loss": 0.6676,
250
+ "step": 400
251
+ },
252
+ {
253
+ "grad_norm": 0.45462462306022644,
254
+ "learning_rate": 9.999965398327804e-05,
255
+ "loss": 0.6632,
256
+ "step": 410
257
+ },
258
+ {
259
+ "grad_norm": 0.5462209582328796,
260
+ "learning_rate": 9.999845788223949e-05,
261
+ "loss": 0.6644,
262
+ "step": 420
263
+ },
264
+ {
265
+ "grad_norm": 0.5650207996368408,
266
+ "learning_rate": 9.999640744550616e-05,
267
+ "loss": 0.6584,
268
+ "step": 430
269
+ },
270
+ {
271
+ "grad_norm": 0.47140422463417053,
272
+ "learning_rate": 9.999350270811438e-05,
273
+ "loss": 0.6407,
274
+ "step": 440
275
+ },
276
+ {
277
+ "grad_norm": 0.49553412199020386,
278
+ "learning_rate": 9.99897437196981e-05,
279
+ "loss": 0.6286,
280
+ "step": 450
281
+ },
282
+ {
283
+ "grad_norm": 0.47691163420677185,
284
+ "learning_rate": 9.998513054448802e-05,
285
+ "loss": 0.6125,
286
+ "step": 460
287
+ },
288
+ {
289
+ "grad_norm": 0.4443491995334625,
290
+ "learning_rate": 9.99796632613106e-05,
291
+ "loss": 0.6105,
292
+ "step": 470
293
+ },
294
+ {
295
+ "grad_norm": 0.46679991483688354,
296
+ "learning_rate": 9.997334196358664e-05,
297
+ "loss": 0.5946,
298
+ "step": 480
299
+ },
300
+ {
301
+ "grad_norm": 0.44844189286231995,
302
+ "learning_rate": 9.996616675932966e-05,
303
+ "loss": 0.593,
304
+ "step": 490
305
+ },
306
+ {
307
+ "grad_norm": 0.49080345034599304,
308
+ "learning_rate": 9.995813777114411e-05,
309
+ "loss": 0.5696,
310
+ "step": 500
311
+ },
312
+ {
313
+ "grad_norm": 0.4742695093154907,
314
+ "learning_rate": 9.994925513622324e-05,
315
+ "loss": 0.5737,
316
+ "step": 510
317
+ },
318
+ {
319
+ "grad_norm": 0.5021588206291199,
320
+ "learning_rate": 9.993951900634678e-05,
321
+ "loss": 0.5497,
322
+ "step": 520
323
+ },
324
+ {
325
+ "grad_norm": 0.5086240172386169,
326
+ "learning_rate": 9.992892954787831e-05,
327
+ "loss": 0.5591,
328
+ "step": 530
329
+ },
330
+ {
331
+ "grad_norm": 0.43771207332611084,
332
+ "learning_rate": 9.991748694176246e-05,
333
+ "loss": 0.5662,
334
+ "step": 540
335
+ },
336
+ {
337
+ "grad_norm": 0.5499500036239624,
338
+ "learning_rate": 9.990519138352184e-05,
339
+ "loss": 0.5316,
340
+ "step": 550
341
+ },
342
+ {
343
+ "grad_norm": 0.5390596389770508,
344
+ "learning_rate": 9.989204308325356e-05,
345
+ "loss": 0.5385,
346
+ "step": 560
347
+ },
348
+ {
349
+ "grad_norm": 0.4333820343017578,
350
+ "learning_rate": 9.987804226562582e-05,
351
+ "loss": 0.5453,
352
+ "step": 570
353
+ },
354
+ {
355
+ "grad_norm": 0.5083648562431335,
356
+ "learning_rate": 9.986318916987395e-05,
357
+ "loss": 0.5327,
358
+ "step": 580
359
+ },
360
+ {
361
+ "grad_norm": 0.5709294080734253,
362
+ "learning_rate": 9.984748404979642e-05,
363
+ "loss": 0.5125,
364
+ "step": 590
365
+ },
366
+ {
367
+ "grad_norm": 0.42230120301246643,
368
+ "learning_rate": 9.983092717375033e-05,
369
+ "loss": 0.5184,
370
+ "step": 600
371
+ },
372
+ {
373
+ "grad_norm": 0.4914284348487854,
374
+ "learning_rate": 9.981351882464706e-05,
375
+ "loss": 0.5199,
376
+ "step": 610
377
+ },
378
+ {
379
+ "grad_norm": 0.5409766435623169,
380
+ "learning_rate": 9.979525929994727e-05,
381
+ "loss": 0.5106,
382
+ "step": 620
383
+ },
384
+ {
385
+ "grad_norm": 0.4785204231739044,
386
+ "learning_rate": 9.977614891165581e-05,
387
+ "loss": 0.4927,
388
+ "step": 630
389
+ },
390
+ {
391
+ "grad_norm": 0.488227516412735,
392
+ "learning_rate": 9.975618798631653e-05,
393
+ "loss": 0.4776,
394
+ "step": 640
395
+ },
396
+ {
397
+ "grad_norm": 0.47641605138778687,
398
+ "learning_rate": 9.973537686500656e-05,
399
+ "loss": 0.4763,
400
+ "step": 650
401
+ },
402
+ {
403
+ "grad_norm": 0.5210241079330444,
404
+ "learning_rate": 9.971371590333053e-05,
405
+ "loss": 0.4695,
406
+ "step": 660
407
+ },
408
+ {
409
+ "grad_norm": 0.4943992495536804,
410
+ "learning_rate": 9.969120547141453e-05,
411
+ "loss": 0.4409,
412
+ "step": 670
413
+ },
414
+ {
415
+ "grad_norm": 0.5088433623313904,
416
+ "learning_rate": 9.966784595389971e-05,
417
+ "loss": 0.4589,
418
+ "step": 680
419
+ },
420
+ {
421
+ "grad_norm": 0.5234819650650024,
422
+ "learning_rate": 9.96436377499358e-05,
423
+ "loss": 0.4337,
424
+ "step": 690
425
+ },
426
+ {
427
+ "grad_norm": 0.5647430419921875,
428
+ "learning_rate": 9.961858127317419e-05,
429
+ "loss": 0.4322,
430
+ "step": 700
431
+ },
432
+ {
433
+ "grad_norm": 0.5021084547042847,
434
+ "learning_rate": 9.959267695176096e-05,
435
+ "loss": 0.4359,
436
+ "step": 710
437
+ },
438
+ {
439
+ "grad_norm": 0.5201300978660583,
440
+ "learning_rate": 9.956592522832946e-05,
441
+ "loss": 0.4188,
442
+ "step": 720
443
+ },
444
+ {
445
+ "grad_norm": 0.543361246585846,
446
+ "learning_rate": 9.953832655999284e-05,
447
+ "loss": 0.4338,
448
+ "step": 730
449
+ },
450
+ {
451
+ "grad_norm": 0.4988709092140198,
452
+ "learning_rate": 9.950988141833621e-05,
453
+ "loss": 0.4113,
454
+ "step": 740
455
+ },
456
+ {
457
+ "grad_norm": 0.5692809820175171,
458
+ "learning_rate": 9.948059028940857e-05,
459
+ "loss": 0.4125,
460
+ "step": 750
461
+ },
462
+ {
463
+ "grad_norm": 0.5609340667724609,
464
+ "learning_rate": 9.945045367371446e-05,
465
+ "loss": 0.4053,
466
+ "step": 760
467
+ },
468
+ {
469
+ "grad_norm": 0.4897220730781555,
470
+ "learning_rate": 9.941947208620551e-05,
471
+ "loss": 0.3987,
472
+ "step": 770
473
+ },
474
+ {
475
+ "grad_norm": 0.4870211184024811,
476
+ "learning_rate": 9.938764605627158e-05,
477
+ "loss": 0.3969,
478
+ "step": 780
479
+ },
480
+ {
481
+ "grad_norm": 0.4903718829154968,
482
+ "learning_rate": 9.935497612773167e-05,
483
+ "loss": 0.3723,
484
+ "step": 790
485
+ },
486
+ {
487
+ "grad_norm": 0.5167405009269714,
488
+ "learning_rate": 9.932146285882477e-05,
489
+ "loss": 0.3843,
490
+ "step": 800
491
+ },
492
+ {
493
+ "grad_norm": 0.5541518330574036,
494
+ "learning_rate": 9.928710682220017e-05,
495
+ "loss": 0.3702,
496
+ "step": 810
497
+ },
498
+ {
499
+ "grad_norm": 0.4483676254749298,
500
+ "learning_rate": 9.925190860490772e-05,
501
+ "loss": 0.3838,
502
+ "step": 820
503
+ },
504
+ {
505
+ "grad_norm": 0.5804914236068726,
506
+ "learning_rate": 9.921586880838784e-05,
507
+ "loss": 0.3744,
508
+ "step": 830
509
+ },
510
+ {
511
+ "grad_norm": 0.5291492938995361,
512
+ "learning_rate": 9.917898804846124e-05,
513
+ "loss": 0.3503,
514
+ "step": 840
515
+ },
516
+ {
517
+ "grad_norm": 0.51744145154953,
518
+ "learning_rate": 9.914126695531833e-05,
519
+ "loss": 0.3489,
520
+ "step": 850
521
+ },
522
+ {
523
+ "grad_norm": 0.5362523198127747,
524
+ "learning_rate": 9.910270617350853e-05,
525
+ "loss": 0.3564,
526
+ "step": 860
527
+ },
528
+ {
529
+ "grad_norm": 0.5475881099700928,
530
+ "learning_rate": 9.90633063619292e-05,
531
+ "loss": 0.3337,
532
+ "step": 870
533
+ },
534
+ {
535
+ "grad_norm": 0.5442760586738586,
536
+ "learning_rate": 9.90230681938144e-05,
537
+ "loss": 0.3286,
538
+ "step": 880
539
+ },
540
+ {
541
+ "grad_norm": 0.5640562772750854,
542
+ "learning_rate": 9.898199235672341e-05,
543
+ "loss": 0.3258,
544
+ "step": 890
545
+ },
546
+ {
547
+ "grad_norm": 0.46321648359298706,
548
+ "learning_rate": 9.894007955252898e-05,
549
+ "loss": 0.3182,
550
+ "step": 900
551
+ },
552
+ {
553
+ "grad_norm": 0.5862190127372742,
554
+ "learning_rate": 9.889733049740527e-05,
555
+ "loss": 0.3136,
556
+ "step": 910
557
+ },
558
+ {
559
+ "grad_norm": 0.4585809111595154,
560
+ "learning_rate": 9.885374592181567e-05,
561
+ "loss": 0.3107,
562
+ "step": 920
563
+ },
564
+ {
565
+ "grad_norm": 0.49978870153427124,
566
+ "learning_rate": 9.880932657050033e-05,
567
+ "loss": 0.3285,
568
+ "step": 930
569
+ },
570
+ {
571
+ "grad_norm": 0.5572903752326965,
572
+ "learning_rate": 9.876407320246342e-05,
573
+ "loss": 0.2857,
574
+ "step": 940
575
+ },
576
+ {
577
+ "grad_norm": 0.6362513303756714,
578
+ "learning_rate": 9.871798659096014e-05,
579
+ "loss": 0.2846,
580
+ "step": 950
581
+ },
582
+ {
583
+ "grad_norm": 0.5828243494033813,
584
+ "learning_rate": 9.867106752348351e-05,
585
+ "loss": 0.3007,
586
+ "step": 960
587
+ },
588
+ {
589
+ "grad_norm": 0.5025661587715149,
590
+ "learning_rate": 9.862331680175096e-05,
591
+ "loss": 0.2832,
592
+ "step": 970
593
+ },
594
+ {
595
+ "grad_norm": 0.48511457443237305,
596
+ "learning_rate": 9.857473524169056e-05,
597
+ "loss": 0.2898,
598
+ "step": 980
599
+ },
600
+ {
601
+ "grad_norm": 0.4740370213985443,
602
+ "learning_rate": 9.852532367342713e-05,
603
+ "loss": 0.2775,
604
+ "step": 990
605
+ },
606
+ {
607
+ "grad_norm": 0.6092087626457214,
608
+ "learning_rate": 9.847508294126804e-05,
609
+ "loss": 0.2773,
610
+ "step": 1000
611
+ },
612
+ {
613
+ "grad_norm": 0.5433304905891418,
614
+ "learning_rate": 9.842401390368879e-05,
615
+ "loss": 0.291,
616
+ "step": 1010
617
+ },
618
+ {
619
+ "grad_norm": 0.5834023952484131,
620
+ "learning_rate": 9.837211743331833e-05,
621
+ "loss": 0.261,
622
+ "step": 1020
623
+ },
624
+ {
625
+ "grad_norm": 0.5059443116188049,
626
+ "learning_rate": 9.831939441692415e-05,
627
+ "loss": 0.2635,
628
+ "step": 1030
629
+ },
630
+ {
631
+ "grad_norm": 0.5678706169128418,
632
+ "learning_rate": 9.826584575539712e-05,
633
+ "loss": 0.2547,
634
+ "step": 1040
635
+ },
636
+ {
637
+ "grad_norm": 0.5495197772979736,
638
+ "learning_rate": 9.821147236373614e-05,
639
+ "loss": 0.253,
640
+ "step": 1050
641
+ },
642
+ {
643
+ "grad_norm": 0.6031380891799927,
644
+ "learning_rate": 9.815627517103243e-05,
645
+ "loss": 0.2604,
646
+ "step": 1060
647
+ },
648
+ {
649
+ "grad_norm": 0.6935045719146729,
650
+ "learning_rate": 9.810025512045373e-05,
651
+ "loss": 0.2325,
652
+ "step": 1070
653
+ },
654
+ {
655
+ "grad_norm": 0.48255491256713867,
656
+ "learning_rate": 9.804341316922814e-05,
657
+ "loss": 0.2528,
658
+ "step": 1080
659
+ },
660
+ {
661
+ "grad_norm": 0.6171072125434875,
662
+ "learning_rate": 9.798575028862778e-05,
663
+ "loss": 0.2426,
664
+ "step": 1090
665
+ },
666
+ {
667
+ "grad_norm": 0.5878401398658752,
668
+ "learning_rate": 9.792726746395218e-05,
669
+ "loss": 0.2276,
670
+ "step": 1100
671
+ },
672
+ {
673
+ "grad_norm": 0.4764340817928314,
674
+ "learning_rate": 9.786796569451145e-05,
675
+ "loss": 0.2242,
676
+ "step": 1110
677
+ },
678
+ {
679
+ "grad_norm": 0.6153343915939331,
680
+ "learning_rate": 9.78078459936092e-05,
681
+ "loss": 0.2165,
682
+ "step": 1120
683
+ },
684
+ {
685
+ "grad_norm": 0.6239497661590576,
686
+ "learning_rate": 9.774690938852525e-05,
687
+ "loss": 0.216,
688
+ "step": 1130
689
+ },
690
+ {
691
+ "grad_norm": 0.6034437417984009,
692
+ "learning_rate": 9.768515692049806e-05,
693
+ "loss": 0.2053,
694
+ "step": 1140
695
+ },
696
+ {
697
+ "grad_norm": 0.6335176825523376,
698
+ "learning_rate": 9.762258964470694e-05,
699
+ "loss": 0.2202,
700
+ "step": 1150
701
+ },
702
+ {
703
+ "grad_norm": 0.4372454285621643,
704
+ "learning_rate": 9.755920863025397e-05,
705
+ "loss": 0.1983,
706
+ "step": 1160
707
+ },
708
+ {
709
+ "grad_norm": 0.5647298097610474,
710
+ "learning_rate": 9.749501496014583e-05,
711
+ "loss": 0.2098,
712
+ "step": 1170
713
+ },
714
+ {
715
+ "grad_norm": 0.5082420706748962,
716
+ "learning_rate": 9.743000973127523e-05,
717
+ "loss": 0.2106,
718
+ "step": 1180
719
+ },
720
+ {
721
+ "grad_norm": 0.5708104372024536,
722
+ "learning_rate": 9.736419405440218e-05,
723
+ "loss": 0.2063,
724
+ "step": 1190
725
+ },
726
+ {
727
+ "grad_norm": 0.5945060849189758,
728
+ "learning_rate": 9.729756905413499e-05,
729
+ "loss": 0.2048,
730
+ "step": 1200
731
+ },
732
+ {
733
+ "grad_norm": 0.6442683339118958,
734
+ "learning_rate": 9.723013586891108e-05,
735
+ "loss": 0.2139,
736
+ "step": 1210
737
+ },
738
+ {
739
+ "grad_norm": 0.5828225016593933,
740
+ "learning_rate": 9.716189565097758e-05,
741
+ "loss": 0.2096,
742
+ "step": 1220
743
+ },
744
+ {
745
+ "grad_norm": 0.5434322357177734,
746
+ "learning_rate": 9.709284956637147e-05,
747
+ "loss": 0.1809,
748
+ "step": 1230
749
+ },
750
+ {
751
+ "grad_norm": 0.6088411808013916,
752
+ "learning_rate": 9.702299879489989e-05,
753
+ "loss": 0.1871,
754
+ "step": 1240
755
+ },
756
+ {
757
+ "grad_norm": 0.5865687131881714,
758
+ "learning_rate": 9.695234453011977e-05,
759
+ "loss": 0.1658,
760
+ "step": 1250
761
+ },
762
+ {
763
+ "grad_norm": 0.5643607974052429,
764
+ "learning_rate": 9.688088797931754e-05,
765
+ "loss": 0.1589,
766
+ "step": 1260
767
+ },
768
+ {
769
+ "grad_norm": 0.5126287341117859,
770
+ "learning_rate": 9.680863036348851e-05,
771
+ "loss": 0.1544,
772
+ "step": 1270
773
+ },
774
+ {
775
+ "grad_norm": 0.5779969096183777,
776
+ "learning_rate": 9.673557291731598e-05,
777
+ "loss": 0.1705,
778
+ "step": 1280
779
+ },
780
+ {
781
+ "grad_norm": 0.43762582540512085,
782
+ "learning_rate": 9.666171688915014e-05,
783
+ "loss": 0.1613,
784
+ "step": 1290
785
+ },
786
+ {
787
+ "grad_norm": 0.5465708374977112,
788
+ "learning_rate": 9.65870635409867e-05,
789
+ "loss": 0.1585,
790
+ "step": 1300
791
+ },
792
+ {
793
+ "grad_norm": 0.5057981014251709,
794
+ "learning_rate": 9.651161414844544e-05,
795
+ "loss": 0.1463,
796
+ "step": 1310
797
+ },
798
+ {
799
+ "grad_norm": 0.621025025844574,
800
+ "learning_rate": 9.64353700007483e-05,
801
+ "loss": 0.1549,
802
+ "step": 1320
803
+ },
804
+ {
805
+ "grad_norm": 0.47905275225639343,
806
+ "learning_rate": 9.635833240069735e-05,
807
+ "loss": 0.1593,
808
+ "step": 1330
809
+ },
810
+ {
811
+ "grad_norm": 0.5176740288734436,
812
+ "learning_rate": 9.62805026646527e-05,
813
+ "loss": 0.1762,
814
+ "step": 1340
815
+ },
816
+ {
817
+ "grad_norm": 0.527809739112854,
818
+ "learning_rate": 9.620188212250976e-05,
819
+ "loss": 0.1417,
820
+ "step": 1350
821
+ },
822
+ {
823
+ "grad_norm": 0.49889054894447327,
824
+ "learning_rate": 9.612247211767667e-05,
825
+ "loss": 0.1601,
826
+ "step": 1360
827
+ },
828
+ {
829
+ "grad_norm": 0.5611317157745361,
830
+ "learning_rate": 9.604227400705133e-05,
831
+ "loss": 0.1463,
832
+ "step": 1370
833
+ },
834
+ {
835
+ "grad_norm": 0.5340481996536255,
836
+ "learning_rate": 9.596128916099814e-05,
837
+ "loss": 0.1413,
838
+ "step": 1380
839
+ },
840
+ {
841
+ "grad_norm": 0.6411542892456055,
842
+ "learning_rate": 9.587951896332471e-05,
843
+ "loss": 0.1447,
844
+ "step": 1390
845
+ },
846
+ {
847
+ "grad_norm": 0.4421260952949524,
848
+ "learning_rate": 9.579696481125811e-05,
849
+ "loss": 0.138,
850
+ "step": 1400
851
+ },
852
+ {
853
+ "grad_norm": 0.4474070072174072,
854
+ "learning_rate": 9.5713628115421e-05,
855
+ "loss": 0.1574,
856
+ "step": 1410
857
+ },
858
+ {
859
+ "grad_norm": 0.5751212239265442,
860
+ "learning_rate": 9.562951029980758e-05,
861
+ "loss": 0.1414,
862
+ "step": 1420
863
+ },
864
+ {
865
+ "grad_norm": 0.5682447552680969,
866
+ "learning_rate": 9.554461280175924e-05,
867
+ "loss": 0.1433,
868
+ "step": 1430
869
+ },
870
+ {
871
+ "grad_norm": 0.5111957788467407,
872
+ "learning_rate": 9.545893707193997e-05,
873
+ "loss": 0.1184,
874
+ "step": 1440
875
+ },
876
+ {
877
+ "grad_norm": 0.530728280544281,
878
+ "learning_rate": 9.537248457431165e-05,
879
+ "loss": 0.133,
880
+ "step": 1450
881
+ },
882
+ {
883
+ "grad_norm": 0.44963324069976807,
884
+ "learning_rate": 9.528525678610886e-05,
885
+ "loss": 0.1277,
886
+ "step": 1460
887
+ },
888
+ {
889
+ "grad_norm": 0.4668172001838684,
890
+ "learning_rate": 9.519725519781391e-05,
891
+ "loss": 0.1032,
892
+ "step": 1470
893
+ },
894
+ {
895
+ "grad_norm": 0.4475119709968567,
896
+ "learning_rate": 9.510848131313106e-05,
897
+ "loss": 0.1093,
898
+ "step": 1480
899
+ },
900
+ {
901
+ "grad_norm": 0.6044496297836304,
902
+ "learning_rate": 9.501893664896113e-05,
903
+ "loss": 0.1104,
904
+ "step": 1490
905
+ },
906
+ {
907
+ "grad_norm": 0.56264728307724,
908
+ "learning_rate": 9.492862273537533e-05,
909
+ "loss": 0.1264,
910
+ "step": 1500
911
+ },
912
+ {
913
+ "grad_norm": 0.4884665310382843,
914
+ "learning_rate": 9.483754111558927e-05,
915
+ "loss": 0.097,
916
+ "step": 1510
917
+ },
918
+ {
919
+ "grad_norm": 0.5819653272628784,
920
+ "learning_rate": 9.474569334593652e-05,
921
+ "loss": 0.1118,
922
+ "step": 1520
923
+ },
924
+ {
925
+ "grad_norm": 0.4970199465751648,
926
+ "learning_rate": 9.465308099584208e-05,
927
+ "loss": 0.1157,
928
+ "step": 1530
929
+ },
930
+ {
931
+ "grad_norm": 0.6104246377944946,
932
+ "learning_rate": 9.455970564779543e-05,
933
+ "loss": 0.1017,
934
+ "step": 1540
935
+ },
936
+ {
937
+ "grad_norm": 0.49025946855545044,
938
+ "learning_rate": 9.446556889732368e-05,
939
+ "loss": 0.1259,
940
+ "step": 1550
941
+ },
942
+ {
943
+ "grad_norm": 0.530771017074585,
944
+ "learning_rate": 9.437067235296418e-05,
945
+ "loss": 0.0933,
946
+ "step": 1560
947
+ },
948
+ {
949
+ "grad_norm": 0.5459779500961304,
950
+ "learning_rate": 9.427501763623698e-05,
951
+ "loss": 0.1033,
952
+ "step": 1570
953
+ },
954
+ {
955
+ "grad_norm": 0.505168080329895,
956
+ "learning_rate": 9.417860638161733e-05,
957
+ "loss": 0.1036,
958
+ "step": 1580
959
+ },
960
+ {
961
+ "grad_norm": 0.470519095659256,
962
+ "learning_rate": 9.408144023650754e-05,
963
+ "loss": 0.1073,
964
+ "step": 1590
965
+ },
966
+ {
967
+ "grad_norm": 0.43059536814689636,
968
+ "learning_rate": 9.398352086120891e-05,
969
+ "loss": 0.1074,
970
+ "step": 1600
971
+ },
972
+ {
973
+ "grad_norm": 0.5149725079536438,
974
+ "learning_rate": 9.388484992889346e-05,
975
+ "loss": 0.1144,
976
+ "step": 1610
977
+ },
978
+ {
979
+ "grad_norm": 0.4280184209346771,
980
+ "learning_rate": 9.378542912557513e-05,
981
+ "loss": 0.1083,
982
+ "step": 1620
983
+ },
984
+ {
985
+ "grad_norm": 0.5570804476737976,
986
+ "learning_rate": 9.368526015008116e-05,
987
+ "loss": 0.1108,
988
+ "step": 1630
989
+ },
990
+ {
991
+ "grad_norm": 0.4739329218864441,
992
+ "learning_rate": 9.358434471402296e-05,
993
+ "loss": 0.1037,
994
+ "step": 1640
995
+ },
996
+ {
997
+ "grad_norm": 0.5252929329872131,
998
+ "learning_rate": 9.348268454176687e-05,
999
+ "loss": 0.0991,
1000
+ "step": 1650
1001
+ },
1002
+ {
1003
+ "grad_norm": 0.5003798604011536,
1004
+ "learning_rate": 9.33802813704048e-05,
1005
+ "loss": 0.1208,
1006
+ "step": 1660
1007
+ },
1008
+ {
1009
+ "grad_norm": 0.490064412355423,
1010
+ "learning_rate": 9.327713694972436e-05,
1011
+ "loss": 0.1025,
1012
+ "step": 1670
1013
+ },
1014
+ {
1015
+ "grad_norm": 0.4524703919887543,
1016
+ "learning_rate": 9.317325304217914e-05,
1017
+ "loss": 0.1008,
1018
+ "step": 1680
1019
+ },
1020
+ {
1021
+ "grad_norm": 0.5097053050994873,
1022
+ "learning_rate": 9.306863142285848e-05,
1023
+ "loss": 0.129,
1024
+ "step": 1690
1025
+ },
1026
+ {
1027
+ "grad_norm": 0.5148838758468628,
1028
+ "learning_rate": 9.29632738794572e-05,
1029
+ "loss": 0.1062,
1030
+ "step": 1700
1031
+ },
1032
+ {
1033
+ "grad_norm": 0.496631383895874,
1034
+ "learning_rate": 9.285718221224504e-05,
1035
+ "loss": 0.0989,
1036
+ "step": 1710
1037
+ },
1038
+ {
1039
+ "grad_norm": 0.4766086935997009,
1040
+ "learning_rate": 9.275035823403584e-05,
1041
+ "loss": 0.1083,
1042
+ "step": 1720
1043
+ },
1044
+ {
1045
+ "grad_norm": 0.45920777320861816,
1046
+ "learning_rate": 9.264280377015669e-05,
1047
+ "loss": 0.0912,
1048
+ "step": 1730
1049
+ },
1050
+ {
1051
+ "grad_norm": 0.47609496116638184,
1052
+ "learning_rate": 9.25345206584166e-05,
1053
+ "loss": 0.1116,
1054
+ "step": 1740
1055
+ },
1056
+ {
1057
+ "grad_norm": 0.46725594997406006,
1058
+ "learning_rate": 9.242551074907519e-05,
1059
+ "loss": 0.0905,
1060
+ "step": 1750
1061
+ },
1062
+ {
1063
+ "grad_norm": 0.4950612187385559,
1064
+ "learning_rate": 9.231577590481104e-05,
1065
+ "loss": 0.0993,
1066
+ "step": 1760
1067
+ },
1068
+ {
1069
+ "grad_norm": 0.4656715393066406,
1070
+ "learning_rate": 9.220531800068988e-05,
1071
+ "loss": 0.0982,
1072
+ "step": 1770
1073
+ },
1074
+ {
1075
+ "grad_norm": 0.4854837954044342,
1076
+ "learning_rate": 9.209413892413252e-05,
1077
+ "loss": 0.0885,
1078
+ "step": 1780
1079
+ },
1080
+ {
1081
+ "grad_norm": 0.4637538492679596,
1082
+ "learning_rate": 9.198224057488262e-05,
1083
+ "loss": 0.1131,
1084
+ "step": 1790
1085
+ },
1086
+ {
1087
+ "grad_norm": 0.5098331570625305,
1088
+ "learning_rate": 9.186962486497425e-05,
1089
+ "loss": 0.1062,
1090
+ "step": 1800
1091
+ },
1092
+ {
1093
+ "grad_norm": 0.4649335443973541,
1094
+ "learning_rate": 9.175629371869918e-05,
1095
+ "loss": 0.0958,
1096
+ "step": 1810
1097
+ },
1098
+ {
1099
+ "grad_norm": 0.4035417139530182,
1100
+ "learning_rate": 9.164224907257395e-05,
1101
+ "loss": 0.0803,
1102
+ "step": 1820
1103
+ },
1104
+ {
1105
+ "grad_norm": 0.46596014499664307,
1106
+ "learning_rate": 9.152749287530698e-05,
1107
+ "loss": 0.0988,
1108
+ "step": 1830
1109
+ },
1110
+ {
1111
+ "grad_norm": 0.46866992115974426,
1112
+ "learning_rate": 9.1412027087765e-05,
1113
+ "loss": 0.1076,
1114
+ "step": 1840
1115
+ },
1116
+ {
1117
+ "grad_norm": 0.438577264547348,
1118
+ "learning_rate": 9.129585368293975e-05,
1119
+ "loss": 0.0886,
1120
+ "step": 1850
1121
+ },
1122
+ {
1123
+ "grad_norm": 0.5148866176605225,
1124
+ "learning_rate": 9.117897464591423e-05,
1125
+ "loss": 0.0952,
1126
+ "step": 1860
1127
+ },
1128
+ {
1129
+ "grad_norm": 0.495799720287323,
1130
+ "learning_rate": 9.106139197382864e-05,
1131
+ "loss": 0.0832,
1132
+ "step": 1870
1133
+ },
1134
+ {
1135
+ "grad_norm": 0.46936115622520447,
1136
+ "learning_rate": 9.094310767584646e-05,
1137
+ "loss": 0.0892,
1138
+ "step": 1880
1139
+ },
1140
+ {
1141
+ "grad_norm": 0.6180658936500549,
1142
+ "learning_rate": 9.082412377311998e-05,
1143
+ "loss": 0.1078,
1144
+ "step": 1890
1145
+ },
1146
+ {
1147
+ "grad_norm": 0.44259411096572876,
1148
+ "learning_rate": 9.070444229875581e-05,
1149
+ "loss": 0.102,
1150
+ "step": 1900
1151
+ },
1152
+ {
1153
+ "grad_norm": 0.4537111222743988,
1154
+ "learning_rate": 9.058406529778012e-05,
1155
+ "loss": 0.0913,
1156
+ "step": 1910
1157
+ },
1158
+ {
1159
+ "grad_norm": 0.38069647550582886,
1160
+ "learning_rate": 9.046299482710374e-05,
1161
+ "loss": 0.0761,
1162
+ "step": 1920
1163
+ },
1164
+ {
1165
+ "grad_norm": 0.5153244137763977,
1166
+ "learning_rate": 9.034123295548695e-05,
1167
+ "loss": 0.0945,
1168
+ "step": 1930
1169
+ },
1170
+ {
1171
+ "grad_norm": 0.511578381061554,
1172
+ "learning_rate": 9.021878176350423e-05,
1173
+ "loss": 0.0776,
1174
+ "step": 1940
1175
+ },
1176
+ {
1177
+ "grad_norm": 0.46295058727264404,
1178
+ "learning_rate": 9.009564334350855e-05,
1179
+ "loss": 0.096,
1180
+ "step": 1950
1181
+ },
1182
+ {
1183
+ "grad_norm": 0.4099852740764618,
1184
+ "learning_rate": 8.997181979959577e-05,
1185
+ "loss": 0.0941,
1186
+ "step": 1960
1187
+ },
1188
+ {
1189
+ "grad_norm": 0.4902161657810211,
1190
+ "learning_rate": 8.984731324756863e-05,
1191
+ "loss": 0.0986,
1192
+ "step": 1970
1193
+ },
1194
+ {
1195
+ "grad_norm": 0.4635726809501648,
1196
+ "learning_rate": 8.972212581490056e-05,
1197
+ "loss": 0.0958,
1198
+ "step": 1980
1199
+ },
1200
+ {
1201
+ "grad_norm": 0.5433241128921509,
1202
+ "learning_rate": 8.959625964069938e-05,
1203
+ "loss": 0.0864,
1204
+ "step": 1990
1205
+ },
1206
+ {
1207
+ "grad_norm": 0.49988406896591187,
1208
+ "learning_rate": 8.946971687567074e-05,
1209
+ "loss": 0.0985,
1210
+ "step": 2000
1211
+ },
1212
+ {
1213
+ "grad_norm": 0.48625728487968445,
1214
+ "learning_rate": 8.934249968208134e-05,
1215
+ "loss": 0.0872,
1216
+ "step": 2010
1217
+ },
1218
+ {
1219
+ "grad_norm": 0.535000205039978,
1220
+ "learning_rate": 8.921461023372204e-05,
1221
+ "loss": 0.0825,
1222
+ "step": 2020
1223
+ },
1224
+ {
1225
+ "grad_norm": 0.48990345001220703,
1226
+ "learning_rate": 8.908605071587064e-05,
1227
+ "loss": 0.0924,
1228
+ "step": 2030
1229
+ },
1230
+ {
1231
+ "grad_norm": 0.3985830545425415,
1232
+ "learning_rate": 8.895682332525456e-05,
1233
+ "loss": 0.0854,
1234
+ "step": 2040
1235
+ },
1236
+ {
1237
+ "grad_norm": 0.5026576519012451,
1238
+ "learning_rate": 8.882693027001341e-05,
1239
+ "loss": 0.0832,
1240
+ "step": 2050
1241
+ },
1242
+ {
1243
+ "grad_norm": 0.4023509621620178,
1244
+ "learning_rate": 8.869637376966109e-05,
1245
+ "loss": 0.0929,
1246
+ "step": 2060
1247
+ },
1248
+ {
1249
+ "grad_norm": 0.4540936052799225,
1250
+ "learning_rate": 8.856515605504796e-05,
1251
+ "loss": 0.0915,
1252
+ "step": 2070
1253
+ },
1254
+ {
1255
+ "grad_norm": 0.44030070304870605,
1256
+ "learning_rate": 8.843327936832274e-05,
1257
+ "loss": 0.0926,
1258
+ "step": 2080
1259
+ },
1260
+ {
1261
+ "grad_norm": 0.41376999020576477,
1262
+ "learning_rate": 8.830074596289414e-05,
1263
+ "loss": 0.0785,
1264
+ "step": 2090
1265
+ },
1266
+ {
1267
+ "grad_norm": 0.42276647686958313,
1268
+ "learning_rate": 8.816755810339238e-05,
1269
+ "loss": 0.0859,
1270
+ "step": 2100
1271
+ },
1272
+ {
1273
+ "grad_norm": 0.4622848331928253,
1274
+ "learning_rate": 8.803371806563052e-05,
1275
+ "loss": 0.0958,
1276
+ "step": 2110
1277
+ },
1278
+ {
1279
+ "grad_norm": 0.5632322430610657,
1280
+ "learning_rate": 8.789922813656551e-05,
1281
+ "loss": 0.1089,
1282
+ "step": 2120
1283
+ },
1284
+ {
1285
+ "grad_norm": 0.5234602689743042,
1286
+ "learning_rate": 8.776409061425919e-05,
1287
+ "loss": 0.1004,
1288
+ "step": 2130
1289
+ },
1290
+ {
1291
+ "grad_norm": 0.45670509338378906,
1292
+ "learning_rate": 8.762830780783893e-05,
1293
+ "loss": 0.0865,
1294
+ "step": 2140
1295
+ },
1296
+ {
1297
+ "grad_norm": 0.39345845580101013,
1298
+ "learning_rate": 8.749188203745826e-05,
1299
+ "loss": 0.0787,
1300
+ "step": 2150
1301
+ },
1302
+ {
1303
+ "grad_norm": 0.4619978368282318,
1304
+ "learning_rate": 8.73548156342572e-05,
1305
+ "loss": 0.1015,
1306
+ "step": 2160
1307
+ },
1308
+ {
1309
+ "grad_norm": 0.5216123461723328,
1310
+ "learning_rate": 8.721711094032239e-05,
1311
+ "loss": 0.0736,
1312
+ "step": 2170
1313
+ },
1314
+ {
1315
+ "grad_norm": 0.4375033378601074,
1316
+ "learning_rate": 8.707877030864712e-05,
1317
+ "loss": 0.0662,
1318
+ "step": 2180
1319
+ },
1320
+ {
1321
+ "grad_norm": 0.48623722791671753,
1322
+ "learning_rate": 8.693979610309106e-05,
1323
+ "loss": 0.0833,
1324
+ "step": 2190
1325
+ },
1326
+ {
1327
+ "grad_norm": 0.45685988664627075,
1328
+ "learning_rate": 8.680019069834e-05,
1329
+ "loss": 0.0807,
1330
+ "step": 2200
1331
+ },
1332
+ {
1333
+ "grad_norm": 0.5057324171066284,
1334
+ "learning_rate": 8.665995647986506e-05,
1335
+ "loss": 0.095,
1336
+ "step": 2210
1337
+ },
1338
+ {
1339
+ "grad_norm": 0.45437267422676086,
1340
+ "learning_rate": 8.651909584388214e-05,
1341
+ "loss": 0.0879,
1342
+ "step": 2220
1343
+ },
1344
+ {
1345
+ "grad_norm": 0.4531037509441376,
1346
+ "learning_rate": 8.637761119731086e-05,
1347
+ "loss": 0.0901,
1348
+ "step": 2230
1349
+ },
1350
+ {
1351
+ "grad_norm": 0.44763481616973877,
1352
+ "learning_rate": 8.623550495773347e-05,
1353
+ "loss": 0.0816,
1354
+ "step": 2240
1355
+ },
1356
+ {
1357
+ "grad_norm": 0.4565325677394867,
1358
+ "learning_rate": 8.609277955335351e-05,
1359
+ "loss": 0.0893,
1360
+ "step": 2250
1361
+ },
1362
+ {
1363
+ "grad_norm": 0.47201937437057495,
1364
+ "learning_rate": 8.594943742295436e-05,
1365
+ "loss": 0.103,
1366
+ "step": 2260
1367
+ },
1368
+ {
1369
+ "grad_norm": 0.4712059497833252,
1370
+ "learning_rate": 8.58054810158575e-05,
1371
+ "loss": 0.0962,
1372
+ "step": 2270
1373
+ },
1374
+ {
1375
+ "grad_norm": 0.46158963441848755,
1376
+ "learning_rate": 8.566091279188078e-05,
1377
+ "loss": 0.0895,
1378
+ "step": 2280
1379
+ },
1380
+ {
1381
+ "grad_norm": 0.5252808332443237,
1382
+ "learning_rate": 8.551573522129626e-05,
1383
+ "loss": 0.0946,
1384
+ "step": 2290
1385
+ },
1386
+ {
1387
+ "grad_norm": 0.4154678285121918,
1388
+ "learning_rate": 8.536995078478805e-05,
1389
+ "loss": 0.0874,
1390
+ "step": 2300
1391
+ },
1392
+ {
1393
+ "grad_norm": 0.4470875561237335,
1394
+ "learning_rate": 8.522356197340993e-05,
1395
+ "loss": 0.0789,
1396
+ "step": 2310
1397
+ },
1398
+ {
1399
+ "grad_norm": 0.467891126871109,
1400
+ "learning_rate": 8.50765712885428e-05,
1401
+ "loss": 0.0935,
1402
+ "step": 2320
1403
+ },
1404
+ {
1405
+ "grad_norm": 0.46739476919174194,
1406
+ "learning_rate": 8.492898124185189e-05,
1407
+ "loss": 0.0824,
1408
+ "step": 2330
1409
+ },
1410
+ {
1411
+ "grad_norm": 0.47141069173812866,
1412
+ "learning_rate": 8.478079435524391e-05,
1413
+ "loss": 0.0843,
1414
+ "step": 2340
1415
+ },
1416
+ {
1417
+ "grad_norm": 0.4634591341018677,
1418
+ "learning_rate": 8.463201316082387e-05,
1419
+ "loss": 0.0875,
1420
+ "step": 2350
1421
+ },
1422
+ {
1423
+ "grad_norm": 0.4812963604927063,
1424
+ "learning_rate": 8.44826402008519e-05,
1425
+ "loss": 0.0809,
1426
+ "step": 2360
1427
+ },
1428
+ {
1429
+ "grad_norm": 0.38806799054145813,
1430
+ "learning_rate": 8.433267802769973e-05,
1431
+ "loss": 0.0945,
1432
+ "step": 2370
1433
+ },
1434
+ {
1435
+ "grad_norm": 0.42866525053977966,
1436
+ "learning_rate": 8.418212920380715e-05,
1437
+ "loss": 0.0815,
1438
+ "step": 2380
1439
+ },
1440
+ {
1441
+ "grad_norm": 0.3920542597770691,
1442
+ "learning_rate": 8.403099630163817e-05,
1443
+ "loss": 0.1031,
1444
+ "step": 2390
1445
+ },
1446
+ {
1447
+ "grad_norm": 0.4197140634059906,
1448
+ "learning_rate": 8.387928190363711e-05,
1449
+ "loss": 0.0772,
1450
+ "step": 2400
1451
+ },
1452
+ {
1453
+ "grad_norm": 0.5181840062141418,
1454
+ "learning_rate": 8.372698860218444e-05,
1455
+ "loss": 0.0901,
1456
+ "step": 2410
1457
+ },
1458
+ {
1459
+ "grad_norm": 0.4828251004219055,
1460
+ "learning_rate": 8.35741189995525e-05,
1461
+ "loss": 0.0852,
1462
+ "step": 2420
1463
+ },
1464
+ {
1465
+ "grad_norm": 0.4589824378490448,
1466
+ "learning_rate": 8.342067570786099e-05,
1467
+ "loss": 0.074,
1468
+ "step": 2430
1469
+ },
1470
+ {
1471
+ "grad_norm": 0.365997850894928,
1472
+ "learning_rate": 8.326666134903241e-05,
1473
+ "loss": 0.0773,
1474
+ "step": 2440
1475
+ },
1476
+ {
1477
+ "grad_norm": 0.40099799633026123,
1478
+ "learning_rate": 8.31120785547472e-05,
1479
+ "loss": 0.0837,
1480
+ "step": 2450
1481
+ },
1482
+ {
1483
+ "grad_norm": 0.3466699421405792,
1484
+ "learning_rate": 8.295692996639886e-05,
1485
+ "loss": 0.0862,
1486
+ "step": 2460
1487
+ },
1488
+ {
1489
+ "grad_norm": 0.3672926127910614,
1490
+ "learning_rate": 8.280121823504863e-05,
1491
+ "loss": 0.0739,
1492
+ "step": 2470
1493
+ },
1494
+ {
1495
+ "grad_norm": 0.3773680329322815,
1496
+ "learning_rate": 8.264494602138042e-05,
1497
+ "loss": 0.0818,
1498
+ "step": 2480
1499
+ },
1500
+ {
1501
+ "grad_norm": 0.49239569902420044,
1502
+ "learning_rate": 8.248811599565515e-05,
1503
+ "loss": 0.0879,
1504
+ "step": 2490
1505
+ },
1506
+ {
1507
+ "grad_norm": 0.40114539861679077,
1508
+ "learning_rate": 8.233073083766531e-05,
1509
+ "loss": 0.0839,
1510
+ "step": 2500
1511
+ },
1512
+ {
1513
+ "grad_norm": 0.4152457118034363,
1514
+ "learning_rate": 8.217279323668895e-05,
1515
+ "loss": 0.0868,
1516
+ "step": 2510
1517
+ },
1518
+ {
1519
+ "grad_norm": 0.384583443403244,
1520
+ "learning_rate": 8.201430589144395e-05,
1521
+ "loss": 0.068,
1522
+ "step": 2520
1523
+ },
1524
+ {
1525
+ "grad_norm": 0.34720176458358765,
1526
+ "learning_rate": 8.185527151004173e-05,
1527
+ "loss": 0.0741,
1528
+ "step": 2530
1529
+ },
1530
+ {
1531
+ "grad_norm": 0.44265294075012207,
1532
+ "learning_rate": 8.169569280994107e-05,
1533
+ "loss": 0.1023,
1534
+ "step": 2540
1535
+ },
1536
+ {
1537
+ "grad_norm": 0.4218851327896118,
1538
+ "learning_rate": 8.153557251790171e-05,
1539
+ "loss": 0.0711,
1540
+ "step": 2550
1541
+ },
1542
+ {
1543
+ "grad_norm": 0.3981941342353821,
1544
+ "learning_rate": 8.137491336993761e-05,
1545
+ "loss": 0.0952,
1546
+ "step": 2560
1547
+ },
1548
+ {
1549
+ "grad_norm": 0.4258551299571991,
1550
+ "learning_rate": 8.121371811127034e-05,
1551
+ "loss": 0.0874,
1552
+ "step": 2570
1553
+ },
1554
+ {
1555
+ "grad_norm": 0.43124958872795105,
1556
+ "learning_rate": 8.105198949628215e-05,
1557
+ "loss": 0.087,
1558
+ "step": 2580
1559
+ },
1560
+ {
1561
+ "grad_norm": 0.4528595209121704,
1562
+ "learning_rate": 8.08897302884688e-05,
1563
+ "loss": 0.072,
1564
+ "step": 2590
1565
+ },
1566
+ {
1567
+ "grad_norm": 0.47751468420028687,
1568
+ "learning_rate": 8.072694326039248e-05,
1569
+ "loss": 0.0844,
1570
+ "step": 2600
1571
+ },
1572
+ {
1573
+ "grad_norm": 0.4331689178943634,
1574
+ "learning_rate": 8.056363119363437e-05,
1575
+ "loss": 0.0801,
1576
+ "step": 2610
1577
+ },
1578
+ {
1579
+ "grad_norm": 0.41078707575798035,
1580
+ "learning_rate": 8.03997968787471e-05,
1581
+ "loss": 0.0733,
1582
+ "step": 2620
1583
+ },
1584
+ {
1585
+ "grad_norm": 0.4497262239456177,
1586
+ "learning_rate": 8.023544311520705e-05,
1587
+ "loss": 0.0877,
1588
+ "step": 2630
1589
+ },
1590
+ {
1591
+ "grad_norm": 0.4782116115093231,
1592
+ "learning_rate": 8.00705727113666e-05,
1593
+ "loss": 0.085,
1594
+ "step": 2640
1595
+ },
1596
+ {
1597
+ "grad_norm": 0.4284214377403259,
1598
+ "learning_rate": 7.990518848440604e-05,
1599
+ "loss": 0.0756,
1600
+ "step": 2650
1601
+ },
1602
+ {
1603
+ "grad_norm": 0.38277530670166016,
1604
+ "learning_rate": 7.973929326028551e-05,
1605
+ "loss": 0.0706,
1606
+ "step": 2660
1607
+ },
1608
+ {
1609
+ "grad_norm": 0.37487056851387024,
1610
+ "learning_rate": 7.957288987369664e-05,
1611
+ "loss": 0.0847,
1612
+ "step": 2670
1613
+ },
1614
+ {
1615
+ "grad_norm": 0.4091152846813202,
1616
+ "learning_rate": 7.940598116801423e-05,
1617
+ "loss": 0.0734,
1618
+ "step": 2680
1619
+ },
1620
+ {
1621
+ "grad_norm": 0.4491608440876007,
1622
+ "learning_rate": 7.923856999524751e-05,
1623
+ "loss": 0.0643,
1624
+ "step": 2690
1625
+ },
1626
+ {
1627
+ "grad_norm": 0.3631008267402649,
1628
+ "learning_rate": 7.907065921599154e-05,
1629
+ "loss": 0.0744,
1630
+ "step": 2700
1631
+ },
1632
+ {
1633
+ "grad_norm": 0.46766188740730286,
1634
+ "learning_rate": 7.890225169937824e-05,
1635
+ "loss": 0.0669,
1636
+ "step": 2710
1637
+ },
1638
+ {
1639
+ "grad_norm": 0.4147930443286896,
1640
+ "learning_rate": 7.873335032302742e-05,
1641
+ "loss": 0.0849,
1642
+ "step": 2720
1643
+ },
1644
+ {
1645
+ "grad_norm": 0.4155111610889435,
1646
+ "learning_rate": 7.856395797299759e-05,
1647
+ "loss": 0.0577,
1648
+ "step": 2730
1649
+ },
1650
+ {
1651
+ "grad_norm": 0.3863639235496521,
1652
+ "learning_rate": 7.839407754373665e-05,
1653
+ "loss": 0.0672,
1654
+ "step": 2740
1655
+ },
1656
+ {
1657
+ "grad_norm": 0.43771472573280334,
1658
+ "learning_rate": 7.82237119380324e-05,
1659
+ "loss": 0.0746,
1660
+ "step": 2750
1661
+ },
1662
+ {
1663
+ "grad_norm": 0.47438743710517883,
1664
+ "learning_rate": 7.805286406696302e-05,
1665
+ "loss": 0.072,
1666
+ "step": 2760
1667
+ },
1668
+ {
1669
+ "grad_norm": 0.3635581135749817,
1670
+ "learning_rate": 7.78815368498472e-05,
1671
+ "loss": 0.0647,
1672
+ "step": 2770
1673
+ },
1674
+ {
1675
+ "grad_norm": 0.3528742790222168,
1676
+ "learning_rate": 7.77097332141944e-05,
1677
+ "loss": 0.0676,
1678
+ "step": 2780
1679
+ },
1680
+ {
1681
+ "grad_norm": 0.3914929926395416,
1682
+ "learning_rate": 7.753745609565472e-05,
1683
+ "loss": 0.0861,
1684
+ "step": 2790
1685
+ },
1686
+ {
1687
+ "grad_norm": 0.4597104787826538,
1688
+ "learning_rate": 7.73647084379688e-05,
1689
+ "loss": 0.0749,
1690
+ "step": 2800
1691
+ },
1692
+ {
1693
+ "grad_norm": 0.4224878251552582,
1694
+ "learning_rate": 7.719149319291747e-05,
1695
+ "loss": 0.0677,
1696
+ "step": 2810
1697
+ },
1698
+ {
1699
+ "grad_norm": 0.37573617696762085,
1700
+ "learning_rate": 7.701781332027136e-05,
1701
+ "loss": 0.0619,
1702
+ "step": 2820
1703
+ },
1704
+ {
1705
+ "grad_norm": 0.37499648332595825,
1706
+ "learning_rate": 7.684367178774029e-05,
1707
+ "loss": 0.0787,
1708
+ "step": 2830
1709
+ },
1710
+ {
1711
+ "grad_norm": 0.43663331866264343,
1712
+ "learning_rate": 7.666907157092256e-05,
1713
+ "loss": 0.0775,
1714
+ "step": 2840
1715
+ },
1716
+ {
1717
+ "grad_norm": 0.4121735394001007,
1718
+ "learning_rate": 7.649401565325418e-05,
1719
+ "loss": 0.0716,
1720
+ "step": 2850
1721
+ },
1722
+ {
1723
+ "grad_norm": 0.3577815592288971,
1724
+ "learning_rate": 7.631850702595776e-05,
1725
+ "loss": 0.0743,
1726
+ "step": 2860
1727
+ },
1728
+ {
1729
+ "grad_norm": 0.412622332572937,
1730
+ "learning_rate": 7.614254868799146e-05,
1731
+ "loss": 0.0824,
1732
+ "step": 2870
1733
+ },
1734
+ {
1735
+ "grad_norm": 0.3658845126628876,
1736
+ "learning_rate": 7.596614364599787e-05,
1737
+ "loss": 0.0671,
1738
+ "step": 2880
1739
+ },
1740
+ {
1741
+ "grad_norm": 0.3303010165691376,
1742
+ "learning_rate": 7.578929491425238e-05,
1743
+ "loss": 0.081,
1744
+ "step": 2890
1745
+ },
1746
+ {
1747
+ "grad_norm": 0.37475916743278503,
1748
+ "learning_rate": 7.56120055146119e-05,
1749
+ "loss": 0.0743,
1750
+ "step": 2900
1751
+ },
1752
+ {
1753
+ "grad_norm": 0.43490612506866455,
1754
+ "learning_rate": 7.543427847646309e-05,
1755
+ "loss": 0.0681,
1756
+ "step": 2910
1757
+ },
1758
+ {
1759
+ "grad_norm": 0.38989996910095215,
1760
+ "learning_rate": 7.525611683667068e-05,
1761
+ "loss": 0.0762,
1762
+ "step": 2920
1763
+ },
1764
+ {
1765
+ "grad_norm": 0.40844911336898804,
1766
+ "learning_rate": 7.507752363952554e-05,
1767
+ "loss": 0.068,
1768
+ "step": 2930
1769
+ },
1770
+ {
1771
+ "grad_norm": 0.4080900251865387,
1772
+ "learning_rate": 7.489850193669264e-05,
1773
+ "loss": 0.0804,
1774
+ "step": 2940
1775
+ },
1776
+ {
1777
+ "grad_norm": 0.4383554458618164,
1778
+ "learning_rate": 7.471905478715893e-05,
1779
+ "loss": 0.082,
1780
+ "step": 2950
1781
+ },
1782
+ {
1783
+ "grad_norm": 0.3963048458099365,
1784
+ "learning_rate": 7.453918525718111e-05,
1785
+ "loss": 0.0769,
1786
+ "step": 2960
1787
+ },
1788
+ {
1789
+ "grad_norm": 0.5121076107025146,
1790
+ "learning_rate": 7.435889642023316e-05,
1791
+ "loss": 0.0708,
1792
+ "step": 2970
1793
+ },
1794
+ {
1795
+ "grad_norm": 0.3815874457359314,
1796
+ "learning_rate": 7.417819135695388e-05,
1797
+ "loss": 0.0648,
1798
+ "step": 2980
1799
+ },
1800
+ {
1801
+ "grad_norm": 0.39757779240608215,
1802
+ "learning_rate": 7.399707315509418e-05,
1803
+ "loss": 0.0782,
1804
+ "step": 2990
1805
+ },
1806
+ {
1807
+ "grad_norm": 0.3424723446369171,
1808
+ "learning_rate": 7.381554490946446e-05,
1809
+ "loss": 0.0963,
1810
+ "step": 3000
1811
+ },
1812
+ {
1813
+ "grad_norm": 0.4002883732318878,
1814
+ "learning_rate": 7.363360972188156e-05,
1815
+ "loss": 0.0711,
1816
+ "step": 3010
1817
+ },
1818
+ {
1819
+ "grad_norm": 0.4535372853279114,
1820
+ "learning_rate": 7.345127070111586e-05,
1821
+ "loss": 0.0744,
1822
+ "step": 3020
1823
+ },
1824
+ {
1825
+ "grad_norm": 0.39616692066192627,
1826
+ "learning_rate": 7.326853096283813e-05,
1827
+ "loss": 0.073,
1828
+ "step": 3030
1829
+ },
1830
+ {
1831
+ "grad_norm": 0.3755495846271515,
1832
+ "learning_rate": 7.308539362956632e-05,
1833
+ "loss": 0.0781,
1834
+ "step": 3040
1835
+ },
1836
+ {
1837
+ "grad_norm": 0.43319082260131836,
1838
+ "learning_rate": 7.290186183061212e-05,
1839
+ "loss": 0.0855,
1840
+ "step": 3050
1841
+ },
1842
+ {
1843
+ "grad_norm": 0.39229264855384827,
1844
+ "learning_rate": 7.271793870202765e-05,
1845
+ "loss": 0.0616,
1846
+ "step": 3060
1847
+ },
1848
+ {
1849
+ "grad_norm": 0.43756425380706787,
1850
+ "learning_rate": 7.253362738655168e-05,
1851
+ "loss": 0.0634,
1852
+ "step": 3070
1853
+ },
1854
+ {
1855
+ "grad_norm": 0.3754236102104187,
1856
+ "learning_rate": 7.234893103355607e-05,
1857
+ "loss": 0.0979,
1858
+ "step": 3080
1859
+ },
1860
+ {
1861
+ "grad_norm": 0.387734591960907,
1862
+ "learning_rate": 7.216385279899189e-05,
1863
+ "loss": 0.0749,
1864
+ "step": 3090
1865
+ },
1866
+ {
1867
+ "grad_norm": 0.3044375777244568,
1868
+ "learning_rate": 7.197839584533551e-05,
1869
+ "loss": 0.0716,
1870
+ "step": 3100
1871
+ },
1872
+ {
1873
+ "grad_norm": 0.49048781394958496,
1874
+ "learning_rate": 7.179256334153461e-05,
1875
+ "loss": 0.0683,
1876
+ "step": 3110
1877
+ },
1878
+ {
1879
+ "grad_norm": 0.34100568294525146,
1880
+ "learning_rate": 7.160635846295392e-05,
1881
+ "loss": 0.0722,
1882
+ "step": 3120
1883
+ },
1884
+ {
1885
+ "grad_norm": 0.3580451011657715,
1886
+ "learning_rate": 7.141978439132108e-05,
1887
+ "loss": 0.0654,
1888
+ "step": 3130
1889
+ },
1890
+ {
1891
+ "grad_norm": 0.40986013412475586,
1892
+ "learning_rate": 7.123284431467217e-05,
1893
+ "loss": 0.0663,
1894
+ "step": 3140
1895
+ },
1896
+ {
1897
+ "grad_norm": 0.3808044493198395,
1898
+ "learning_rate": 7.104554142729736e-05,
1899
+ "loss": 0.0655,
1900
+ "step": 3150
1901
+ },
1902
+ {
1903
+ "grad_norm": 0.40152257680892944,
1904
+ "learning_rate": 7.085787892968616e-05,
1905
+ "loss": 0.0621,
1906
+ "step": 3160
1907
+ },
1908
+ {
1909
+ "grad_norm": 0.4318365156650543,
1910
+ "learning_rate": 7.06698600284729e-05,
1911
+ "loss": 0.073,
1912
+ "step": 3170
1913
+ },
1914
+ {
1915
+ "grad_norm": 0.43594446778297424,
1916
+ "learning_rate": 7.048148793638184e-05,
1917
+ "loss": 0.0718,
1918
+ "step": 3180
1919
+ },
1920
+ {
1921
+ "grad_norm": 0.33705076575279236,
1922
+ "learning_rate": 7.029276587217229e-05,
1923
+ "loss": 0.0629,
1924
+ "step": 3190
1925
+ },
1926
+ {
1927
+ "grad_norm": 0.3727804124355316,
1928
+ "learning_rate": 7.010369706058365e-05,
1929
+ "loss": 0.0801,
1930
+ "step": 3200
1931
+ },
1932
+ {
1933
+ "grad_norm": 0.33380529284477234,
1934
+ "learning_rate": 6.991428473228022e-05,
1935
+ "loss": 0.0592,
1936
+ "step": 3210
1937
+ },
1938
+ {
1939
+ "grad_norm": 0.35099029541015625,
1940
+ "learning_rate": 6.972453212379609e-05,
1941
+ "loss": 0.0633,
1942
+ "step": 3220
1943
+ },
1944
+ {
1945
+ "grad_norm": 0.3876802921295166,
1946
+ "learning_rate": 6.953444247747982e-05,
1947
+ "loss": 0.0607,
1948
+ "step": 3230
1949
+ },
1950
+ {
1951
+ "grad_norm": 0.41500788927078247,
1952
+ "learning_rate": 6.934401904143895e-05,
1953
+ "loss": 0.0592,
1954
+ "step": 3240
1955
+ },
1956
+ {
1957
+ "grad_norm": 0.3817685842514038,
1958
+ "learning_rate": 6.915326506948462e-05,
1959
+ "loss": 0.0699,
1960
+ "step": 3250
1961
+ },
1962
+ {
1963
+ "grad_norm": 0.4333103597164154,
1964
+ "learning_rate": 6.896218382107592e-05,
1965
+ "loss": 0.0602,
1966
+ "step": 3260
1967
+ },
1968
+ {
1969
+ "grad_norm": 0.3751351237297058,
1970
+ "learning_rate": 6.877077856126416e-05,
1971
+ "loss": 0.0709,
1972
+ "step": 3270
1973
+ },
1974
+ {
1975
+ "grad_norm": 0.40659570693969727,
1976
+ "learning_rate": 6.857905256063713e-05,
1977
+ "loss": 0.0658,
1978
+ "step": 3280
1979
+ },
1980
+ {
1981
+ "grad_norm": 0.3887973427772522,
1982
+ "learning_rate": 6.838700909526319e-05,
1983
+ "loss": 0.0655,
1984
+ "step": 3290
1985
+ },
1986
+ {
1987
+ "grad_norm": 0.4802114963531494,
1988
+ "learning_rate": 6.819465144663529e-05,
1989
+ "loss": 0.0893,
1990
+ "step": 3300
1991
+ },
1992
+ {
1993
+ "grad_norm": 0.3465081453323364,
1994
+ "learning_rate": 6.800198290161492e-05,
1995
+ "loss": 0.0555,
1996
+ "step": 3310
1997
+ },
1998
+ {
1999
+ "grad_norm": 0.379366934299469,
2000
+ "learning_rate": 6.780900675237592e-05,
2001
+ "loss": 0.0559,
2002
+ "step": 3320
2003
+ },
2004
+ {
2005
+ "grad_norm": 0.4693728983402252,
2006
+ "learning_rate": 6.761572629634824e-05,
2007
+ "loss": 0.0705,
2008
+ "step": 3330
2009
+ },
2010
+ {
2011
+ "grad_norm": 0.45267608761787415,
2012
+ "learning_rate": 6.742214483616162e-05,
2013
+ "loss": 0.0664,
2014
+ "step": 3340
2015
+ },
2016
+ {
2017
+ "grad_norm": 0.44344818592071533,
2018
+ "learning_rate": 6.722826567958907e-05,
2019
+ "loss": 0.0694,
2020
+ "step": 3350
2021
+ },
2022
+ {
2023
+ "grad_norm": 0.3570881187915802,
2024
+ "learning_rate": 6.703409213949045e-05,
2025
+ "loss": 0.0765,
2026
+ "step": 3360
2027
+ },
2028
+ {
2029
+ "grad_norm": 0.30669495463371277,
2030
+ "learning_rate": 6.683962753375585e-05,
2031
+ "loss": 0.0821,
2032
+ "step": 3370
2033
+ },
2034
+ {
2035
+ "grad_norm": 0.3591996729373932,
2036
+ "learning_rate": 6.664487518524878e-05,
2037
+ "loss": 0.06,
2038
+ "step": 3380
2039
+ },
2040
+ {
2041
+ "grad_norm": 0.41480469703674316,
2042
+ "learning_rate": 6.644983842174956e-05,
2043
+ "loss": 0.0663,
2044
+ "step": 3390
2045
+ },
2046
+ {
2047
+ "grad_norm": 0.34087106585502625,
2048
+ "learning_rate": 6.62545205758984e-05,
2049
+ "loss": 0.0659,
2050
+ "step": 3400
2051
+ },
2052
+ {
2053
+ "grad_norm": 0.31565213203430176,
2054
+ "learning_rate": 6.605892498513831e-05,
2055
+ "loss": 0.0574,
2056
+ "step": 3410
2057
+ },
2058
+ {
2059
+ "grad_norm": 0.39746397733688354,
2060
+ "learning_rate": 6.586305499165832e-05,
2061
+ "loss": 0.0722,
2062
+ "step": 3420
2063
+ },
2064
+ {
2065
+ "grad_norm": 0.38167881965637207,
2066
+ "learning_rate": 6.566691394233619e-05,
2067
+ "loss": 0.0626,
2068
+ "step": 3430
2069
+ },
2070
+ {
2071
+ "grad_norm": 0.35714662075042725,
2072
+ "learning_rate": 6.547050518868126e-05,
2073
+ "loss": 0.0847,
2074
+ "step": 3440
2075
+ },
2076
+ {
2077
+ "grad_norm": 0.36871716380119324,
2078
+ "learning_rate": 6.527383208677723e-05,
2079
+ "loss": 0.0729,
2080
+ "step": 3450
2081
+ },
2082
+ {
2083
+ "grad_norm": 0.42422211170196533,
2084
+ "learning_rate": 6.507689799722478e-05,
2085
+ "loss": 0.0678,
2086
+ "step": 3460
2087
+ },
2088
+ {
2089
+ "grad_norm": 0.39260292053222656,
2090
+ "learning_rate": 6.487970628508414e-05,
2091
+ "loss": 0.0666,
2092
+ "step": 3470
2093
+ },
2094
+ {
2095
+ "grad_norm": 0.33711814880371094,
2096
+ "learning_rate": 6.468226031981758e-05,
2097
+ "loss": 0.0581,
2098
+ "step": 3480
2099
+ },
2100
+ {
2101
+ "grad_norm": 0.3952840566635132,
2102
+ "learning_rate": 6.44845634752319e-05,
2103
+ "loss": 0.0713,
2104
+ "step": 3490
2105
+ },
2106
+ {
2107
+ "grad_norm": 0.37782588601112366,
2108
+ "learning_rate": 6.428661912942069e-05,
2109
+ "loss": 0.0634,
2110
+ "step": 3500
2111
+ },
2112
+ {
2113
+ "grad_norm": 0.34728753566741943,
2114
+ "learning_rate": 6.408843066470668e-05,
2115
+ "loss": 0.0682,
2116
+ "step": 3510
2117
+ },
2118
+ {
2119
+ "grad_norm": 0.4493255913257599,
2120
+ "learning_rate": 6.389000146758392e-05,
2121
+ "loss": 0.0747,
2122
+ "step": 3520
2123
+ },
2124
+ {
2125
+ "grad_norm": 0.4024127721786499,
2126
+ "learning_rate": 6.369133492865989e-05,
2127
+ "loss": 0.0562,
2128
+ "step": 3530
2129
+ },
2130
+ {
2131
+ "grad_norm": 0.37755388021469116,
2132
+ "learning_rate": 6.349243444259763e-05,
2133
+ "loss": 0.0775,
2134
+ "step": 3540
2135
+ },
2136
+ {
2137
+ "grad_norm": 0.378902405500412,
2138
+ "learning_rate": 6.329330340805761e-05,
2139
+ "loss": 0.0638,
2140
+ "step": 3550
2141
+ },
2142
+ {
2143
+ "grad_norm": 0.3664346933364868,
2144
+ "learning_rate": 6.309394522763983e-05,
2145
+ "loss": 0.0666,
2146
+ "step": 3560
2147
+ },
2148
+ {
2149
+ "grad_norm": 0.3425140976905823,
2150
+ "learning_rate": 6.289436330782553e-05,
2151
+ "loss": 0.0665,
2152
+ "step": 3570
2153
+ },
2154
+ {
2155
+ "grad_norm": 0.32920318841934204,
2156
+ "learning_rate": 6.269456105891906e-05,
2157
+ "loss": 0.0821,
2158
+ "step": 3580
2159
+ },
2160
+ {
2161
+ "grad_norm": 0.4012124240398407,
2162
+ "learning_rate": 6.249454189498958e-05,
2163
+ "loss": 0.0649,
2164
+ "step": 3590
2165
+ },
2166
+ {
2167
+ "grad_norm": 0.34221696853637695,
2168
+ "learning_rate": 6.229430923381272e-05,
2169
+ "loss": 0.0687,
2170
+ "step": 3600
2171
+ },
2172
+ {
2173
+ "grad_norm": 0.47373029589653015,
2174
+ "learning_rate": 6.209386649681223e-05,
2175
+ "loss": 0.0657,
2176
+ "step": 3610
2177
+ },
2178
+ {
2179
+ "grad_norm": 0.38027575612068176,
2180
+ "learning_rate": 6.18932171090014e-05,
2181
+ "loss": 0.063,
2182
+ "step": 3620
2183
+ },
2184
+ {
2185
+ "grad_norm": 0.3440220355987549,
2186
+ "learning_rate": 6.169236449892469e-05,
2187
+ "loss": 0.0639,
2188
+ "step": 3630
2189
+ },
2190
+ {
2191
+ "grad_norm": 0.33956488966941833,
2192
+ "learning_rate": 6.149131209859902e-05,
2193
+ "loss": 0.0538,
2194
+ "step": 3640
2195
+ },
2196
+ {
2197
+ "grad_norm": 0.3812278211116791,
2198
+ "learning_rate": 6.12900633434552e-05,
2199
+ "loss": 0.0649,
2200
+ "step": 3650
2201
+ },
2202
+ {
2203
+ "grad_norm": 0.38514140248298645,
2204
+ "learning_rate": 6.108862167227916e-05,
2205
+ "loss": 0.0562,
2206
+ "step": 3660
2207
+ },
2208
+ {
2209
+ "grad_norm": 0.36289358139038086,
2210
+ "learning_rate": 6.088699052715332e-05,
2211
+ "loss": 0.062,
2212
+ "step": 3670
2213
+ },
2214
+ {
2215
+ "grad_norm": 0.31925493478775024,
2216
+ "learning_rate": 6.068517335339758e-05,
2217
+ "loss": 0.0551,
2218
+ "step": 3680
2219
+ },
2220
+ {
2221
+ "grad_norm": 0.35792359709739685,
2222
+ "learning_rate": 6.048317359951063e-05,
2223
+ "loss": 0.0622,
2224
+ "step": 3690
2225
+ },
2226
+ {
2227
+ "grad_norm": 0.36067017912864685,
2228
+ "learning_rate": 6.028099471711094e-05,
2229
+ "loss": 0.0614,
2230
+ "step": 3700
2231
+ },
2232
+ {
2233
+ "grad_norm": 0.4256596565246582,
2234
+ "learning_rate": 6.0078640160877754e-05,
2235
+ "loss": 0.0726,
2236
+ "step": 3710
2237
+ },
2238
+ {
2239
+ "grad_norm": 0.36451971530914307,
2240
+ "learning_rate": 5.9876113388492125e-05,
2241
+ "loss": 0.0736,
2242
+ "step": 3720
2243
+ },
2244
+ {
2245
+ "grad_norm": 0.3357323408126831,
2246
+ "learning_rate": 5.967341786057782e-05,
2247
+ "loss": 0.0636,
2248
+ "step": 3730
2249
+ },
2250
+ {
2251
+ "grad_norm": 0.3095613718032837,
2252
+ "learning_rate": 5.947055704064215e-05,
2253
+ "loss": 0.074,
2254
+ "step": 3740
2255
+ },
2256
+ {
2257
+ "grad_norm": 0.31637147068977356,
2258
+ "learning_rate": 5.92675343950168e-05,
2259
+ "loss": 0.0624,
2260
+ "step": 3750
2261
+ },
2262
+ {
2263
+ "grad_norm": 0.3515182137489319,
2264
+ "learning_rate": 5.906435339279864e-05,
2265
+ "loss": 0.0506,
2266
+ "step": 3760
2267
+ },
2268
+ {
2269
+ "grad_norm": 0.26202625036239624,
2270
+ "learning_rate": 5.886101750579041e-05,
2271
+ "loss": 0.0524,
2272
+ "step": 3770
2273
+ },
2274
+ {
2275
+ "grad_norm": 0.29883837699890137,
2276
+ "learning_rate": 5.865753020844136e-05,
2277
+ "loss": 0.0534,
2278
+ "step": 3780
2279
+ },
2280
+ {
2281
+ "grad_norm": 0.39961716532707214,
2282
+ "learning_rate": 5.8453894977788003e-05,
2283
+ "loss": 0.0724,
2284
+ "step": 3790
2285
+ },
2286
+ {
2287
+ "grad_norm": 0.29209330677986145,
2288
+ "learning_rate": 5.8250115293394555e-05,
2289
+ "loss": 0.0756,
2290
+ "step": 3800
2291
+ },
2292
+ {
2293
+ "grad_norm": 0.25736960768699646,
2294
+ "learning_rate": 5.8046194637293593e-05,
2295
+ "loss": 0.0648,
2296
+ "step": 3810
2297
+ },
2298
+ {
2299
+ "grad_norm": 0.4287460446357727,
2300
+ "learning_rate": 5.784213649392649e-05,
2301
+ "loss": 0.0681,
2302
+ "step": 3820
2303
+ },
2304
+ {
2305
+ "grad_norm": 0.3457523286342621,
2306
+ "learning_rate": 5.7637944350083894e-05,
2307
+ "loss": 0.0555,
2308
+ "step": 3830
2309
+ },
2310
+ {
2311
+ "grad_norm": 0.3334904611110687,
2312
+ "learning_rate": 5.743362169484616e-05,
2313
+ "loss": 0.0702,
2314
+ "step": 3840
2315
+ },
2316
+ {
2317
+ "grad_norm": 0.38445812463760376,
2318
+ "learning_rate": 5.722917201952371e-05,
2319
+ "loss": 0.0556,
2320
+ "step": 3850
2321
+ },
2322
+ {
2323
+ "grad_norm": 0.3423488438129425,
2324
+ "learning_rate": 5.702459881759743e-05,
2325
+ "loss": 0.0738,
2326
+ "step": 3860
2327
+ },
2328
+ {
2329
+ "grad_norm": 0.34273356199264526,
2330
+ "learning_rate": 5.681990558465887e-05,
2331
+ "loss": 0.0688,
2332
+ "step": 3870
2333
+ },
2334
+ {
2335
+ "grad_norm": 0.35295310616493225,
2336
+ "learning_rate": 5.661509581835063e-05,
2337
+ "loss": 0.0619,
2338
+ "step": 3880
2339
+ },
2340
+ {
2341
+ "grad_norm": 0.35011592507362366,
2342
+ "learning_rate": 5.6410173018306534e-05,
2343
+ "loss": 0.0685,
2344
+ "step": 3890
2345
+ },
2346
+ {
2347
+ "grad_norm": 0.3258155584335327,
2348
+ "learning_rate": 5.620514068609182e-05,
2349
+ "loss": 0.0621,
2350
+ "step": 3900
2351
+ },
2352
+ {
2353
+ "grad_norm": 0.352975457906723,
2354
+ "learning_rate": 5.600000232514333e-05,
2355
+ "loss": 0.0508,
2356
+ "step": 3910
2357
+ },
2358
+ {
2359
+ "grad_norm": 0.340375691652298,
2360
+ "learning_rate": 5.57947614407097e-05,
2361
+ "loss": 0.0536,
2362
+ "step": 3920
2363
+ },
2364
+ {
2365
+ "grad_norm": 0.4011927545070648,
2366
+ "learning_rate": 5.558942153979132e-05,
2367
+ "loss": 0.0686,
2368
+ "step": 3930
2369
+ },
2370
+ {
2371
+ "grad_norm": 0.3587510883808136,
2372
+ "learning_rate": 5.538398613108057e-05,
2373
+ "loss": 0.073,
2374
+ "step": 3940
2375
+ },
2376
+ {
2377
+ "grad_norm": 0.35769176483154297,
2378
+ "learning_rate": 5.517845872490176e-05,
2379
+ "loss": 0.0659,
2380
+ "step": 3950
2381
+ },
2382
+ {
2383
+ "grad_norm": 0.3323197066783905,
2384
+ "learning_rate": 5.4972842833151193e-05,
2385
+ "loss": 0.0829,
2386
+ "step": 3960
2387
+ },
2388
+ {
2389
+ "grad_norm": 0.35283634066581726,
2390
+ "learning_rate": 5.4767141969237154e-05,
2391
+ "loss": 0.0631,
2392
+ "step": 3970
2393
+ },
2394
+ {
2395
+ "grad_norm": 0.30893951654434204,
2396
+ "learning_rate": 5.456135964801985e-05,
2397
+ "loss": 0.0548,
2398
+ "step": 3980
2399
+ },
2400
+ {
2401
+ "grad_norm": 0.3662571609020233,
2402
+ "learning_rate": 5.435549938575138e-05,
2403
+ "loss": 0.0569,
2404
+ "step": 3990
2405
+ },
2406
+ {
2407
+ "grad_norm": 0.34863588213920593,
2408
+ "learning_rate": 5.414956470001564e-05,
2409
+ "loss": 0.0514,
2410
+ "step": 4000
2411
+ }
2412
+ ],
2413
+ "logging_steps": 10,
2414
+ "max_steps": 8000,
2415
+ "num_input_tokens_seen": 0,
2416
+ "num_train_epochs": 9223372036854775807,
2417
+ "save_steps": 500,
2418
+ "stateful_callbacks": {
2419
+ "TrainerControl": {
2420
+ "args": {
2421
+ "should_epoch_stop": false,
2422
+ "should_evaluate": false,
2423
+ "should_log": false,
2424
+ "should_save": true,
2425
+ "should_training_stop": false
2426
+ },
2427
+ "attributes": {}
2428
+ }
2429
+ },
2430
+ "total_flos": 0.0,
2431
+ "train_batch_size": 8,
2432
+ "trial_name": null,
2433
+ "trial_params": null
2434
+ }
c6-bathroom-door-fetch/b512/step-004000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1590116b82f1ef095c6cbbab6f7bb29a2062dffb0cc1e20519239114f44c3891
3
+ size 8017
c6-bathroom-door-fetch/b512/step-004000/training_plan.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task": "c6", "frames": 221805, "recipe": "full fine-tune (tune_llm, tune_visual, projector, diffusion, vlln), fixed steps", "per_gpu_batch": 8, "gradient_accumulation_steps": 2, "world_size": 32, "global_batch": 512, "max_steps": 8000, "save_steps": 500, "save_list": [4000, 4500, 5000, 5500, 6000, 6500, 7000, 7500, 8000], "epochs_equivalent": 18.47}
c6-bathroom-door-fetch/b512/step-004000/wandb_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"project": "finetune-gr00t-n1d7", "run_id": "production"}
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/cache_cosmos_reason2.py ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Put the full gated nvidia/Cosmos-Reason2-2B (pinned 9ce19a1) into the shared HF hub cache $G/hf-home/hub.
2
+
3
+ GR00T N1.7 builds its backbone with Qwen3VLForConditionalGeneration.from_pretrained("nvidia/Cosmos-Reason2-2B") and
4
+ its processor with Qwen3VLProcessor.from_pretrained(same name) before loading the GR00T checkpoint, so every node needs
5
+ the whole repo resolvable by name. groot_node.sh runs with HF_HUB_OFFLINE=1, so nodes read this cache and never need
6
+ the token. refs/main is pinned to the verified revision.
7
+
8
+ Usage (token from stdin, kept in-process only):
9
+ $G/envs/groot-py312/bin/python cache_cosmos_reason2.py $G/hf-home/hub < /root/.hb-secrets/hf_token
10
+ """
11
+ import hashlib
12
+ import json
13
+ import os
14
+ import sys
15
+ import time
16
+
17
+ from huggingface_hub import HfApi, snapshot_download
18
+
19
+ REPO = "nvidia/Cosmos-Reason2-2B"
20
+ REV = "9ce19a195e423419c349abfc86fd07178b230561"
21
+ cache = os.path.abspath(sys.argv[1])
22
+ token = sys.stdin.readline().strip()
23
+ if not token.startswith("hf_"):
24
+ raise SystemExit("token format rejected")
25
+ api = HfApi(endpoint="https://huggingface.co", token=token)
26
+ info = api.model_info(REPO, revision=REV, files_metadata=True)
27
+ assert info.sha == REV, info.sha
28
+ t0 = time.monotonic()
29
+ for attempt in range(1, 21):
30
+ try:
31
+ path = snapshot_download(REPO, revision=REV, cache_dir=cache, token=token, max_workers=8)
32
+ break
33
+ except Exception as error: # transient stalls
34
+ if any(k in str(error).lower() for k in ("gated", "401", "403")):
35
+ raise
36
+ print(f"retry {attempt}: {type(error).__name__}: {str(error)[:200]}", flush=True)
37
+ time.sleep(10)
38
+ else:
39
+ raise SystemExit("download did not finish")
40
+ token = None
41
+ count, size = 0, 0
42
+ for s in info.siblings:
43
+ f = os.path.join(path, s.rfilename)
44
+ assert os.path.isfile(f), s.rfilename
45
+ if s.size is not None:
46
+ assert os.path.getsize(f) == s.size, s.rfilename
47
+ if s.lfs is not None:
48
+ h = hashlib.sha256()
49
+ with open(f, "rb") as stream:
50
+ for chunk in iter(lambda: stream.read(1 << 22), b""):
51
+ h.update(chunk)
52
+ assert h.hexdigest() == s.lfs.sha256, s.rfilename
53
+ count += 1
54
+ size += s.size or 0
55
+ refs = os.path.join(cache, "models--" + REPO.replace("/", "--"), "refs")
56
+ os.makedirs(refs, exist_ok=True)
57
+ with open(os.path.join(refs, "main"), "w") as f:
58
+ f.write(REV)
59
+ print("CACHE_OK", json.dumps({"repo": REPO, "revision": REV, "snapshot": path, "files": count, "bytes": size,
60
+ "seconds": round(time.monotonic() - t0, 1)}), flush=True)
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/check_reason2_offline.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """CPU check that GR00T's Cosmos-Reason2-2B pieces load offline from $G/hf-home exactly as groot_node.sh will.
2
+
3
+ Usage: HF_HOME=$G/hf-home HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 $G/envs/groot-py312/bin/python check_reason2_offline.py
4
+ """
5
+ import json
6
+ import os
7
+ import sys
8
+ from pathlib import Path
9
+
10
+ import torch
11
+
12
+ sys.path.insert(0, str(Path(__file__).resolve().parent))
13
+ import hb_offline_fix # noqa: E402,F401
14
+ from transformers import AutoConfig, Qwen3VLForConditionalGeneration, Qwen3VLProcessor
15
+
16
+ assert os.environ.get("HF_HUB_OFFLINE") == "1", "run with HF_HUB_OFFLINE=1"
17
+ name = "nvidia/Cosmos-Reason2-2B"
18
+ torch.set_num_threads(8)
19
+ proc = Qwen3VLProcessor.from_pretrained(name, trust_remote_code=True)
20
+ cfg = AutoConfig.from_pretrained(name, trust_remote_code=True)
21
+ ids = proc.tokenizer("pick up the trash and drop it in the bin")["input_ids"]
22
+ model = Qwen3VLForConditionalGeneration.from_pretrained(name, torch_dtype=torch.bfloat16)
23
+ n = sum(p.numel() for p in model.parameters())
24
+ print("REASON2_OFFLINE_OK", json.dumps({"processor": type(proc).__name__, "tokens": len(ids),
25
+ "model_type": cfg.model_type, "params_M": round(n / 1e6, 1),
26
+ "llm_layers": len(model.model.language_model.layers)}), flush=True)
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/g1_feedback76_h16.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """G1 feedback76 / H16 GR00T modality config (copy of HumanWAM configs/humanwam/groot/feedback76_h16.py @ c76527b).
2
+
3
+ The matching modality.json is generated per dataset from the recorded joint names (prepare_groot_data.py);
4
+ HumanWAM's feedback76_modality.json has right_arm at observation.state[29:36] (left-hand fingers), which is wrong
5
+ for our G1 exports (right arm is [22:29]).
6
+ """
7
+ from gr00t.configs.data.embodiment_configs import register_modality_config
8
+ from gr00t.data.embodiment_tags import EmbodimentTag
9
+ from gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
10
+
11
+ feedback76_h16 = {
12
+ "video": ModalityConfig(delta_indices=[0], modality_keys=["ego_view", "chest"]),
13
+ "state": ModalityConfig(
14
+ delta_indices=[0],
15
+ modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "left_hand", "right_hand",
16
+ "projected_gravity"],
17
+ ),
18
+ "action": ModalityConfig(
19
+ delta_indices=list(range(16)),
20
+ modality_keys=["motion_token", "left_hand_joints", "right_hand_joints"],
21
+ action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF,
22
+ format=ActionFormat.DEFAULT) for _ in range(3)],
23
+ ),
24
+ "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),
25
+ }
26
+
27
+ register_modality_config(feedback76_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/groot_chain.py ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Per-node GR00T relay: per-layout batch-size probe (largest that fits), then 20-epoch production per task.
2
+
3
+ Run on every node (nohup), node rank from the DLC env RANK: python groot_chain.py [task ...]
4
+ Default tasks: b6 a3 a7 a18 (basket postponed). A phase succeeds only if all 4 node launchers exit 0.
5
+
6
+ Batch (user rule: as large as memory allows, 2026-11-10): descending CANDIDATES, 4 steps each on all 32 GPUs; a
7
+ candidate fits when all launchers exit 0 AND the peak reserved memory of every rank (written by hb_launch.py to
8
+ logs/peak-<phase>-rank<r>.json) is <= MAX_FRAC of the GPU. Node 0 alone judges each probe and writes a verdict file
9
+ the other nodes wait for, so all nodes take the same decision. One decision per robot layout (g1 / h2).
10
+ Outputs: $G/groot-runs-bmax/ (the earlier per-GPU-64 runs stay in $G/groot-runs/).
11
+ """
12
+ import fcntl
13
+ import json
14
+ import math
15
+ import os
16
+ import shutil
17
+ import subprocess
18
+ import sys
19
+ import time
20
+ from pathlib import Path
21
+
22
+ H = Path(__file__).resolve().parent
23
+ G = H.parent
24
+ RUNS = G / os.environ.get("HB_GROOT_RUNS_NAME", "groot-runs-bmax")
25
+ NODE = int(os.environ["RANK"])
26
+ TASKS = sys.argv[1:] or ["b6", "a3", "a7", "a18"] # basket postponed (user plan 2026-11-10)
27
+ CANDIDATES = [320, 288, 256, 224, 192, 160, 128, 96, 64, 48, 32]
28
+ MAX_FRAC = 0.92
29
+ EPOCHS = 20
30
+ PORT_BASE = int(os.environ.get("HB_GROOT_PORT_BASE", "32500")) # probe PORT_BASE+i, production PORT_BASE+50+k
31
+ RUNS.mkdir(parents=True, exist_ok=True)
32
+ os.environ["HB_GROOT_RUNS"] = str(RUNS) # read by groot_node.sh
33
+ lock = (RUNS / f"chain-node-{NODE}.lock").open("a")
34
+ fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB)
35
+
36
+
37
+ def log(msg):
38
+ line = f"{time.strftime('%Y-%m-%d %H:%M:%S')} node{NODE} {msg}"
39
+ print(line, flush=True)
40
+ with (RUNS / f"chain-node-{NODE}.log").open("a") as f:
41
+ f.write(line + "\n")
42
+
43
+
44
+ def run_phase(task, phase, bs, steps, save, port):
45
+ logs = RUNS / task / "logs"
46
+ exits = [logs / f"{phase}-node-{r}.exit" for r in range(4)]
47
+ if all(p.is_file() for p in exits):
48
+ return all(p.read_text().strip() == "0" for p in exits)
49
+ subprocess.run(["bash", str(H / "groot_node.sh"), task, phase, str(bs), str(steps), str(save), str(port)])
50
+ deadline = time.monotonic() + 600
51
+ while not all(p.is_file() for p in exits):
52
+ if time.monotonic() > deadline:
53
+ log(f"{task}/{phase}: timed out waiting for peer exit files")
54
+ return False
55
+ time.sleep(5)
56
+ ok = all(p.read_text().strip() == "0" for p in exits)
57
+ log(f"{task}/{phase}: bs={bs} steps={steps} -> {'OK' if ok else 'FAIL'}")
58
+ return ok
59
+
60
+
61
+ def peak_frac(task, phase):
62
+ """Max over ranks of peak reserved / total; None when no rank reported."""
63
+ fracs = []
64
+ for f in (RUNS / task / "logs").glob(f"peak-{phase}-rank*.json"):
65
+ try:
66
+ d = json.loads(f.read_text())
67
+ fracs.append(d["peak_reserved_gb"] / d["total_gb"])
68
+ except (ValueError, KeyError, OSError):
69
+ continue
70
+ return (max(fracs), len(fracs)) if fracs else (None, 0)
71
+
72
+
73
+ def probe_verdict(task, cand, port):
74
+ phase = f"probe-bs{cand}"
75
+ verdict = RUNS / task / "logs" / f"{phase}.verdict.json"
76
+ ok = run_phase(task, phase, cand, 4, 1000000, port)
77
+ if NODE == 0 and not verdict.is_file():
78
+ time.sleep(10) # let peak files from the other nodes become visible on NAS
79
+ frac, n = peak_frac(task, phase) if ok else (None, 0)
80
+ fits = bool(ok and frac is not None and frac <= MAX_FRAC)
81
+ verdict.write_text(json.dumps({"per_gpu_batch": cand, "ran_ok": ok, "peak_frac": frac, "ranks_reported": n,
82
+ "max_frac": MAX_FRAC, "fits": fits}) + "\n")
83
+ deadline = time.monotonic() + 600
84
+ while not verdict.is_file():
85
+ if time.monotonic() > deadline:
86
+ log(f"{task}/{phase}: no verdict from node 0")
87
+ return False
88
+ time.sleep(5)
89
+ v = json.loads(verdict.read_text())
90
+ log(f"{task}/{phase}: verdict {v}")
91
+ return v["fits"]
92
+
93
+
94
+ def prune_resume_state(out):
95
+ """Keep weights of every checkpoint but resume state (DeepSpeed optimizer shards, scheduler, RNG) only in the latest."""
96
+ ckpts = sorted((p for p in out.glob("checkpoint-*") if p.name.split("-")[-1].isdigit()),
97
+ key=lambda p: int(p.name.split("-")[-1]))
98
+ for c in ckpts[:-1]:
99
+ for p in list(c.glob("global_step*")) + list(c.glob("optimizer*.pt")) + list(c.glob("scheduler.pt")) \
100
+ + list(c.glob("rng_state*.pth")) + list(c.glob("latest")) + list(c.glob("zero_to_fp32.py")):
101
+ if p.is_dir():
102
+ shutil.rmtree(p, ignore_errors=True)
103
+ else:
104
+ p.unlink(missing_ok=True)
105
+ log(f"{c.name}: resume state dropped (weights kept)")
106
+
107
+
108
+ def batch_for(task):
109
+ layout = "h2" if task in ("a17", "a18") else "g1"
110
+ decision = RUNS / f"batch-decision-{layout}.json"
111
+ if decision.is_file():
112
+ return json.loads(decision.read_text())["per_gpu_batch"]
113
+ for i, cand in enumerate(CANDIDATES):
114
+ if probe_verdict(task, cand, PORT_BASE + i + (20 if layout == "h2" else 0)):
115
+ if NODE == 0:
116
+ decision.write_text(json.dumps({"per_gpu_batch": cand, "global_batch": cand * 32, "probe_task": task,
117
+ "layout": layout, "candidates": CANDIDATES,
118
+ "max_frac": MAX_FRAC}) + "\n")
119
+ return cand
120
+ time.sleep(20)
121
+ log(f"{layout}: no batch size fit; stopping")
122
+ sys.exit(1)
123
+
124
+
125
+ for k, task in enumerate(TASKS):
126
+ bs = batch_for(task)
127
+ log(f"{task}: per-GPU batch {bs} (global {bs * 32})")
128
+ receipt = json.loads((G / "groot-data" / task / "hb-dataset-receipt.json").read_text())
129
+ steps = math.ceil(EPOCHS * receipt["frames"] / (bs * 32))
130
+ save = math.ceil(steps / 2)
131
+ if not run_phase(task, "production", bs, steps, save, PORT_BASE + 50 + k):
132
+ log(f"{task}: production failed; stopping chain")
133
+ sys.exit(1)
134
+ if NODE == 0:
135
+ prune_resume_state(RUNS / task / "production")
136
+ (RUNS / task / "production-complete.json").write_text(json.dumps(
137
+ {"task": task, "frames": receipt["frames"], "epochs": EPOCHS, "per_gpu_batch": bs,
138
+ "global_batch": bs * 32, "max_steps": steps, "save_steps": save}) + "\n")
139
+ log("all tasks done")
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/h2_body31_hand44_h16.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A18 H2 (Sharpa hands) GR00T modality config, same protocol as the A18 Delta-flow run
2
+ (schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projected
3
+ gravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""
4
+ from gr00t.configs.data.embodiment_configs import register_modality_config
5
+ from gr00t.data.embodiment_tags import EmbodimentTag
6
+ from gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
7
+
8
+ h2_body31_hand44_h16 = {
9
+ "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]),
10
+ "state": ModalityConfig(
11
+ delta_indices=[0],
12
+ modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand",
13
+ "projected_gravity"],
14
+ ),
15
+ "action": ModalityConfig(
16
+ delta_indices=list(range(16)),
17
+ modality_keys=["body_target", "left_hand_target", "right_hand_target"],
18
+ action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF,
19
+ format=ActionFormat.DEFAULT) for _ in range(3)],
20
+ ),
21
+ "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),
22
+ }
23
+
24
+ register_modality_config(h2_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/h2w3_body31_hand44_h16.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A14 H2 (Sharpa hands) GR00T modality config with THREE cameras head + chest + wrist (user 2026-11-12; the third-person camera is never a model input). Otherwise identical to h2_body31_hand44_h16.py:, same protocol as the A18 Delta-flow run
2
+ (schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projected
3
+ gravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""
4
+ from gr00t.configs.data.embodiment_configs import register_modality_config
5
+ from gr00t.data.embodiment_tags import EmbodimentTag
6
+ from gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
7
+
8
+ h2w3_body31_hand44_h16 = {
9
+ "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest", "wrist"]),
10
+ "state": ModalityConfig(
11
+ delta_indices=[0],
12
+ modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand",
13
+ "projected_gravity"],
14
+ ),
15
+ "action": ModalityConfig(
16
+ delta_indices=list(range(16)),
17
+ modality_keys=["body_target", "left_hand_target", "right_hand_target"],
18
+ action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF,
19
+ format=ActionFormat.DEFAULT) for _ in range(3)],
20
+ ),
21
+ "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),
22
+ }
23
+
24
+ register_modality_config(h2w3_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/hb_aug_v2.py ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Humanoid Benchmark data augmentation v2 (project CLAUDE.md), model-agnostic torch implementation.
2
+
3
+ augment(x, rng, obs_mask=None) takes x: float [T, V, 3, H, W] in [0, 1] (T frames, V cameras) and returns the
4
+ augmented tensor. Each call is one training sample: one of the 15 effects is chosen uniformly and its magnitude
5
+ is scaled by 1.5 around identity; the rest stay at x1. Colour is shared across cameras and time; geometry, light
6
+ patches and white balance are drawn per camera and fixed over time; sensor/optics effects (noise, gaussian blur,
7
+ JPEG, motion blur, sharpen, defocus) apply only to observation frames (obs_mask True).
8
+ Pixel-size parameters are defined at 224 px and scaled by H / 224.
9
+ perturb_joints(q, rng) applies the proprio spec: per-joint bias +-2 deg plus N(0, 0.25 deg) clipped at 3 sigma.
10
+ """
11
+ import io
12
+ import math
13
+
14
+ import numpy as np
15
+ import torch
16
+ import torch.nn.functional as F
17
+ from PIL import Image
18
+ from torchvision.transforms import InterpolationMode
19
+ from torchvision.transforms import functional as TF
20
+
21
+ EFFECTS = ("exposure", "contrast", "saturation", "hue", "gamma", "temperature", "rotation_crop", "noise",
22
+ "gaussian_blur", "jpeg", "motion_blur", "sharpen", "defocus", "light_shadow", "wb_channel")
23
+ CENTER = {"exposure": 0.0, "contrast": 1.0, "saturation": 1.0, "hue": 0.0, "gamma": 1.0, "temperature": 0.0}
24
+ RANGE = {"exposure": (-0.22, 0.22), "contrast": (0.88, 1.12), "saturation": (0.76, 1.24), "hue": (-0.015, 0.015),
25
+ "gamma": (0.89, 1.11), "temperature": (-0.066, 0.066)}
26
+ VERSION = "hb-aug-v2-20261109"
27
+
28
+
29
+ def sample(rng, views, height):
30
+ boost = EFFECTS[int(rng.integers(len(EFFECTS)))]
31
+
32
+ def k(name):
33
+ return 1.5 if boost == name else 1.0
34
+
35
+ px = height / 224.0
36
+ p = {"boost": boost}
37
+ for name, (a, b) in RANGE.items():
38
+ c = CENTER[name]
39
+ p[name] = float(rng.uniform(c + k(name) * (a - c), c + k(name) * (b - c)))
40
+ p["geometry"] = []
41
+ for _ in range(views):
42
+ angle = float(rng.uniform(-1.5 * k("rotation_crop"), 1.5 * k("rotation_crop")))
43
+ p["geometry"].append((angle, 1.0 + abs(angle) * 0.015 + float(rng.uniform(0, 0.02 * k("rotation_crop")))))
44
+ p["noise"] = 4.0 / 255.0 * k("noise") if rng.random() < 0.5 else 0.0
45
+ p["gaussian_blur"] = float(rng.uniform(0.25, 0.65)) * k("gaussian_blur") if rng.random() < 0.15 else 0.0
46
+ if rng.random() < 0.35:
47
+ lo = int(round(100 - k("jpeg") * 30))
48
+ hi = int(round(100 - k("jpeg") * 5))
49
+ p["jpeg"] = int(rng.integers(lo, hi + 1))
50
+ else:
51
+ p["jpeg"] = None
52
+ p["motion_blur"] = ((float(rng.uniform(3, 7)) * k("motion_blur") * px, float(rng.uniform(0, 180)))
53
+ if rng.random() < 0.15 else None)
54
+ p["sharpen"] = float(rng.uniform(0.2, 0.6)) * k("sharpen") if rng.random() < 0.15 else 0.0
55
+ p["defocus"] = float(rng.uniform(1, 2)) * k("defocus") * px if rng.random() < 0.10 else 0.0
56
+ if rng.random() < 0.30:
57
+ g = 0.30 * k("light_shadow")
58
+ p["light_shadow"] = [[(float(rng.uniform(0.1, 0.9)), float(rng.uniform(0.1, 0.9)),
59
+ float(rng.uniform(0.15, 0.35)), float(rng.uniform(1 - g, 1 + g)))
60
+ for _ in range(int(rng.integers(1, 3)))] for _ in range(views)]
61
+ else:
62
+ p["light_shadow"] = None
63
+ if rng.random() < 0.30:
64
+ g = 0.10 * k("wb_channel")
65
+ gains = []
66
+ for _ in range(views):
67
+ row = [1.0, 1.0, 1.0]
68
+ row[int(rng.integers(0, 3))] = float(rng.uniform(1 - g, 1 + g))
69
+ gains.append(row)
70
+ p["wb_channel"] = gains
71
+ else:
72
+ p["wb_channel"] = None
73
+ return p
74
+
75
+
76
+ def _conv(x, kernel):
77
+ n, c, h, w = x.shape
78
+ k = kernel.to(x)[None, None].repeat(c, 1, 1, 1)
79
+ pad = kernel.shape[-1] // 2
80
+ return F.conv2d(F.pad(x, (pad, pad, pad, pad), mode="reflect"), k, groups=c)
81
+
82
+
83
+ def motion_kernel(length, angle_deg):
84
+ size = max(3, int(round(length)) | 1)
85
+ k = torch.zeros(size, size)
86
+ c = size // 2
87
+ th = math.radians(angle_deg)
88
+ for s in np.linspace(-(length - 1) / 2, (length - 1) / 2, 8 * size):
89
+ k[int(round(c - s * math.sin(th))), int(round(c + s * math.cos(th)))] = 1.0
90
+ return k / k.sum()
91
+
92
+
93
+ def disk_kernel(r):
94
+ size = 2 * int(math.ceil(r)) + 1
95
+ c = size // 2
96
+ yy, xx = torch.meshgrid(torch.arange(size), torch.arange(size), indexing="ij")
97
+ k = (((yy - c) ** 2 + (xx - c) ** 2) <= (r + 0.5) ** 2).float()
98
+ return k / k.sum()
99
+
100
+
101
+ def apply(x, p, obs_mask=None, noise_seed=0):
102
+ t, v, c, h, w = x.shape
103
+ x = x.clone().clamp(0, 1)
104
+ for vi, (angle, scale) in enumerate(p["geometry"]):
105
+ x[:, vi] = TF.affine(x[:, vi], angle=angle, translate=[0, 0], scale=scale, shear=[0, 0],
106
+ interpolation=InterpolationMode.BILINEAR)
107
+ if p["light_shadow"] is not None:
108
+ yy, xx = torch.meshgrid(torch.linspace(0, 1, h), torch.linspace(0, 1, w), indexing="ij")
109
+ for vi, blobs in enumerate(p["light_shadow"]):
110
+ m = torch.ones(h, w)
111
+ for cx, cy, s, g in blobs:
112
+ m = m + (g - 1.0) * torch.exp(-((xx - cx) ** 2 + (yy - cy) ** 2) / (2 * s * s))
113
+ x[:, vi] = (x[:, vi] * m.clamp(min=0).to(x)).clamp(0, 1)
114
+ if p["wb_channel"] is not None:
115
+ for vi, g in enumerate(p["wb_channel"]):
116
+ x[:, vi] = (x[:, vi] * torch.tensor(g, dtype=x.dtype).view(1, 3, 1, 1)).clamp(0, 1)
117
+ y = x.reshape(t * v, c, h, w)
118
+ y = (y * float(2.0 ** p["exposure"])).clamp(0, 1)
119
+ d = p["temperature"]
120
+ y = (y * y.new_tensor([1.0 + d, 1.0, 1.0 - d]).view(1, 3, 1, 1)).clamp(0, 1)
121
+ y = ((y - 0.5) * p["contrast"] + 0.5).clamp(0, 1)
122
+ y = TF.adjust_saturation(y, p["saturation"])
123
+ y = TF.adjust_hue(y, p["hue"])
124
+ y = y.clamp(0, 1).pow(p["gamma"])
125
+ x = y.reshape(t, v, c, h, w)
126
+ mask = torch.ones(t, dtype=torch.bool) if obs_mask is None else torch.as_tensor(obs_mask, dtype=torch.bool)
127
+ if bool(mask.any()):
128
+ o = x[mask].reshape(-1, c, h, w)
129
+ if p["gaussian_blur"] > 0:
130
+ o = TF.gaussian_blur(o, [3, 3], [p["gaussian_blur"]] * 2)
131
+ if p["motion_blur"] is not None:
132
+ o = _conv(o, motion_kernel(*p["motion_blur"]))
133
+ if p["defocus"] > 0:
134
+ o = _conv(o, disk_kernel(p["defocus"]))
135
+ if p["sharpen"] > 0:
136
+ o = o + p["sharpen"] * (o - TF.gaussian_blur(o, [5, 5], [1.0, 1.0]))
137
+ o = o.clamp(0, 1)
138
+ if p["noise"] > 0:
139
+ gen = torch.Generator().manual_seed(int(noise_seed))
140
+ o = (o + torch.randn(o.shape, generator=gen, dtype=o.dtype) * p["noise"]).clamp(0, 1)
141
+ if p["jpeg"] is not None:
142
+ for i in range(o.shape[0]):
143
+ buf = io.BytesIO()
144
+ TF.to_pil_image(o[i]).save(buf, format="JPEG", quality=int(p["jpeg"]))
145
+ buf.seek(0)
146
+ with Image.open(buf) as im:
147
+ o[i] = TF.pil_to_tensor(im.convert("RGB")).to(o.dtype).div(255.0)
148
+ x[mask] = o.reshape(-1, v, c, h, w)
149
+ return x.clamp(0, 1)
150
+
151
+
152
+ def augment(x, rng, obs_mask=None):
153
+ p = sample(rng, x.shape[1], x.shape[-2])
154
+ return apply(x, p, obs_mask, noise_seed=int(rng.integers(0, 2 ** 62))), p
155
+
156
+
157
+ def perturb_joints(q, rng):
158
+ q = np.asarray(q, dtype=np.float64)
159
+ d = q.shape[-1]
160
+ bias = rng.uniform(-math.radians(2.0), math.radians(2.0), size=d)
161
+ sigma = math.radians(0.25)
162
+ noise = np.clip(rng.normal(0.0, sigma, size=q.shape), -3 * sigma, 3 * sigma)
163
+ return (q + bias + noise).astype(np.float32)
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/hb_launch.py ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """GR00T N1.7 fine-tuning entry with Humanoid Benchmark augmentation v2.
2
+
3
+ Patches Gr00tN1d7Processor in training mode only:
4
+ - images: native random crop / colour jitter / rotation are bypassed (the deterministic eval resize+center-crop is
5
+ used), then hb_aug_v2 is applied jointly to all cameras of the sample;
6
+ - proprio: the body-joint state groups (HB_BODY_STATE_KEYS) get the v2 bias + noise before normalization.
7
+ Then runs the pinned upstream gr00t/experiment/launch_finetune.py unchanged.
8
+ """
9
+ import json
10
+ import os
11
+ import runpy
12
+ import sys
13
+ from pathlib import Path
14
+
15
+ import numpy as np
16
+ import torch
17
+
18
+ HERE = Path(__file__).resolve().parent
19
+ sys.path.insert(0, str(HERE))
20
+ import hb_offline_fix # noqa: E402,F401 (tokenizer load under HF_HUB_OFFLINE=1, see module docstring)
21
+ import hb_aug_v2 as A # noqa: E402
22
+ from gr00t.model.gr00t_n1d7 import processing_gr00t_n1d7 as P # noqa: E402
23
+
24
+ Proc = P.Gr00tN1d7Processor
25
+ BODY_KEYS = [k for k in os.environ.get("HB_BODY_STATE_KEYS", "left_leg,right_leg,waist,left_arm,right_arm").split(",") if k]
26
+ LOG = os.environ.get("HB_AUG_LOG")
27
+ _state = {"rng": None, "count": 0}
28
+
29
+
30
+ def _rng():
31
+ if _state["rng"] is None:
32
+ _state["rng"] = np.random.default_rng([os.getpid(), int.from_bytes(os.urandom(8), "little")])
33
+ return _state["rng"]
34
+
35
+
36
+ _orig_get, _orig_apply, _orig_call = Proc._get_vlm_inputs, Proc._apply_vlm_processing, Proc.__call__
37
+
38
+
39
+ def _get_vlm_inputs(self, image_keys, images, masks, image_transform, language):
40
+ if getattr(self, "training", False):
41
+ self._hb_views = len(image_keys)
42
+ try:
43
+ return _orig_get(self, image_keys, images, masks, self.eval_image_transform, language)
44
+ finally:
45
+ self._hb_views = None
46
+ return _orig_get(self, image_keys, images, masks, image_transform, language)
47
+
48
+
49
+ def _apply_vlm_processing(self, images, language):
50
+ views = getattr(self, "_hb_views", None)
51
+ if views and isinstance(images, torch.Tensor):
52
+ shape = images.shape
53
+ x = images.reshape(-1, views, *shape[1:]).float().div(255.0)
54
+ x, p = A.augment(x, _rng())
55
+ images = (x * 255.0 + 0.5).clamp(0, 255).to(torch.uint8).reshape(shape)
56
+ _state["count"] += 1
57
+ if LOG and _state["count"] in (1, 50):
58
+ with open(f"{LOG}.{os.getpid()}", "a") as f:
59
+ f.write(json.dumps({"count": _state["count"], "views": views, "hw": list(shape[-2:]),
60
+ "boost": p["boost"], "version": A.VERSION}) + "\n")
61
+ return _orig_apply(self, images, language)
62
+
63
+
64
+ def _call(self, messages):
65
+ if getattr(self, "training", False) and BODY_KEYS:
66
+ states = messages[0]["content"].states
67
+ for key in BODY_KEYS:
68
+ if key in states:
69
+ states[key] = A.perturb_joints(states[key], _rng())
70
+ return _orig_call(self, messages)
71
+
72
+
73
+ Proc._get_vlm_inputs = _get_vlm_inputs
74
+ Proc._apply_vlm_processing = _apply_vlm_processing
75
+ Proc.__call__ = _call
76
+
77
+ if os.environ.get("HB_PATCH_ONLY") != "1":
78
+ entry = Path(os.environ["GROOT_SRC"]) / "gr00t/experiment/launch_finetune.py"
79
+ sys.argv = [str(entry)] + sys.argv[1:]
80
+ try:
81
+ runpy.run_path(str(entry), run_name="__main__")
82
+ finally: # batch probe: report this rank's peak reserved memory (groot_chain.py compares it with MAX_FRAC)
83
+ _peak = os.environ.get("HB_PEAK_FILE")
84
+ if _peak and torch.cuda.is_available():
85
+ try:
86
+ _dev = torch.cuda.current_device()
87
+ with open(f"{_peak}-rank{os.environ.get('RANK', '0')}.json", "w") as _f:
88
+ json.dump({"rank": int(os.environ.get("RANK", "0")),
89
+ "peak_reserved_gb": torch.cuda.max_memory_reserved(_dev) / 1e9,
90
+ "total_gb": torch.cuda.get_device_properties(_dev).total_memory / 1e9}, _f)
91
+ except Exception: # noqa: BLE001 - never mask the training result
92
+ pass
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/hb_offline_fix.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Make tokenizer loading work with HF_HUB_OFFLINE=1 on transformers 4.57.x.
2
+
3
+ PreTrainedTokenizerBase._patch_mistral_regex calls huggingface_hub.model_info() for every hub-named tokenizer with a
4
+ vocab > 100k (to detect Mistral base models). With HF_HUB_OFFLINE=1 that raises OfflineModeIsEnabled even though all
5
+ files are in the cache. GR00T's Cosmos-Reason2-2B / Qwen3-VL tokenizer is not a Mistral tokenizer, so when offline the
6
+ check is skipped and the tokenizer is returned unchanged. Online behaviour is untouched.
7
+ """
8
+ import os
9
+
10
+ from transformers.tokenization_utils_base import PreTrainedTokenizerBase as _PTB
11
+
12
+ if not getattr(_PTB, "_hb_offline_fix", False):
13
+ _orig = _PTB._patch_mistral_regex.__func__
14
+
15
+ def _patch_mistral_regex(cls, tokenizer, *args, **kwargs):
16
+ try:
17
+ return _orig(cls, tokenizer, *args, **kwargs)
18
+ except Exception as error:
19
+ if os.environ.get("HF_HUB_OFFLINE") == "1" or type(error).__name__ == "OfflineModeIsEnabled":
20
+ return tokenizer
21
+ raise
22
+
23
+ _PTB._patch_mistral_regex = classmethod(_patch_mistral_regex)
24
+ _PTB._hb_offline_fix = True
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/prepare_groot_data.py ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build GR00T dataset views (symlinked episodes + rewritten meta + stats) for the G1 tasks.
2
+
3
+ Usage: <groot python> prepare_groot_data.py <task> [<task> ...] (tasks: b6 basket a3 a7)
4
+ B6 always uses the fixed first 100 episodes (0-99) of b6-v5t7-ready-start-20261109.
5
+ """
6
+ import hashlib
7
+ import json
8
+ import os
9
+ import subprocess
10
+ import sys
11
+ from pathlib import Path
12
+
13
+ H = Path(__file__).resolve().parent
14
+ G = H.parent
15
+ P = G.parent
16
+ OUT = G / "groot-data"
17
+ TASKS = {
18
+ "b6": (P / "b6-v5t7-ready-start-60ep-20261109/data/deliveries/g1/b6-v5t7-ready-start-20261109", 100),
19
+ "basket": (P / "basket-current-dynamics-100-v21-b0ff522/data", None), # HF basket-transfer-expert-v1 @current-dynamics-100-v21 b0ff522 (old ed77719 retired)
20
+ "trolley": (P / "trolley-push-expert-v1-20261110/data/trolley_push", 100), # HF trolley-push-expert-v1 @ef9024a: fixed first 100 of 103
21
+ "b7": (P / "b7-black-clothes-hamper-v1-1bb002a/data", 100), # HF b7-black-clothes-hamper-expert-v1 @1bb002a, first 100 of 107
22
+ "a6": (P / "a6-door-pull-v1-cf3ee9b/data/door_pull", None), # HF door-pull-expert-v1 @cf3ee9b (A6)
23
+ "b7green": (P / "b7-green-clothes-hamper-v1-ada288c/data", None), # HF b7-green-clothes-hamper-expert-v1 @ada288c, 100 episodes (user 2026-11-13)
24
+ "a10v2": (P / "a10-trolley-push-v2-d3abb4c/data", None), # HF a10-trolley-push-expert-v2 @d3abb4c, all 150 episodes (user 2026-11-13)
25
+ "a1": (P / "a1-ground-object-pickup-v1-f47f07e/data", None), # HF a1-ground-object-pickup-expert-v1 @f47f07e (A1)
26
+ "c6t": (P / "c6-test8-06c231d/data", None), # c6 8-episode adaptation test only
27
+ "c6": (P / "c6-bathroom-door-fetch-v1-3afba69/data", None), # HF c6-bathroom-door-fetch-expert-v1 @3afba69 (C6)
28
+ "a3": (P / "a3-a7-20261109/a3-fridge-open-expert-v1/780fcf1e4bd7db947a8c2d8f7b92e61f24f71b45", None),
29
+ "a7": (P / "a3-a7-20261109/a7-cabinet-close-expert-v1/1935a98e8f55d4d1d2d1615ddb97c2679713595c", None),
30
+ "a18": (P / "a18-h2-dataset-audit-8e956a10/dataset", None),
31
+ "a17": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # HF a17-unscrew-bottle-expert-v1 @407e6e2
32
+ "a14": (P / "a14-unscrew-bulb-v1-b4390fc/data", None), # HF a14-unscrew-bulb-expert-v1 @b4390fc (H2, 3 cameras)
33
+ }
34
+ CONFIG = {"a18": "h2w3_body31_hand44_h16.py", "a17": "h2w3_body31_hand44_h16.py", "a14": "h2w3_body31_hand44_h16.py"}
35
+ # model-input cameras per H2 task (user 2026-11-12 22:0x: EVERY H2 task uses head + chest + wrist; third_person never)
36
+ CAMS = {"a18": ("head", "chest", "wrist"), "a17": ("head", "chest", "wrist"), "a14": ("head", "chest", "wrist")}
37
+ H2_GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29),
38
+ "head": (29, 31), "left_hand": (31, 53), "right_hand": (53, 75)}
39
+
40
+
41
+ def h2_modality(info, cams=("head", "chest")):
42
+ f = info["features"]
43
+ names = f["observation.state"]["names"]
44
+ assert len(names) == 75 and names[:31] == f["action.body_target"]["names"] and names[31:] == f["action.hands"]["names"]
45
+ assert f["observation.projected_gravity"]["shape"] == [3]
46
+ state = {g: {"original_key": "observation.state", "start": a, "end": b} for g, (a, b) in H2_GROUPS.items()}
47
+ state["projected_gravity"] = {"original_key": "observation.projected_gravity", "start": 0, "end": 3}
48
+ return {"state": state,
49
+ "action": {"body_target": {"original_key": "action.body_target", "start": 0, "end": 31},
50
+ "left_hand_target": {"original_key": "action.hands", "start": 0, "end": 22},
51
+ "right_hand_target": {"original_key": "action.hands", "start": 22, "end": 44}},
52
+ "video": {c: {"original_key": f"observation.images.{c}"} for c in cams},
53
+ "annotation": {"human.task_description": {"original_key": "task_index"}}}
54
+ BODY = ["left_hip_pitch_joint", "left_hip_roll_joint", "left_hip_yaw_joint", "left_knee_joint", "left_ankle_pitch_joint",
55
+ "left_ankle_roll_joint", "right_hip_pitch_joint", "right_hip_roll_joint", "right_hip_yaw_joint",
56
+ "right_knee_joint", "right_ankle_pitch_joint", "right_ankle_roll_joint", "waist_yaw_joint", "waist_roll_joint",
57
+ "waist_pitch_joint", "left_shoulder_pitch_joint", "left_shoulder_roll_joint", "left_shoulder_yaw_joint",
58
+ "left_elbow_joint", "left_wrist_roll_joint", "left_wrist_pitch_joint", "left_wrist_yaw_joint",
59
+ "right_shoulder_pitch_joint", "right_shoulder_roll_joint", "right_shoulder_yaw_joint", "right_elbow_joint",
60
+ "right_wrist_roll_joint", "right_wrist_pitch_joint", "right_wrist_yaw_joint"]
61
+ GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29)}
62
+
63
+
64
+ def jl(path):
65
+ return [json.loads(x) for x in Path(path).read_text().splitlines() if x.strip()]
66
+
67
+
68
+ def wl(path, rows):
69
+ Path(path).write_text("".join(json.dumps(r) + "\n" for r in rows))
70
+
71
+
72
+ def build(task):
73
+ src, limit = TASKS[task]
74
+ info = json.loads((src / "meta/info.json").read_text())
75
+ names = info["features"]["observation.state"]["names"]
76
+ if task in CONFIG:
77
+ idx = list(range(31))
78
+ else:
79
+ idx = [names.index(n) for n in BODY]
80
+ for g, (a, b) in GROUPS.items():
81
+ assert idx[a:b] == list(range(idx[a], idx[a] + (b - a))), (task, g, idx[a:b])
82
+ for key, dim in (("action.motion_token", 64), ("observation.inspire_left_hand_state", 6),
83
+ ("observation.inspire_right_hand_state", 6), ("observation.projected_gravity", 3),
84
+ ("observation.images.ego_view", None), ("observation.images.chest", None)):
85
+ assert key in info["features"], (task, key)
86
+ if dim:
87
+ assert info["features"][key]["shape"] == [dim], (task, key)
88
+ episodes = jl(src / "meta/episodes.jsonl")
89
+ stats = jl(src / "meta/episodes_stats.jsonl")
90
+ n = len(episodes) if limit is None else limit
91
+ episodes, stats = episodes[:n], stats[:n]
92
+ assert [e["episode_index"] for e in episodes] == list(range(n)) == [s["episode_index"] for s in stats]
93
+ frames = sum(int(e["length"]) for e in episodes)
94
+ dst = OUT / task
95
+ if dst.exists():
96
+ raise SystemExit(f"{dst} exists")
97
+ (dst / "meta").mkdir(parents=True)
98
+ vkeys = [k for k, f in info["features"].items() if f.get("dtype") == "video"]
99
+ for e in episodes:
100
+ i = e["episode_index"]
101
+ chunk = i // int(info["chunks_size"])
102
+ rel = info["data_path"].format(episode_chunk=chunk, episode_index=i)
103
+ (dst / rel).parent.mkdir(parents=True, exist_ok=True)
104
+ os.symlink(src / rel, dst / rel)
105
+ for k in vkeys:
106
+ relv = info["video_path"].format(episode_chunk=chunk, video_key=k, episode_index=i)
107
+ (dst / relv).parent.mkdir(parents=True, exist_ok=True)
108
+ os.symlink(src / relv, dst / relv)
109
+ if task in CONFIG:
110
+ # stats.py computes stats for every low-dim feature in info.json and cannot handle e.g. observation.tactile
111
+ # [10,24,24]; keep only what the H2 modality uses (parquet columns stay untouched behind the symlinks).
112
+ keep = {"observation.state", "observation.projected_gravity", "action.body_target", "action.hands",
113
+ "timestamp", "frame_index", "episode_index", "index", "task_index"}
114
+ keep |= {f"observation.images.{c}" for c in CAMS[task]}
115
+ info["features"] = {k: v for k, v in info["features"].items() if k in keep}
116
+ vkeys = [k for k in vkeys if k in keep]
117
+ stats = [{**s, "stats": {k: v for k, v in s["stats"].items() if k in keep}} if "stats" in s else s
118
+ for s in stats]
119
+ info.update(total_episodes=n, total_frames=frames, total_videos=n * len(vkeys),
120
+ total_chunks=(n - 1) // int(info["chunks_size"]) + 1, splits={"train": f"0:{n}"})
121
+ (dst / "meta/info.json").write_text(json.dumps(info, indent=2))
122
+ wl(dst / "meta/episodes.jsonl", episodes)
123
+ wl(dst / "meta/episodes_stats.jsonl", stats)
124
+ (dst / "meta/tasks.jsonl").write_text((src / "meta/tasks.jsonl").read_text())
125
+ if task in CONFIG:
126
+ modality = h2_modality(info, CAMS[task])
127
+ else:
128
+ state = {g: {"original_key": "observation.state", "start": idx[a], "end": idx[a] + (b - a)}
129
+ for g, (a, b) in GROUPS.items()}
130
+ state.update(left_hand={"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6},
131
+ right_hand={"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6},
132
+ projected_gravity={"original_key": "observation.projected_gravity", "start": 0, "end": 3})
133
+ modality = {"state": state,
134
+ "action": {"motion_token": {"original_key": "action.motion_token", "start": 0, "end": 64},
135
+ "left_hand_joints": {"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6},
136
+ "right_hand_joints": {"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6}},
137
+ "video": {"ego_view": {"original_key": "observation.images.ego_view"},
138
+ "chest": {"original_key": "observation.images.chest"}},
139
+ "annotation": {"human.task_description": {"original_key": "task_index"}}}
140
+ (dst / "meta/modality.json").write_text(json.dumps(modality, indent=2))
141
+ py = sys.executable
142
+ src_g = G / "HumanWAM/third_party/Isaac-GR00T"
143
+ env = dict(os.environ, PYTHONPATH=f"{src_g}:{H}")
144
+ done = None
145
+ for tag in ("NEW_EMBODIMENT", "new_embodiment"):
146
+ r = subprocess.run([py, str(src_g / "gr00t/data/stats.py"), "--dataset-path", str(dst), "--embodiment-tag", tag,
147
+ "--modality-config-path", str(H / CONFIG.get(task, "g1_feedback76_h16.py"))], env=env, cwd=src_g,
148
+ capture_output=True, text=True)
149
+ if r.returncode == 0:
150
+ done = tag
151
+ break
152
+ last = r.stdout[-1500:] + r.stderr[-1500:]
153
+ if done is None:
154
+ raise SystemExit(f"stats failed for {task}:\n{last}")
155
+ assert (dst / "meta/stats.json").is_file()
156
+ receipt = dict(task=task, source=str(src), episodes=n, frames=frames, video_keys=vkeys,
157
+ state_dim_raw=len(names), body_index=idx, stats_tag=done,
158
+ modality_sha256=hashlib.sha256((dst / "meta/modality.json").read_bytes()).hexdigest(),
159
+ stats_sha256=hashlib.sha256((dst / "meta/stats.json").read_bytes()).hexdigest())
160
+ (dst / "hb-dataset-receipt.json").write_text(json.dumps(receipt, indent=2) + "\n")
161
+ print("DATASET_OK", json.dumps(receipt)[:400], flush=True)
162
+
163
+
164
+ for t in sys.argv[1:]:
165
+ build(t)
c6-bathroom-door-fetch/b512/step-004500/code/hb_groot/verify_groot_cpu.py ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """CPU check of the GR00T data path for one task view: loader shapes, v2 augmentation, processor patch import."""
2
+ import json
3
+ import os
4
+ import sys
5
+ from pathlib import Path
6
+
7
+ import numpy as np
8
+ import torch
9
+
10
+ H = Path(__file__).resolve().parent
11
+ sys.path.insert(0, str(H))
12
+ os.environ["HB_PATCH_ONLY"] = "1"
13
+ import hb_launch # noqa: E402,F401 (applies the processor patch)
14
+ import hb_aug_v2 as A # noqa: E402
15
+ from gr00t.data.dataset.lerobot_episode_loader import LeRobotEpisodeLoader # noqa: E402
16
+ from gr00t.model.gr00t_n1d7.processing_gr00t_n1d7 import Gr00tN1d7Processor # noqa: E402
17
+
18
+ view = Path(sys.argv[1])
19
+ if view.name in ("a14", "a18", "a17"): # every H2 task: 3 cameras head + chest + wrist (user 2026-11-12)
20
+ import h2w3_body31_hand44_h16 as C # noqa: E402
21
+ cfg = C.h2w3_body31_hand44_h16
22
+ else:
23
+ import g1_feedback76_h16 as C # noqa: E402
24
+ cfg = C.feedback76_h16
25
+ loader = LeRobotEpisodeLoader(view, cfg)
26
+ df = loader[0]
27
+ cols = list(df.columns)
28
+ row = df.iloc[20]
29
+ out = {"episodes": len(loader), "columns": cols[:40], "rows_ep0": len(df)}
30
+ state_dims = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("state.")}
31
+ action_dims = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("action.")}
32
+ out.update(state_dims=state_dims, action_dims=action_dims, state_total=sum(state_dims.values()),
33
+ action_total=sum(action_dims.values()))
34
+ vids = [c for c in cols if c.startswith("video.")]
35
+ imgs = [np.asarray(row[c]) for c in vids]
36
+ out["video"] = {c: list(i.shape) for c, i in zip(vids, imgs)}
37
+ x = torch.stack([torch.from_numpy(i).permute(2, 0, 1).float().div(255) for i in imgs])[None]
38
+ rng = np.random.default_rng(0)
39
+ boosts = {}
40
+ for _ in range(60):
41
+ y, p = A.augment(x, rng)
42
+ boosts[p["boost"]] = boosts.get(p["boost"], 0) + 1
43
+ assert y.shape == x.shape and torch.isfinite(y).all() and float(y.min()) >= 0 and float(y.max()) <= 1
44
+ out["aug_boost_counts_60"] = boosts
45
+ out["mean_abs_change_last"] = round(float((y - x).abs().mean()), 4)
46
+ q = np.zeros((1, 29))
47
+ dq = A.perturb_joints(q, rng)
48
+ out["proprio_max_abs_deg"] = round(float(np.degrees(np.abs(dq).max())), 3)
49
+ out["patched"] = Gr00tN1d7Processor._get_vlm_inputs.__name__ == "_get_vlm_inputs" and \
50
+ Gr00tN1d7Processor.__call__.__module__ == "hb_launch"
51
+ print("CPU_VERIFY", json.dumps(out), flush=True)
c6-bathroom-door-fetch/b512/step-004500/config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_horizon": 40,
3
+ "add_pos_embed": true,
4
+ "apply_sincos_state_encoding": false,
5
+ "architectures": [
6
+ "Gr00tN1d7"
7
+ ],
8
+ "attn_dropout": 0.2,
9
+ "attn_implementation": null,
10
+ "backbone_embedding_dim": 2048,
11
+ "backbone_trainable_params_fp32": true,
12
+ "color_jitter_params": {
13
+ "brightness": 0.3,
14
+ "contrast": 0.4,
15
+ "hue": 0.08,
16
+ "saturation": 0.5
17
+ },
18
+ "crop_fraction": 0.95,
19
+ "diffusion_model_cfg": {
20
+ "attention_head_dim": 48,
21
+ "dropout": 0.2,
22
+ "final_dropout": true,
23
+ "interleave_self_attention": true,
24
+ "norm_type": "ada_norm",
25
+ "num_attention_heads": 32,
26
+ "num_layers": 32,
27
+ "output_dim": 1024,
28
+ "positional_embeddings": null
29
+ },
30
+ "dtype": "bfloat16",
31
+ "exclude_state": false,
32
+ "formalize_language": true,
33
+ "hidden_size": 1024,
34
+ "image_crop_size": [
35
+ 230,
36
+ 230
37
+ ],
38
+ "image_target_size": [
39
+ 256,
40
+ 256
41
+ ],
42
+ "letter_box_transform": false,
43
+ "load_bf16": false,
44
+ "max_action_dim": 132,
45
+ "max_num_embodiments": 32,
46
+ "max_seq_len": 1024,
47
+ "max_state_dim": 132,
48
+ "model_dtype": "bfloat16",
49
+ "model_name": "nvidia/Cosmos-Reason2-2B",
50
+ "model_type": "Gr00tN1d7",
51
+ "noise_beta_alpha": 1.5,
52
+ "noise_beta_beta": 1.0,
53
+ "noise_s": 0.999,
54
+ "num_inference_timesteps": 4,
55
+ "num_timestep_buckets": 1000,
56
+ "random_history_crop": true,
57
+ "random_rotation_angle": 0,
58
+ "reproject_vision": false,
59
+ "rtc_ramp_rate": 6.0,
60
+ "select_layer": 16,
61
+ "shortest_image_edge": 256,
62
+ "state_dropout_prob": 0.2,
63
+ "state_gaussian_noise_std": 0.0,
64
+ "strict_action_padding_mask": false,
65
+ "strict_vl_padding_mask": false,
66
+ "transformers_version": "4.57.3",
67
+ "tune_diffusion_model": true,
68
+ "tune_linear": true,
69
+ "tune_llm": true,
70
+ "tune_projector": true,
71
+ "tune_top_llm_layers": 0,
72
+ "tune_visual": true,
73
+ "tune_vlln": true,
74
+ "use_albumentations": true,
75
+ "use_alternate_vl_dit": true,
76
+ "use_flash_attention": true,
77
+ "use_future_tokens": false,
78
+ "use_mean_std": false,
79
+ "use_percentiles": true,
80
+ "use_vl_self_attention": true,
81
+ "use_vlln": true,
82
+ "vl_self_attention_cfg": {
83
+ "attention_head_dim": 64,
84
+ "dropout": 0.2,
85
+ "final_dropout": true,
86
+ "num_attention_heads": 32,
87
+ "num_layers": 4,
88
+ "positional_embeddings": null
89
+ }
90
+ }
c6-bathroom-door-fetch/b512/step-004500/dataset_meta/hb-dataset-receipt.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "c6",
3
+ "source": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/c6-bathroom-door-fetch-v1-3afba69/data",
4
+ "episodes": 100,
5
+ "frames": 221805,
6
+ "video_keys": [
7
+ "observation.images.ego_view",
8
+ "observation.images.chest"
9
+ ],
10
+ "state_dim_raw": 41,
11
+ "body_index": [
12
+ 0,
13
+ 1,
14
+ 2,
15
+ 3,
16
+ 4,
17
+ 5,
18
+ 6,
19
+ 7,
20
+ 8,
21
+ 9,
22
+ 10,
23
+ 11,
24
+ 12,
25
+ 13,
26
+ 14,
27
+ 15,
28
+ 16,
29
+ 17,
30
+ 18,
31
+ 19,
32
+ 20,
33
+ 21,
34
+ 22,
35
+ 23,
36
+ 24,
37
+ 25,
38
+ 26,
39
+ 27,
40
+ 28
41
+ ],
42
+ "stats_tag": "NEW_EMBODIMENT",
43
+ "modality_sha256": "aea724f383cf0aa4d74349163ac73ec7b1f6f30cf5a66efce0a12c50dfabf823",
44
+ "stats_sha256": "6db42c9586c298787511f81dead571172f8bb883a218c32b3db5b5e95439a8c8"
45
+ }
c6-bathroom-door-fetch/b512/step-004500/dataset_meta/modality.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "left_leg": {
4
+ "original_key": "observation.state",
5
+ "start": 0,
6
+ "end": 6
7
+ },
8
+ "right_leg": {
9
+ "original_key": "observation.state",
10
+ "start": 6,
11
+ "end": 12
12
+ },
13
+ "waist": {
14
+ "original_key": "observation.state",
15
+ "start": 12,
16
+ "end": 15
17
+ },
18
+ "left_arm": {
19
+ "original_key": "observation.state",
20
+ "start": 15,
21
+ "end": 22
22
+ },
23
+ "right_arm": {
24
+ "original_key": "observation.state",
25
+ "start": 22,
26
+ "end": 29
27
+ },
28
+ "left_hand": {
29
+ "original_key": "observation.inspire_left_hand_state",
30
+ "start": 0,
31
+ "end": 6
32
+ },
33
+ "right_hand": {
34
+ "original_key": "observation.inspire_right_hand_state",
35
+ "start": 0,
36
+ "end": 6
37
+ },
38
+ "projected_gravity": {
39
+ "original_key": "observation.projected_gravity",
40
+ "start": 0,
41
+ "end": 3
42
+ }
43
+ },
44
+ "action": {
45
+ "motion_token": {
46
+ "original_key": "action.motion_token",
47
+ "start": 0,
48
+ "end": 64
49
+ },
50
+ "left_hand_joints": {
51
+ "original_key": "observation.inspire_left_hand_state",
52
+ "start": 0,
53
+ "end": 6
54
+ },
55
+ "right_hand_joints": {
56
+ "original_key": "observation.inspire_right_hand_state",
57
+ "start": 0,
58
+ "end": 6
59
+ }
60
+ },
61
+ "video": {
62
+ "ego_view": {
63
+ "original_key": "observation.images.ego_view"
64
+ },
65
+ "chest": {
66
+ "original_key": "observation.images.chest"
67
+ }
68
+ },
69
+ "annotation": {
70
+ "human.task_description": {
71
+ "original_key": "task_index"
72
+ }
73
+ }
74
+ }
c6-bathroom-door-fetch/b512/step-004500/embodiment_id.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "robocasa_panda_omron": 13,
3
+ "oxe_droid": 17,
4
+ "oxe_fractal": 18,
5
+ "oxe_language_table": 19,
6
+ "oxe_bridge": 20,
7
+ "unknown": 22,
8
+ "gr1_unified": 20,
9
+ "agibot": 26,
10
+ "sim_behavior_r1_pro": 23,
11
+ "xdof": 24,
12
+ "xdof_oss_data": 25,
13
+ "unitree_g1_full_body_with_waist_height_nav_cmd": 25,
14
+ "real_r1_pro_sharpa": 27,
15
+ "real_r1_pro_sharpa_add_view": 27,
16
+ "real_r1_pro_sharpa_relative_arm_joint": 26,
17
+ "real_r1_pro_sharpa_delta_eef": 26,
18
+ "real_r1_pro_sharpa_absolute_eef": 26,
19
+ "real_r1_pro_sharpa_meanstd": 26,
20
+ "real_r1_pro_sharpa_relative_eef": 26,
21
+ "real_r1_pro_sharpa_relative_eef_add_view": 26,
22
+ "real_r1_pro_sharpa_relative_eef_relative_hand": 26,
23
+ "real_r1_pro_sharpa_relative_eef_human": 26,
24
+ "real_r1_pro_sharpa_relative_eef_human_add_view": 26,
25
+ "real_r1_pro_sharpa_relative_eef_human_relative_hand": 26,
26
+ "real_r1_pro_sharpa_relative_eef_egodex": 26,
27
+ "real_r1_pro_sharpa_relative_eef_egodex_relative_hand": 26,
28
+ "real_r1_pro_sharpa_relative_eef_egodex_wrist_only": 26,
29
+ "real_r1_pro_sharpa_relative_eef_maxinsights": 26,
30
+ "real_r1_pro_sharpa_relative_eef_maxinsights_relative_hand": 26,
31
+ "real_r1_pro_sharpa_relative_eef_mecka": 26,
32
+ "real_r1_pro_sharpa_relative_eef_mecka_relative_hand": 26,
33
+ "real_g1_relative_eef_absolute_joints": 25,
34
+ "real_g1_relative_eef_absolute_joints_wrist_cam": 25,
35
+ "real_g1_relative_eef_relative_joints": 25,
36
+ "real_r1_pro_sharpa_relative_eef_relative_hand_relative_joint": 26,
37
+ "real_r1_pro_sharpa_relative_joint": 29,
38
+ "oxe_droid_relative_eef_relative_joint": 24,
39
+ "oxe_droid_relative_eef_relative_joint_swapped": 24,
40
+ "oxe_droid_relative_eef_relative_joint_upweight_z": 24,
41
+ "oxe_droid_relative_eef_relative_joint_upweight_z_swapped": 24,
42
+ "oxe_droid_relative_eef_relative_joint_3view": 24,
43
+ "oxe_droid_relative_eef_relative_joint_3view_swapped": 24,
44
+ "oxe_droid_relative_eef": 24,
45
+ "oxe_droid_joint_position_relative": 24,
46
+ "xdof_relative_eef_relative_joint": 27,
47
+ "xdof_relative_eef_relative_joint_subtask": 27,
48
+ "xdof_relative_eef": 27,
49
+ "xdof_relative_joint": 28,
50
+ "simpler_env_google": 0,
51
+ "simpler_env_widowx": 1,
52
+ "libero_sim": 2,
53
+ "droid_sim": 3,
54
+ "new_embodiment": 10,
55
+ "robocasa_gr1_tabletop": 10,
56
+ "unitree_g1_sonic": 11
57
+ }
c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/conf.yaml ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ load_config_path: null
2
+ model:
3
+ model_type: Gr00tN1d7
4
+ model_dtype: bfloat16
5
+ model_name: nvidia/Cosmos-Reason2-2B
6
+ backbone_model_type: qwen
7
+ model_revision: null
8
+ tune_top_llm_layers: 0
9
+ backbone_embedding_dim: 2048
10
+ tune_llm: true
11
+ tune_visual: true
12
+ select_layer: 12
13
+ reproject_vision: false
14
+ use_flash_attention: true
15
+ load_bf16: false
16
+ backbone_trainable_params_fp32: true
17
+ image_crop_size:
18
+ - 230
19
+ - 230
20
+ image_target_size:
21
+ - 256
22
+ - 256
23
+ shortest_image_edge: null
24
+ crop_fraction: null
25
+ random_rotation_angle: null
26
+ color_jitter_params: null
27
+ use_albumentations_transforms: true
28
+ letter_box_transform: false
29
+ extra_augmentation_config: null
30
+ formalize_language: true
31
+ apply_sincos_state_encoding: false
32
+ use_percentiles: true
33
+ use_relative_action: true
34
+ max_state_dim: 132
35
+ max_action_dim: 132
36
+ action_horizon: 40
37
+ strict_action_padding_mask: null
38
+ hidden_size: 1024
39
+ input_embedding_dim: 1536
40
+ state_history_length: 1
41
+ add_pos_embed: true
42
+ attn_dropout: 0.2
43
+ use_vlln: true
44
+ strict_vl_padding_mask: null
45
+ max_seq_len: 1024
46
+ use_alternate_vl_dit: true
47
+ attend_text_every_n_blocks: 2
48
+ diffusion_model_cfg:
49
+ positional_embeddings: null
50
+ num_layers: 16
51
+ num_attention_heads: 32
52
+ attention_head_dim: 48
53
+ norm_type: ada_norm
54
+ dropout: 0.2
55
+ final_dropout: true
56
+ output_dim: 1024
57
+ interleave_self_attention: true
58
+ num_inference_timesteps: 4
59
+ noise_beta_alpha: 1.5
60
+ noise_beta_beta: 1.0
61
+ noise_s: 0.999
62
+ num_timestep_buckets: 1000
63
+ tune_projector: true
64
+ tune_diffusion_model: true
65
+ tune_vlln: true
66
+ state_dropout_prob: 0.2
67
+ exclude_state: false
68
+ use_mean_std: false
69
+ max_num_embodiments: 32
70
+ data:
71
+ datasets:
72
+ - dataset_paths:
73
+ - /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-data/c6
74
+ embodiment_tag: new_embodiment
75
+ mix_ratio: 1.0
76
+ dataset_type: physical_embodiment
77
+ val_dataset_path: null
78
+ modality_configs:
79
+ new_embodiment:
80
+ video:
81
+ delta_indices:
82
+ - 0
83
+ modality_keys:
84
+ - ego_view
85
+ - chest
86
+ sin_cos_embedding_keys: null
87
+ mean_std_embedding_keys: null
88
+ action_configs: null
89
+ state:
90
+ delta_indices:
91
+ - 0
92
+ modality_keys:
93
+ - left_leg
94
+ - right_leg
95
+ - waist
96
+ - left_arm
97
+ - right_arm
98
+ - left_hand
99
+ - right_hand
100
+ - projected_gravity
101
+ sin_cos_embedding_keys: null
102
+ mean_std_embedding_keys: null
103
+ action_configs: null
104
+ action:
105
+ delta_indices:
106
+ - 0
107
+ - 1
108
+ - 2
109
+ - 3
110
+ - 4
111
+ - 5
112
+ - 6
113
+ - 7
114
+ - 8
115
+ - 9
116
+ - 10
117
+ - 11
118
+ - 12
119
+ - 13
120
+ - 14
121
+ - 15
122
+ modality_keys:
123
+ - motion_token
124
+ - left_hand_joints
125
+ - right_hand_joints
126
+ sin_cos_embedding_keys: null
127
+ mean_std_embedding_keys: null
128
+ action_configs:
129
+ - rep: ABSOLUTE
130
+ type: NON_EEF
131
+ format: DEFAULT
132
+ state_key: null
133
+ - rep: ABSOLUTE
134
+ type: NON_EEF
135
+ format: DEFAULT
136
+ state_key: null
137
+ - rep: ABSOLUTE
138
+ type: NON_EEF
139
+ format: DEFAULT
140
+ state_key: null
141
+ language:
142
+ delta_indices:
143
+ - 0
144
+ modality_keys:
145
+ - annotation.human.task_description
146
+ sin_cos_embedding_keys: null
147
+ mean_std_embedding_keys: null
148
+ action_configs: null
149
+ download_cache: false
150
+ shard_size: 1024
151
+ episode_sampling_rate: 0.1
152
+ num_shards_per_epoch: 100000
153
+ ds_weights_alpha: null
154
+ override_pretraining_statistics: true
155
+ mode: single_turn
156
+ random_chop: 0.0
157
+ mock_dataset_mode: false
158
+ shuffle: true
159
+ seed: 42
160
+ multiprocessing_context: fork
161
+ allow_padding: false
162
+ subsample_ratio: 1.0
163
+ loader: fast
164
+ fast_loader:
165
+ decode_threads: 2
166
+ ffmpeg_threads: 1
167
+ shuffle_buffer: 0
168
+ min_fill: 0
169
+ image_crop_size:
170
+ - 244
171
+ - 244
172
+ image_target_size:
173
+ - 224
174
+ - 224
175
+ training:
176
+ output_dir: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-runs-ft512/c6/production
177
+ experiment_name: null
178
+ max_steps: 8000
179
+ global_batch_size: 256
180
+ per_gpu_batch_size: null
181
+ gradient_accumulation_steps: 2
182
+ learning_rate: 0.0001
183
+ lr_scheduler_type: cosine
184
+ weight_decay: 1.0e-05
185
+ warmup_ratio: 0.05
186
+ warmup_steps: 0
187
+ max_grad_norm: 1.0
188
+ optim: adamw_torch
189
+ start_from_checkpoint: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/models/groot-n17-base
190
+ skip_weight_loading: false
191
+ tf32: true
192
+ fp16: false
193
+ bf16: true
194
+ eval_bf16: true
195
+ logging_steps: 10
196
+ save_steps: 500
197
+ save_total_limit: 9
198
+ save_vl_model: false
199
+ save_only_model: false
200
+ resume_from_checkpoint: false
201
+ upload_checkpoints: false
202
+ upload_every: 1000
203
+ upload_last_n_checkpoints: 5
204
+ max_concurrent_uploads: 2
205
+ eval_strategy: 'no'
206
+ eval_steps: 500
207
+ eval_set_split_ratio: 0.1
208
+ eval_batch_size: 2
209
+ save_best_eval_metric_name: ''
210
+ save_best_eval_metric_greater_is_better: true
211
+ deepspeed_stage: 2
212
+ gradient_checkpointing: false
213
+ transformers_trust_remote_code: true
214
+ transformers_local_files_only: false
215
+ transformers_cache_dir: null
216
+ transformers_access_token: null
217
+ use_ddp: false
218
+ ddp_bucket_cap_mb: 100
219
+ num_gpus: 32
220
+ dataloader_num_workers: 8
221
+ remove_unused_columns: false
222
+ use_wandb: false
223
+ wandb_project: finetune-gr00t-n1d7
224
+ enable_profiling: false
225
+ max_retries: 3
226
+ assert_loss_less_than: null
227
+ add_rl_callback: false
228
+ enable_open_loop_eval: false
229
+ open_loop_eval_traj_ids:
230
+ - 0
231
+ open_loop_eval_steps_per_traj: 100
232
+ open_loop_eval_plot_indices: null
233
+ max_steps: 8000
234
+ save_steps: 500
c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/config.yaml ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ load_config_path: null
2
+ model:
3
+ model_type: Gr00tN1d7
4
+ model_dtype: bfloat16
5
+ model_name: nvidia/Cosmos-Reason2-2B
6
+ backbone_model_type: qwen
7
+ model_revision: null
8
+ tune_top_llm_layers: 0
9
+ backbone_embedding_dim: 2048
10
+ tune_llm: true
11
+ tune_visual: true
12
+ select_layer: 12
13
+ reproject_vision: false
14
+ use_flash_attention: true
15
+ load_bf16: false
16
+ backbone_trainable_params_fp32: true
17
+ image_crop_size:
18
+ - 230
19
+ - 230
20
+ image_target_size:
21
+ - 256
22
+ - 256
23
+ shortest_image_edge: null
24
+ crop_fraction: null
25
+ random_rotation_angle: null
26
+ color_jitter_params: null
27
+ use_albumentations_transforms: true
28
+ letter_box_transform: false
29
+ extra_augmentation_config: null
30
+ formalize_language: true
31
+ apply_sincos_state_encoding: false
32
+ use_percentiles: true
33
+ use_relative_action: true
34
+ max_state_dim: 132
35
+ max_action_dim: 132
36
+ action_horizon: 40
37
+ strict_action_padding_mask: null
38
+ hidden_size: 1024
39
+ input_embedding_dim: 1536
40
+ state_history_length: 1
41
+ add_pos_embed: true
42
+ attn_dropout: 0.2
43
+ use_vlln: true
44
+ strict_vl_padding_mask: null
45
+ max_seq_len: 1024
46
+ use_alternate_vl_dit: true
47
+ attend_text_every_n_blocks: 2
48
+ diffusion_model_cfg:
49
+ positional_embeddings: null
50
+ num_layers: 16
51
+ num_attention_heads: 32
52
+ attention_head_dim: 48
53
+ norm_type: ada_norm
54
+ dropout: 0.2
55
+ final_dropout: true
56
+ output_dim: 1024
57
+ interleave_self_attention: true
58
+ num_inference_timesteps: 4
59
+ noise_beta_alpha: 1.5
60
+ noise_beta_beta: 1.0
61
+ noise_s: 0.999
62
+ num_timestep_buckets: 1000
63
+ tune_projector: true
64
+ tune_diffusion_model: true
65
+ tune_vlln: true
66
+ state_dropout_prob: 0.2
67
+ exclude_state: false
68
+ use_mean_std: false
69
+ max_num_embodiments: 32
70
+ data:
71
+ datasets:
72
+ - dataset_paths:
73
+ - /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-data/c6
74
+ embodiment_tag: new_embodiment
75
+ mix_ratio: 1.0
76
+ dataset_type: physical_embodiment
77
+ val_dataset_path: null
78
+ modality_configs:
79
+ new_embodiment:
80
+ video:
81
+ delta_indices:
82
+ - 0
83
+ modality_keys:
84
+ - ego_view
85
+ - chest
86
+ sin_cos_embedding_keys: null
87
+ mean_std_embedding_keys: null
88
+ action_configs: null
89
+ state:
90
+ delta_indices:
91
+ - 0
92
+ modality_keys:
93
+ - left_leg
94
+ - right_leg
95
+ - waist
96
+ - left_arm
97
+ - right_arm
98
+ - left_hand
99
+ - right_hand
100
+ - projected_gravity
101
+ sin_cos_embedding_keys: null
102
+ mean_std_embedding_keys: null
103
+ action_configs: null
104
+ action:
105
+ delta_indices:
106
+ - 0
107
+ - 1
108
+ - 2
109
+ - 3
110
+ - 4
111
+ - 5
112
+ - 6
113
+ - 7
114
+ - 8
115
+ - 9
116
+ - 10
117
+ - 11
118
+ - 12
119
+ - 13
120
+ - 14
121
+ - 15
122
+ modality_keys:
123
+ - motion_token
124
+ - left_hand_joints
125
+ - right_hand_joints
126
+ sin_cos_embedding_keys: null
127
+ mean_std_embedding_keys: null
128
+ action_configs:
129
+ - rep: absolute
130
+ type: non_eef
131
+ format: default
132
+ state_key: null
133
+ - rep: absolute
134
+ type: non_eef
135
+ format: default
136
+ state_key: null
137
+ - rep: absolute
138
+ type: non_eef
139
+ format: default
140
+ state_key: null
141
+ language:
142
+ delta_indices:
143
+ - 0
144
+ modality_keys:
145
+ - annotation.human.task_description
146
+ sin_cos_embedding_keys: null
147
+ mean_std_embedding_keys: null
148
+ action_configs: null
149
+ download_cache: false
150
+ shard_size: 1024
151
+ episode_sampling_rate: 0.1
152
+ num_shards_per_epoch: 100000
153
+ ds_weights_alpha: null
154
+ override_pretraining_statistics: true
155
+ mode: single_turn
156
+ random_chop: 0.0
157
+ mock_dataset_mode: false
158
+ shuffle: true
159
+ seed: 42
160
+ multiprocessing_context: fork
161
+ allow_padding: false
162
+ subsample_ratio: 1.0
163
+ loader: fast
164
+ fast_loader:
165
+ decode_threads: 2
166
+ ffmpeg_threads: 1
167
+ shuffle_buffer: 0
168
+ min_fill: 0
169
+ image_crop_size:
170
+ - 244
171
+ - 244
172
+ image_target_size:
173
+ - 224
174
+ - 224
175
+ training:
176
+ output_dir: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-runs-ft512/c6/production
177
+ experiment_name: null
178
+ max_steps: 8000
179
+ global_batch_size: 256
180
+ per_gpu_batch_size: null
181
+ gradient_accumulation_steps: 2
182
+ learning_rate: 0.0001
183
+ lr_scheduler_type: cosine
184
+ weight_decay: 1.0e-05
185
+ warmup_ratio: 0.05
186
+ warmup_steps: 0
187
+ max_grad_norm: 1.0
188
+ optim: adamw_torch
189
+ start_from_checkpoint: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/models/groot-n17-base
190
+ skip_weight_loading: false
191
+ tf32: true
192
+ fp16: false
193
+ bf16: true
194
+ eval_bf16: true
195
+ logging_steps: 10
196
+ save_steps: 500
197
+ save_total_limit: 9
198
+ save_vl_model: false
199
+ save_only_model: false
200
+ resume_from_checkpoint: false
201
+ upload_checkpoints: false
202
+ upload_every: 1000
203
+ upload_last_n_checkpoints: 5
204
+ max_concurrent_uploads: 2
205
+ eval_strategy: 'no'
206
+ eval_steps: 500
207
+ eval_set_split_ratio: 0.1
208
+ eval_batch_size: 2
209
+ save_best_eval_metric_name: ''
210
+ save_best_eval_metric_greater_is_better: true
211
+ deepspeed_stage: 2
212
+ gradient_checkpointing: false
213
+ transformers_trust_remote_code: true
214
+ transformers_local_files_only: false
215
+ transformers_cache_dir: null
216
+ transformers_access_token: null
217
+ use_ddp: false
218
+ ddp_bucket_cap_mb: 100
219
+ num_gpus: 32
220
+ dataloader_num_workers: 8
221
+ remove_unused_columns: false
222
+ use_wandb: false
223
+ wandb_project: finetune-gr00t-n1d7
224
+ enable_profiling: false
225
+ max_retries: 3
226
+ assert_loss_less_than: null
227
+ add_rl_callback: false
228
+ enable_open_loop_eval: false
229
+ open_loop_eval_traj_ids:
230
+ - 0
231
+ open_loop_eval_steps_per_traj: 100
232
+ open_loop_eval_plot_indices: null
c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/dataset_statistics.json ADDED
@@ -0,0 +1,883 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "new_embodiment": {
3
+ "state": {
4
+ "left_leg": {
5
+ "min": [
6
+ -0.4785136878490448,
7
+ -0.2918507158756256,
8
+ -0.6313007473945618,
9
+ 0.010540603660047054,
10
+ -0.6188291907310486,
11
+ -0.206183522939682
12
+ ],
13
+ "max": [
14
+ 0.3491908311843872,
15
+ 0.4217258095741272,
16
+ 1.0434117317199707,
17
+ 1.2800570726394653,
18
+ 0.3779217004776001,
19
+ 0.21826599538326263
20
+ ],
21
+ "mean": [
22
+ -0.09819258749485016,
23
+ 0.07544288784265518,
24
+ 0.11681321263313293,
25
+ 0.3013545870780945,
26
+ -0.11470521986484528,
27
+ -0.01727166958153248
28
+ ],
29
+ "std": [
30
+ 0.12663348019123077,
31
+ 0.08195875585079193,
32
+ 0.11474999040365219,
33
+ 0.20646125078201294,
34
+ 0.11257362365722656,
35
+ 0.05912202224135399
36
+ ],
37
+ "q01": [
38
+ -0.37483933329582214,
39
+ -0.12298969686031341,
40
+ -0.15569113552570343,
41
+ 0.13657819986343384,
42
+ -0.3899055337905884,
43
+ -0.13645741164684297
44
+ ],
45
+ "q99": [
46
+ 0.19294546306133264,
47
+ 0.2474056810140606,
48
+ 0.4429215574264521,
49
+ 1.1049808788299555,
50
+ 0.09607191324233998,
51
+ 0.10511334985494601
52
+ ]
53
+ },
54
+ "right_leg": {
55
+ "min": [
56
+ -0.5057681798934937,
57
+ -0.5448390245437622,
58
+ -1.3572803735733032,
59
+ 0.06141653656959534,
60
+ -0.632612943649292,
61
+ -0.18811775743961334
62
+ ],
63
+ "max": [
64
+ 0.29021698236465454,
65
+ 0.27317020297050476,
66
+ 0.7898722290992737,
67
+ 1.206057071685791,
68
+ 0.3160344362258911,
69
+ 0.17116543650627136
70
+ ],
71
+ "mean": [
72
+ -0.05244928225874901,
73
+ -0.0973229855298996,
74
+ -0.3890450894832611,
75
+ 0.28066104650497437,
76
+ -0.14025633037090302,
77
+ -0.008033274672925472
78
+ ],
79
+ "std": [
80
+ 0.14020821452140808,
81
+ 0.07615572214126587,
82
+ 0.2367052137851715,
83
+ 0.18736761808395386,
84
+ 0.0934181809425354,
85
+ 0.04887722432613373
86
+ ],
87
+ "q01": [
88
+ -0.40026607990264895,
89
+ -0.259296293258667,
90
+ -0.8995867514610291,
91
+ 0.1328939527273178,
92
+ -0.36449979662895204,
93
+ -0.11489669919013977
94
+ ],
95
+ "q99": [
96
+ 0.17577122867107386,
97
+ 0.13777596414089194,
98
+ 0.1872643685340881,
99
+ 1.049287176132202,
100
+ 0.07367992281913756,
101
+ 0.09640679776668548
102
+ ]
103
+ },
104
+ "waist": {
105
+ "min": [
106
+ -0.4826902449131012,
107
+ -0.1625950038433075,
108
+ 0.007602782920002937
109
+ ],
110
+ "max": [
111
+ 0.37076523900032043,
112
+ 0.07867750525474548,
113
+ 0.21746867895126343
114
+ ],
115
+ "mean": [
116
+ -0.04686953127384186,
117
+ -0.0021954660769551992,
118
+ 0.14370198547840118
119
+ ],
120
+ "std": [
121
+ 0.06225719675421715,
122
+ 0.021201301366090775,
123
+ 0.01854829303920269
124
+ ],
125
+ "q01": [
126
+ -0.1867198932170868,
127
+ -0.05133456826210022,
128
+ 0.08262025237083435
129
+ ],
130
+ "q99": [
131
+ 0.095388787984848,
132
+ 0.04513582125306128,
133
+ 0.17983700215816495
134
+ ]
135
+ },
136
+ "left_arm": {
137
+ "min": [
138
+ -0.34218186140060425,
139
+ -0.17220376431941986,
140
+ -1.1816155910491943,
141
+ 0.45463860034942627,
142
+ -0.7760087251663208,
143
+ -0.42926889657974243,
144
+ -0.4806421995162964
145
+ ],
146
+ "max": [
147
+ 0.4394499361515045,
148
+ 0.395841121673584,
149
+ -0.09651299566030502,
150
+ 1.3289127349853516,
151
+ 0.18888872861862183,
152
+ 0.1591426283121109,
153
+ 0.5067278146743774
154
+ ],
155
+ "mean": [
156
+ -0.11364282667636871,
157
+ 0.11475001275539398,
158
+ -0.6012120246887207,
159
+ 1.0332186222076416,
160
+ -0.08136407285928726,
161
+ -0.010364324785768986,
162
+ 0.04154585674405098
163
+ ],
164
+ "std": [
165
+ 0.055622633546590805,
166
+ 0.042779337614774704,
167
+ 0.12426868826150894,
168
+ 0.06707596033811528,
169
+ 0.07843596488237381,
170
+ 0.0419323705136776,
171
+ 0.03808686137199402
172
+ ],
173
+ "q01": [
174
+ -0.24149641692638396,
175
+ 0.03866889238357544,
176
+ -0.9198800373077393,
177
+ 0.9079521274566651,
178
+ -0.27555797934532167,
179
+ -0.127785826921463,
180
+ -0.05107202395796776
181
+ ],
182
+ "q99": [
183
+ 0.008396670185029471,
184
+ 0.26474841594696036,
185
+ -0.3445832228660588,
186
+ 1.20537353515625,
187
+ 0.08861226797103881,
188
+ 0.07466056495904921,
189
+ 0.1250176393985748
190
+ ]
191
+ },
192
+ "right_arm": {
193
+ "min": [
194
+ -1.9729524850845337,
195
+ -2.032991647720337,
196
+ -0.31683599948883057,
197
+ -0.9346699118614197,
198
+ -1.8513656854629517,
199
+ -0.8266168236732483,
200
+ -1.052769422531128
201
+ ],
202
+ "max": [
203
+ 1.627657413482666,
204
+ 0.16204199194908142,
205
+ 1.8939049243927002,
206
+ 1.5688329935073853,
207
+ 1.6792714595794678,
208
+ 0.9115577936172485,
209
+ 1.1792489290237427
210
+ ],
211
+ "mean": [
212
+ -0.0506708100438118,
213
+ -0.469869464635849,
214
+ 0.46301957964897156,
215
+ -0.08993806689977646,
216
+ 0.0828937292098999,
217
+ 0.10460465401411057,
218
+ -0.08551113307476044
219
+ ],
220
+ "std": [
221
+ 0.39518874883651733,
222
+ 0.3694792687892914,
223
+ 0.35081836581230164,
224
+ 0.780928909778595,
225
+ 0.5852335691452026,
226
+ 0.20113025605678558,
227
+ 0.24567994475364685
228
+ ],
229
+ "q01": [
230
+ -1.2982357120513917,
231
+ -1.723033480644226,
232
+ -0.05588918775320054,
233
+ -0.8578749203681946,
234
+ -1.5541837120056152,
235
+ -0.5743140721321106,
236
+ -0.5639328932762147
237
+ ],
238
+ "q99": [
239
+ 0.7831437516212455,
240
+ 0.04176102608442296,
241
+ 1.4322336149215698,
242
+ 1.247391700744628,
243
+ 1.0657319211959837,
244
+ 0.4018059158325195,
245
+ 0.71763419151306
246
+ ]
247
+ },
248
+ "left_hand": {
249
+ "min": [
250
+ 0.9969565868377686,
251
+ 0.9992091655731201,
252
+ 0.9935436844825745,
253
+ 0.9582553505897522,
254
+ 0.8700727224349976,
255
+ 0.0
256
+ ],
257
+ "max": [
258
+ 1.0,
259
+ 1.0,
260
+ 1.0,
261
+ 1.0,
262
+ 1.0,
263
+ 1.0
264
+ ],
265
+ "mean": [
266
+ 0.9999999403953552,
267
+ 1.0,
268
+ 1.0,
269
+ 0.9999901652336121,
270
+ 0.9991204738616943,
271
+ 0.9334041476249695
272
+ ],
273
+ "std": [
274
+ 1.6514097184330978e-05,
275
+ 1.6039554811767194e-05,
276
+ 3.130664815030056e-05,
277
+ 0.00033806028652347557,
278
+ 0.0019244696013520704,
279
+ 0.24276891350746155
280
+ ],
281
+ "q01": [
282
+ 0.9999575614929199,
283
+ 0.9999467730522156,
284
+ 0.9999411106109619,
285
+ 0.999931275844574,
286
+ 0.9973517060279846,
287
+ 0.0
288
+ ],
289
+ "q99": [
290
+ 1.0,
291
+ 1.0,
292
+ 1.0,
293
+ 1.0,
294
+ 0.9996138215065002,
295
+ 1.0
296
+ ]
297
+ },
298
+ "right_hand": {
299
+ "min": [
300
+ 0.3226946294307709,
301
+ 0.6517601609230042,
302
+ 0.6507593989372253,
303
+ 0.506548285484314,
304
+ 0.4324777126312256,
305
+ 0.0
306
+ ],
307
+ "max": [
308
+ 1.0,
309
+ 1.0,
310
+ 1.0,
311
+ 1.0,
312
+ 1.0,
313
+ 1.0
314
+ ],
315
+ "mean": [
316
+ 0.8714392781257629,
317
+ 0.8772875070571899,
318
+ 0.8814314007759094,
319
+ 0.8773547410964966,
320
+ 0.9464673399925232,
321
+ 0.343583881855011
322
+ ],
323
+ "std": [
324
+ 0.13676515221595764,
325
+ 0.1305650770664215,
326
+ 0.1265411376953125,
327
+ 0.133805513381958,
328
+ 0.057199262082576266,
329
+ 0.46949049830436707
330
+ ],
331
+ "q01": [
332
+ 0.662733793258667,
333
+ 0.6754913330078125,
334
+ 0.6838080883026123,
335
+ 0.5842239856719971,
336
+ 0.8169243931770325,
337
+ 0.0
338
+ ],
339
+ "q99": [
340
+ 1.0,
341
+ 1.0,
342
+ 1.0,
343
+ 1.0,
344
+ 1.0,
345
+ 1.0
346
+ ]
347
+ },
348
+ "projected_gravity": {
349
+ "min": [
350
+ -0.23671554028987885,
351
+ -0.17860174179077148,
352
+ -1.0
353
+ ],
354
+ "max": [
355
+ 0.14903132617473602,
356
+ 0.1711718887090683,
357
+ -0.963162899017334
358
+ ],
359
+ "mean": [
360
+ -0.037638310343027115,
361
+ 0.004948244895786047,
362
+ -0.9994713664054871
363
+ ],
364
+ "std": [
365
+ 0.02850433997809887,
366
+ 0.017658812925219536,
367
+ 0.0017562116263516979
368
+ ],
369
+ "q01": [
370
+ -0.1162533575296402,
371
+ -0.04250865131616592,
372
+ -0.9999839067459106
373
+ ],
374
+ "q99": [
375
+ 0.014045437313616243,
376
+ 0.042780922800302504,
377
+ -0.9928991365432739
378
+ ]
379
+ }
380
+ },
381
+ "action": {
382
+ "motion_token": {
383
+ "min": [
384
+ -0.25,
385
+ -0.5625,
386
+ -0.8125,
387
+ -0.5,
388
+ -0.5625,
389
+ -0.4375,
390
+ -0.875,
391
+ -0.5,
392
+ -0.5,
393
+ -0.375,
394
+ -0.6875,
395
+ -0.3125,
396
+ -0.3125,
397
+ -0.6875,
398
+ -0.25,
399
+ -0.5,
400
+ -0.4375,
401
+ -0.375,
402
+ -0.6875,
403
+ -0.5625,
404
+ -0.375,
405
+ -0.625,
406
+ -0.5625,
407
+ -0.4375,
408
+ -0.5,
409
+ -0.5,
410
+ -0.375,
411
+ -0.5625,
412
+ -0.625,
413
+ -0.4375,
414
+ -0.75,
415
+ -0.375,
416
+ -0.375,
417
+ -0.3125,
418
+ 0.0,
419
+ -0.625,
420
+ -0.375,
421
+ -0.5,
422
+ -0.25,
423
+ -0.3125,
424
+ -0.5,
425
+ -0.3125,
426
+ -0.5625,
427
+ -0.3125,
428
+ -0.5,
429
+ -0.5625,
430
+ -0.3125,
431
+ -0.4375,
432
+ -0.5,
433
+ -0.5625,
434
+ -0.375,
435
+ -0.3125,
436
+ -0.625,
437
+ -0.8125,
438
+ -0.125,
439
+ -0.5625,
440
+ -0.5625,
441
+ -0.25,
442
+ -0.8125,
443
+ -0.5625,
444
+ -0.75,
445
+ -0.25,
446
+ -0.5,
447
+ -0.75
448
+ ],
449
+ "max": [
450
+ 0.5,
451
+ 0.375,
452
+ 0.3125,
453
+ 0.1875,
454
+ 0.5,
455
+ 0.5625,
456
+ 0.3125,
457
+ 0.25,
458
+ 0.5,
459
+ 0.0625,
460
+ 0.25,
461
+ 0.375,
462
+ 0.5,
463
+ 0.375,
464
+ 0.6875,
465
+ 0.4375,
466
+ 0.375,
467
+ 0.875,
468
+ 0.25,
469
+ 0.375,
470
+ 0.5,
471
+ 0.875,
472
+ 0.25,
473
+ 0.5,
474
+ 0.125,
475
+ 0.4375,
476
+ 0.25,
477
+ 0.625,
478
+ 0.375,
479
+ 0.4375,
480
+ 0.5,
481
+ 0.5625,
482
+ 0.3125,
483
+ 0.5,
484
+ 0.375,
485
+ 0.375,
486
+ 0.5,
487
+ 0.375,
488
+ 0.5,
489
+ 0.3125,
490
+ 0.125,
491
+ 0.5625,
492
+ 0.3125,
493
+ 0.625,
494
+ 0.375,
495
+ 0.5625,
496
+ 0.5625,
497
+ 0.5625,
498
+ 0.5625,
499
+ 0.75,
500
+ 0.5,
501
+ 0.5,
502
+ 0.625,
503
+ 0.125,
504
+ 0.375,
505
+ 0.5625,
506
+ 0.5625,
507
+ 0.375,
508
+ 0.3125,
509
+ 0.1875,
510
+ 0.3125,
511
+ 0.625,
512
+ 0.4375,
513
+ 0.625
514
+ ],
515
+ "mean": [
516
+ 0.20123250782489777,
517
+ -0.06108349561691284,
518
+ -0.13629314303398132,
519
+ -0.11174821108579636,
520
+ -0.0617947056889534,
521
+ -0.03456442430615425,
522
+ -0.23015177249908447,
523
+ -0.07462213188409805,
524
+ -0.13322512805461884,
525
+ -0.1472058743238449,
526
+ -0.2083454430103302,
527
+ -0.030868612229824066,
528
+ 0.17468158900737762,
529
+ 0.001839171745814383,
530
+ 0.27572304010391235,
531
+ -0.11888454854488373,
532
+ -0.07486164569854736,
533
+ 0.21201646327972412,
534
+ -0.2586325705051422,
535
+ 0.08421333134174347,
536
+ -0.052575740963220596,
537
+ -0.01832437328994274,
538
+ -0.08497244119644165,
539
+ 0.0031559253111481667,
540
+ -0.18636076152324677,
541
+ 0.11712878197431564,
542
+ -0.19862154126167297,
543
+ 0.05863145738840103,
544
+ -0.04054772108793259,
545
+ -0.06300072371959686,
546
+ 0.08952739834785461,
547
+ 0.1475200653076172,
548
+ -0.07134870439767838,
549
+ 0.1829630732536316,
550
+ 0.20171518623828888,
551
+ -0.060423288494348526,
552
+ 0.0014531344641000032,
553
+ -0.1303994506597519,
554
+ 0.029821520671248436,
555
+ 0.026329997926950455,
556
+ -0.27272436022758484,
557
+ 0.08784180134534836,
558
+ -0.09276870638132095,
559
+ 0.09279575198888779,
560
+ -0.08412851393222809,
561
+ 0.1084708422422409,
562
+ 0.17423243820667267,
563
+ 0.07643622905015945,
564
+ 0.051161494106054306,
565
+ -0.09909097850322723,
566
+ 0.08915404230356216,
567
+ 0.015397533774375916,
568
+ 0.017366042360663414,
569
+ -0.29031383991241455,
570
+ 0.11175469309091568,
571
+ 0.0816967636346817,
572
+ 0.11544036120176315,
573
+ 0.008970999158918858,
574
+ -0.10728567838668823,
575
+ -0.27102887630462646,
576
+ -0.14623092114925385,
577
+ 0.2619679868221283,
578
+ 0.012647370807826519,
579
+ 0.21814939379692078
580
+ ],
581
+ "std": [
582
+ 0.11357352882623672,
583
+ 0.18292704224586487,
584
+ 0.137363463640213,
585
+ 0.10977763682603836,
586
+ 0.1531764566898346,
587
+ 0.1585584282875061,
588
+ 0.1735132783651352,
589
+ 0.11793339252471924,
590
+ 0.12976311147212982,
591
+ 0.07610169798135757,
592
+ 0.11690033227205276,
593
+ 0.11314540356397629,
594
+ 0.11649427562952042,
595
+ 0.1660083532333374,
596
+ 0.10482712090015411,
597
+ 0.14850248396396637,
598
+ 0.1124672070145607,
599
+ 0.21744157373905182,
600
+ 0.12219816446304321,
601
+ 0.12046979367733002,
602
+ 0.14292262494564056,
603
+ 0.16726306080818176,
604
+ 0.11711526662111282,
605
+ 0.16131815314292908,
606
+ 0.10909572243690491,
607
+ 0.11637136340141296,
608
+ 0.061326783150434494,
609
+ 0.16990187764167786,
610
+ 0.14242008328437805,
611
+ 0.12174104899168015,
612
+ 0.1446765810251236,
613
+ 0.11699987947940826,
614
+ 0.10756910592317581,
615
+ 0.1349058449268341,
616
+ 0.05582008510828018,
617
+ 0.13805602490901947,
618
+ 0.11933916062116623,
619
+ 0.12959054112434387,
620
+ 0.126656636595726,
621
+ 0.09817667305469513,
622
+ 0.08382254838943481,
623
+ 0.13038833439350128,
624
+ 0.1117633655667305,
625
+ 0.18998436629772186,
626
+ 0.11860442161560059,
627
+ 0.18650341033935547,
628
+ 0.1316465437412262,
629
+ 0.15947967767715454,
630
+ 0.21038147807121277,
631
+ 0.16498221457004547,
632
+ 0.12202334403991699,
633
+ 0.11526203900575638,
634
+ 0.2124725729227066,
635
+ 0.1205543503165245,
636
+ 0.0893925204873085,
637
+ 0.1775791347026825,
638
+ 0.18474112451076508,
639
+ 0.08824773877859116,
640
+ 0.1889493614435196,
641
+ 0.12660875916481018,
642
+ 0.1821260005235672,
643
+ 0.14378641545772552,
644
+ 0.15782058238983154,
645
+ 0.14657767117023468
646
+ ],
647
+ "q01": [
648
+ -0.0625,
649
+ -0.5,
650
+ -0.5,
651
+ -0.375,
652
+ -0.375,
653
+ -0.3125,
654
+ -0.5,
655
+ -0.375,
656
+ -0.4375,
657
+ -0.375,
658
+ -0.5,
659
+ -0.25,
660
+ -0.125,
661
+ -0.375,
662
+ -0.0625,
663
+ -0.375,
664
+ -0.3125,
665
+ -0.25,
666
+ -0.5,
667
+ -0.1875,
668
+ -0.3125,
669
+ -0.5,
670
+ -0.3125,
671
+ -0.25,
672
+ -0.4375,
673
+ -0.125,
674
+ -0.375,
675
+ -0.4375,
676
+ -0.3125,
677
+ -0.375,
678
+ -0.25,
679
+ -0.125,
680
+ -0.3125,
681
+ -0.125,
682
+ 0.0625,
683
+ -0.5,
684
+ -0.25,
685
+ -0.4375,
686
+ -0.1875,
687
+ -0.25,
688
+ -0.4375,
689
+ -0.1875,
690
+ -0.3125,
691
+ -0.1875,
692
+ -0.3125,
693
+ -0.3125,
694
+ -0.125,
695
+ -0.3125,
696
+ -0.25,
697
+ -0.5,
698
+ -0.1875,
699
+ -0.25,
700
+ -0.5,
701
+ -0.5,
702
+ -0.0625,
703
+ -0.375,
704
+ -0.375,
705
+ -0.1875,
706
+ -0.5,
707
+ -0.5,
708
+ -0.625,
709
+ -0.125,
710
+ -0.3125,
711
+ -0.0625
712
+ ],
713
+ "q99": [
714
+ 0.375,
715
+ 0.25,
716
+ 0.1875,
717
+ 0.125,
718
+ 0.3125,
719
+ 0.3125,
720
+ 0.1875,
721
+ 0.1875,
722
+ 0.1875,
723
+ 0.0,
724
+ 0.0625,
725
+ 0.3125,
726
+ 0.4375,
727
+ 0.3125,
728
+ 0.4375,
729
+ 0.25,
730
+ 0.25,
731
+ 0.5625,
732
+ 0.0,
733
+ 0.3125,
734
+ 0.375,
735
+ 0.375,
736
+ 0.125,
737
+ 0.375,
738
+ 0.0,
739
+ 0.375,
740
+ -0.0625,
741
+ 0.375,
742
+ 0.25,
743
+ 0.1875,
744
+ 0.375,
745
+ 0.4375,
746
+ 0.1875,
747
+ 0.4375,
748
+ 0.3125,
749
+ 0.125,
750
+ 0.375,
751
+ 0.125,
752
+ 0.375,
753
+ 0.25,
754
+ -0.0625,
755
+ 0.375,
756
+ 0.125,
757
+ 0.625,
758
+ 0.1875,
759
+ 0.5,
760
+ 0.5,
761
+ 0.375,
762
+ 0.5,
763
+ 0.3125,
764
+ 0.375,
765
+ 0.25,
766
+ 0.5,
767
+ 0.0,
768
+ 0.3125,
769
+ 0.375,
770
+ 0.5,
771
+ 0.1875,
772
+ 0.25,
773
+ 0.0625,
774
+ 0.1875,
775
+ 0.5625,
776
+ 0.3125,
777
+ 0.625
778
+ ]
779
+ },
780
+ "left_hand_joints": {
781
+ "min": [
782
+ 0.9969565868377686,
783
+ 0.9992091655731201,
784
+ 0.9935436844825745,
785
+ 0.9582553505897522,
786
+ 0.8700727224349976,
787
+ 0.0
788
+ ],
789
+ "max": [
790
+ 1.0,
791
+ 1.0,
792
+ 1.0,
793
+ 1.0,
794
+ 1.0,
795
+ 1.0
796
+ ],
797
+ "mean": [
798
+ 0.9999999403953552,
799
+ 1.0,
800
+ 1.0,
801
+ 0.9999901652336121,
802
+ 0.9991204738616943,
803
+ 0.9334041476249695
804
+ ],
805
+ "std": [
806
+ 1.6514097184330978e-05,
807
+ 1.6039554811767194e-05,
808
+ 3.130664815030056e-05,
809
+ 0.00033806028652347557,
810
+ 0.0019244696013520704,
811
+ 0.24276891350746155
812
+ ],
813
+ "q01": [
814
+ 0.9999575614929199,
815
+ 0.9999467730522156,
816
+ 0.9999411106109619,
817
+ 0.999931275844574,
818
+ 0.9973517060279846,
819
+ 0.0
820
+ ],
821
+ "q99": [
822
+ 1.0,
823
+ 1.0,
824
+ 1.0,
825
+ 1.0,
826
+ 0.9996138215065002,
827
+ 1.0
828
+ ]
829
+ },
830
+ "right_hand_joints": {
831
+ "min": [
832
+ 0.3226946294307709,
833
+ 0.6517601609230042,
834
+ 0.6507593989372253,
835
+ 0.506548285484314,
836
+ 0.4324777126312256,
837
+ 0.0
838
+ ],
839
+ "max": [
840
+ 1.0,
841
+ 1.0,
842
+ 1.0,
843
+ 1.0,
844
+ 1.0,
845
+ 1.0
846
+ ],
847
+ "mean": [
848
+ 0.8714392781257629,
849
+ 0.8772875070571899,
850
+ 0.8814314007759094,
851
+ 0.8773547410964966,
852
+ 0.9464673399925232,
853
+ 0.343583881855011
854
+ ],
855
+ "std": [
856
+ 0.13676515221595764,
857
+ 0.1305650770664215,
858
+ 0.1265411376953125,
859
+ 0.133805513381958,
860
+ 0.057199262082576266,
861
+ 0.46949049830436707
862
+ ],
863
+ "q01": [
864
+ 0.662733793258667,
865
+ 0.6754913330078125,
866
+ 0.6838080883026123,
867
+ 0.5842239856719971,
868
+ 0.8169243931770325,
869
+ 0.0
870
+ ],
871
+ "q99": [
872
+ 1.0,
873
+ 1.0,
874
+ 1.0,
875
+ 1.0,
876
+ 1.0,
877
+ 1.0
878
+ ]
879
+ }
880
+ },
881
+ "relative_action": {}
882
+ }
883
+ }
c6-bathroom-door-fetch/b512/step-004500/experiment_cfg/final_model_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "Gr00tN1d7",
3
+ "model_dtype": "bfloat16",
4
+ "model_name": "nvidia/Cosmos-Reason2-2B",
5
+ "backbone_model_type": "qwen",
6
+ "model_revision": null,
7
+ "tune_top_llm_layers": 0,
8
+ "backbone_embedding_dim": 2048,
9
+ "tune_llm": true,
10
+ "tune_visual": true,
11
+ "select_layer": 16,
12
+ "reproject_vision": false,
13
+ "use_flash_attention": true,
14
+ "load_bf16": false,
15
+ "backbone_trainable_params_fp32": true,
16
+ "letter_box_transform": false,
17
+ "extra_augmentation_config": null,
18
+ "apply_sincos_state_encoding": false,
19
+ "use_percentiles": true,
20
+ "use_relative_action": false,
21
+ "max_state_dim": 132,
22
+ "max_action_dim": 132,
23
+ "action_horizon": 40,
24
+ "strict_action_padding_mask": false,
25
+ "hidden_size": 1024,
26
+ "input_embedding_dim": 1536,
27
+ "state_history_length": 1,
28
+ "add_pos_embed": true,
29
+ "attn_dropout": 0.2,
30
+ "use_vlln": true,
31
+ "strict_vl_padding_mask": false,
32
+ "max_seq_len": 1024,
33
+ "use_alternate_vl_dit": true,
34
+ "attend_text_every_n_blocks": 2,
35
+ "diffusion_model_cfg": {
36
+ "attention_head_dim": 48,
37
+ "dropout": 0.2,
38
+ "final_dropout": true,
39
+ "interleave_self_attention": true,
40
+ "norm_type": "ada_norm",
41
+ "num_attention_heads": 32,
42
+ "num_layers": 32,
43
+ "output_dim": 1024,
44
+ "positional_embeddings": null
45
+ },
46
+ "num_inference_timesteps": 4,
47
+ "noise_beta_alpha": 1.5,
48
+ "noise_beta_beta": 1.0,
49
+ "noise_s": 0.999,
50
+ "num_timestep_buckets": 1000,
51
+ "tune_projector": true,
52
+ "tune_diffusion_model": true,
53
+ "tune_vlln": true,
54
+ "state_dropout_prob": 0.2,
55
+ "exclude_state": false,
56
+ "use_mean_std": false,
57
+ "max_num_embodiments": 32
58
+ }