a18cr4: last two checkpoints + eval/deploy files + training records
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/cache_cosmos_reason2.pyAdded+60
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/check_reason2_offline.pyAdded+26
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/g1_feedback76_h16.pyAdded+27
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/g1_joint47_h40.pyAdded+24
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/groot_chain.pyAdded+139
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2_body31_hand44_h16.pyAdded+24
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2_body31_hand44_h32.pyAdded+24
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2_body31_hand44_planner7_h16.pyAdded+25
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2w3_body31_hand44_h16.pyAdded+24
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_aug_v2.pyAdded+163
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_inloop_eval.pyAdded+347
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_j47.pyAdded+39
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_launch.pyAdded+121
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_launch_v.pyAdded+102
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_offline_fix.pyAdded+24
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/prepare_groot_data.pyAdded+212
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/prepare_groot_j47.pyAdded+127
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/upload_groot_j47.pyAdded+66
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/verify_groot_cpu.pyAdded+57
- a18-pour-water/b512-trim3f/step-003200/code/hb_groot/verify_j47_cpu.pyAdded+59
- a18-pour-water/b512-trim3f/step-003200/config.jsonAdded+90
- a18-pour-water/b512-trim3f/step-003200/dataset_meta/hb-dataset-receipt.jsonAdded+47
- a18-pour-water/b512-trim3f/step-003200/dataset_meta/modality.jsonAdded+79
- a18-pour-water/b512-trim3f/step-003200/embodiment_id.jsonAdded+57
- a18-pour-water/b512-trim3f/step-003200/experiment_cfg/conf.yamlAdded+235
- a18-pour-water/b512-trim3f/step-003200/experiment_cfg/config.yamlAdded+233
- a18-pour-water/b512-trim3f/step-003200/experiment_cfg/dataset_statistics.jsonAdded+1095
- a18-pour-water/b512-trim3f/step-003200/experiment_cfg/final_model_config.jsonAdded+58
- a18-pour-water/b512-trim3f/step-003200/experiment_cfg/final_processor_config.jsonAdded
- a18-pour-water/b512-trim3f/step-003200/loss_curve.csvAdded+401
- a18-pour-water/b512-trim3f/step-003200/model-00001-of-00002.safetensorsAdded+3
- a18-pour-water/b512-trim3f/step-003200/model-00002-of-00002.safetensorsAdded+3
- a18-pour-water/b512-trim3f/step-003200/model.safetensors.index.jsonAdded
- a18-pour-water/b512-trim3f/step-003200/processor_config.jsonAdded+1138
- a18-pour-water/b512-trim3f/step-003200/protocol.jsonAdded+120
- a18-pour-water/b512-trim3f/step-003200/statistics.jsonAdded
- a18-pour-water/b512-trim3f/step-003200/train.logAdded
- a18-pour-water/b512-trim3f/step-003200/trainer_state.jsonAdded+1954
- a18-pour-water/b512-trim3f/step-003200/training_args.binAdded+3
- a18-pour-water/b512-trim3f/step-003200/training_plan.jsonAdded+21
- a18-pour-water/b512-trim3f/step-003200/wandb_config.jsonAdded+1
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/cache_cosmos_reason2.pyAdded+60
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/check_reason2_offline.pyAdded+26
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/g1_feedback76_h16.pyAdded+27
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/g1_joint47_h40.pyAdded+24
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/groot_chain.pyAdded+139
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2_body31_hand44_h16.pyAdded+24
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2_body31_hand44_h32.pyAdded+24
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2_body31_hand44_planner7_h16.pyAdded+25
- a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2w3_body31_hand44_h16.pyAdded+24
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960"""Put the full gated nvidia/Cosmos-Reason2-2B (pinned 9ce19a1) into the shared HF hub cache $G/hf-home/hub.
GR00T N1.7 builds its backbone with Qwen3VLForConditionalGeneration.from_pretrained("nvidia/Cosmos-Reason2-2B") andits processor with Qwen3VLProcessor.from_pretrained(same name) before loading the GR00T checkpoint, so every node needsthe whole repo resolvable by name. groot_node.sh runs with HF_HUB_OFFLINE=1, so nodes read this cache and never needthe token. refs/main is pinned to the verified revision.
Usage (token from stdin, kept in-process only): $G/envs/groot-py312/bin/python cache_cosmos_reason2.py $G/hf-home/hub < /root/.hb-secrets/hf_token"""import hashlibimport jsonimport osimport sysimport time
from huggingface_hub import HfApi, snapshot_download
REPO = "nvidia/Cosmos-Reason2-2B"REV = "9ce19a195e423419c349abfc86fd07178b230561"cache = os.path.abspath(sys.argv[1])token = sys.stdin.readline().strip()if not token.startswith("hf_"): raise SystemExit("token format rejected")api = HfApi(endpoint="https://huggingface.co", token=token)info = api.model_info(REPO, revision=REV, files_metadata=True)assert info.sha == REV, info.shat0 = time.monotonic()for attempt in range(1, 21): try: path = snapshot_download(REPO, revision=REV, cache_dir=cache, token=token, max_workers=8) break except Exception as error: # transient stalls if any(k in str(error).lower() for k in ("gated", "401", "403")): raise print(f"retry {attempt}: {type(error).__name__}: {str(error)[:200]}", flush=True) time.sleep(10)else: raise SystemExit("download did not finish")token = Nonecount, size = 0, 0for s in info.siblings: f = os.path.join(path, s.rfilename) assert os.path.isfile(f), s.rfilename if s.size is not None: assert os.path.getsize(f) == s.size, s.rfilename if s.lfs is not None: h = hashlib.sha256() with open(f, "rb") as stream: for chunk in iter(lambda: stream.read(1 << 22), b""): h.update(chunk) assert h.hexdigest() == s.lfs.sha256, s.rfilename count += 1 size += s.size or 0refs = os.path.join(cache, "models--" + REPO.replace("/", "--"), "refs")os.makedirs(refs, exist_ok=True)with open(os.path.join(refs, "main"), "w") as f: f.write(REV)print("CACHE_OK", json.dumps({"repo": REPO, "revision": REV, "snapshot": path, "files": count, "bytes": size, "seconds": round(time.monotonic() - t0, 1)}), flush=True)1234567891011121314151617181920212223242526"""CPU check that GR00T's Cosmos-Reason2-2B pieces load offline from $G/hf-home exactly as groot_node.sh will.
Usage: HF_HOME=$G/hf-home HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 $G/envs/groot-py312/bin/python check_reason2_offline.py"""import jsonimport osimport sysfrom pathlib import Path
import torch
sys.path.insert(0, str(Path(__file__).resolve().parent))import hb_offline_fix # noqa: E402,F401from transformers import AutoConfig, Qwen3VLForConditionalGeneration, Qwen3VLProcessor
assert os.environ.get("HF_HUB_OFFLINE") == "1", "run with HF_HUB_OFFLINE=1"name = "nvidia/Cosmos-Reason2-2B"torch.set_num_threads(8)proc = Qwen3VLProcessor.from_pretrained(name, trust_remote_code=True)cfg = AutoConfig.from_pretrained(name, trust_remote_code=True)ids = proc.tokenizer("pick up the trash and drop it in the bin")["input_ids"]model = Qwen3VLForConditionalGeneration.from_pretrained(name, torch_dtype=torch.bfloat16)n = sum(p.numel() for p in model.parameters())print("REASON2_OFFLINE_OK", json.dumps({"processor": type(proc).__name__, "tokens": len(ids), "model_type": cfg.model_type, "params_M": round(n / 1e6, 1), "llm_layers": len(model.model.language_model.layers)}), flush=True)123456789101112131415161718192021222324252627"""G1 feedback76 / H16 GR00T modality config (copy of HumanWAM configs/humanwam/groot/feedback76_h16.py @ c76527b).
The matching modality.json is generated per dataset from the recorded joint names (prepare_groot_data.py);HumanWAM's feedback76_modality.json has right_arm at observation.state[29:36] (left-hand fingers), which is wrongfor our G1 exports (right arm is [22:29])."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
feedback76_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["ego_view", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["motion_token", "left_hand_joints", "right_hand_joints"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(feedback76_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324"""G1 joint47 / H40 stride-2 GR00T modality config (2026-11-18 user: joint-angle action experiment, aligned withHumanWAM joint47 v2): action rows at source offsets 0,2,...,78 of body29 | Inspire left6 | right6 | root rotation6D(current-heading relative, hb_j47.py). State44 and cameras as feedback76."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
g1_joint47_h40 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["ego_view", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(0, 80, 2)), modality_keys=["body29", "left_hand_target", "right_hand_target", "root_rot6d"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(4)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(g1_joint47_h40, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139"""Per-node GR00T relay: per-layout batch-size probe (largest that fits), then 20-epoch production per task.
Run on every node (nohup), node rank from the DLC env RANK: python groot_chain.py [task ...]Default tasks: b6 a3 a7 a18 (basket postponed). A phase succeeds only if all 4 node launchers exit 0.
Batch (user rule: as large as memory allows, 2026-11-10): descending CANDIDATES, 4 steps each on all 32 GPUs; acandidate fits when all launchers exit 0 AND the peak reserved memory of every rank (written by hb_launch.py tologs/peak-<phase>-rank<r>.json) is <= MAX_FRAC of the GPU. Node 0 alone judges each probe and writes a verdict filethe other nodes wait for, so all nodes take the same decision. One decision per robot layout (g1 / h2).Outputs: $G/groot-runs-bmax/ (the earlier per-GPU-64 runs stay in $G/groot-runs/)."""import fcntlimport jsonimport mathimport osimport shutilimport subprocessimport sysimport timefrom pathlib import Path
H = Path(__file__).resolve().parentG = H.parentRUNS = G / os.environ.get("HB_GROOT_RUNS_NAME", "groot-runs-bmax")NODE = int(os.environ["RANK"])TASKS = sys.argv[1:] or ["b6", "a3", "a7", "a18"] # basket postponed (user plan 2026-11-10)CANDIDATES = [320, 288, 256, 224, 192, 160, 128, 96, 64, 48, 32]MAX_FRAC = 0.92EPOCHS = 20PORT_BASE = int(os.environ.get("HB_GROOT_PORT_BASE", "32500")) # probe PORT_BASE+i, production PORT_BASE+50+kRUNS.mkdir(parents=True, exist_ok=True)os.environ["HB_GROOT_RUNS"] = str(RUNS) # read by groot_node.shlock = (RUNS / f"chain-node-{NODE}.lock").open("a")fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB)
def log(msg): line = f"{time.strftime('%Y-%m-%d %H:%M:%S')} node{NODE} {msg}" print(line, flush=True) with (RUNS / f"chain-node-{NODE}.log").open("a") as f: f.write(line + "\n")
def run_phase(task, phase, bs, steps, save, port): logs = RUNS / task / "logs" exits = [logs / f"{phase}-node-{r}.exit" for r in range(4)] if all(p.is_file() for p in exits): return all(p.read_text().strip() == "0" for p in exits) subprocess.run(["bash", str(H / "groot_node.sh"), task, phase, str(bs), str(steps), str(save), str(port)]) deadline = time.monotonic() + 600 while not all(p.is_file() for p in exits): if time.monotonic() > deadline: log(f"{task}/{phase}: timed out waiting for peer exit files") return False time.sleep(5) ok = all(p.read_text().strip() == "0" for p in exits) log(f"{task}/{phase}: bs={bs} steps={steps} -> {'OK' if ok else 'FAIL'}") return ok
def peak_frac(task, phase): """Max over ranks of peak reserved / total; None when no rank reported.""" fracs = [] for f in (RUNS / task / "logs").glob(f"peak-{phase}-rank*.json"): try: d = json.loads(f.read_text()) fracs.append(d["peak_reserved_gb"] / d["total_gb"]) except (ValueError, KeyError, OSError): continue return (max(fracs), len(fracs)) if fracs else (None, 0)
def probe_verdict(task, cand, port): phase = f"probe-bs{cand}" verdict = RUNS / task / "logs" / f"{phase}.verdict.json" ok = run_phase(task, phase, cand, 4, 1000000, port) if NODE == 0 and not verdict.is_file(): time.sleep(10) # let peak files from the other nodes become visible on NAS frac, n = peak_frac(task, phase) if ok else (None, 0) fits = bool(ok and frac is not None and frac <= MAX_FRAC) verdict.write_text(json.dumps({"per_gpu_batch": cand, "ran_ok": ok, "peak_frac": frac, "ranks_reported": n, "max_frac": MAX_FRAC, "fits": fits}) + "\n") deadline = time.monotonic() + 600 while not verdict.is_file(): if time.monotonic() > deadline: log(f"{task}/{phase}: no verdict from node 0") return False time.sleep(5) v = json.loads(verdict.read_text()) log(f"{task}/{phase}: verdict {v}") return v["fits"]
def prune_resume_state(out): """Keep weights of every checkpoint but resume state (DeepSpeed optimizer shards, scheduler, RNG) only in the latest.""" ckpts = sorted((p for p in out.glob("checkpoint-*") if p.name.split("-")[-1].isdigit()), key=lambda p: int(p.name.split("-")[-1])) for c in ckpts[:-1]: for p in list(c.glob("global_step*")) + list(c.glob("optimizer*.pt")) + list(c.glob("scheduler.pt")) \ + list(c.glob("rng_state*.pth")) + list(c.glob("latest")) + list(c.glob("zero_to_fp32.py")): if p.is_dir(): shutil.rmtree(p, ignore_errors=True) else: p.unlink(missing_ok=True) log(f"{c.name}: resume state dropped (weights kept)")
def batch_for(task): layout = "h2" if task in ("a17", "a18") else "g1" decision = RUNS / f"batch-decision-{layout}.json" if decision.is_file(): return json.loads(decision.read_text())["per_gpu_batch"] for i, cand in enumerate(CANDIDATES): if probe_verdict(task, cand, PORT_BASE + i + (20 if layout == "h2" else 0)): if NODE == 0: decision.write_text(json.dumps({"per_gpu_batch": cand, "global_batch": cand * 32, "probe_task": task, "layout": layout, "candidates": CANDIDATES, "max_frac": MAX_FRAC}) + "\n") return cand time.sleep(20) log(f"{layout}: no batch size fit; stopping") sys.exit(1)
for k, task in enumerate(TASKS): bs = batch_for(task) log(f"{task}: per-GPU batch {bs} (global {bs * 32})") receipt = json.loads((G / "groot-data" / task / "hb-dataset-receipt.json").read_text()) steps = math.ceil(EPOCHS * receipt["frames"] / (bs * 32)) save = math.ceil(steps / 2) if not run_phase(task, "production", bs, steps, save, PORT_BASE + 50 + k): log(f"{task}: production failed; stopping chain") sys.exit(1) if NODE == 0: prune_resume_state(RUNS / task / "production") (RUNS / task / "production-complete.json").write_text(json.dumps( {"task": task, "frames": receipt["frames"], "epochs": EPOCHS, "per_gpu_batch": bs, "global_batch": bs * 32, "max_steps": steps, "save_steps": save}) + "\n")log("all tasks done")123456789101112131415161718192021222324"""A18 H2 (Sharpa hands) GR00T modality config, same protocol as the A18 Delta-flow run(schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projectedgravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2_body31_hand44_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["body_target", "left_hand_target", "right_hand_target"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324"""2026-11-15 user: action horizon 32 copy of h2_body31_hand44_h16.py. A18 H2 (Sharpa hands) GR00T modality config, same protocol as the A18 Delta-flow run(schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projectedgravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2_body31_hand44_h32 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(32)), modality_keys=["body_target", "left_hand_target", "right_hand_target"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2_body31_hand44_h32, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)12345678910111213141516171819202122232425"""A14 v2 H2 (Sharpa hands) GR00T modality config (H2 training guide hb_training/docs/h2/a14_training_guide.md 4.1):cameras head + chest, state78 = 75 joints + projected gravity, action82 = action.body_target (31) + action.hands (44)+ action.planner (7, the SONIC planner command), horizon 16, absolute targets. Identical to h2_body31_hand44_h16.pyexcept the added `planner` action modality."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2_body31_hand44_planner7_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["body_target", "left_hand_target", "right_hand_target", "planner"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(4)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2_body31_hand44_planner7_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324"""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(schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projectedgravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2w3_body31_hand44_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest", "wrist"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["body_target", "left_hand_target", "right_hand_target"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2w3_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163"""Humanoid Benchmark data augmentation v2 (project CLAUDE.md), model-agnostic torch implementation.
augment(x, rng, obs_mask=None) takes x: float [T, V, 3, H, W] in [0, 1] (T frames, V cameras) and returns theaugmented tensor. Each call is one training sample: one of the 15 effects is chosen uniformly and its magnitudeis scaled by 1.5 around identity; the rest stay at x1. Colour is shared across cameras and time; geometry, lightpatches and white balance are drawn per camera and fixed over time; sensor/optics effects (noise, gaussian blur,JPEG, motion blur, sharpen, defocus) apply only to observation frames (obs_mask True).Pixel-size parameters are defined at 224 px and scaled by H / 224.perturb_joints(q, rng) applies the proprio spec: per-joint bias +-2 deg plus N(0, 0.25 deg) clipped at 3 sigma."""import ioimport math
import numpy as npimport torchimport torch.nn.functional as Ffrom PIL import Imagefrom torchvision.transforms import InterpolationModefrom torchvision.transforms import functional as TF
EFFECTS = ("exposure", "contrast", "saturation", "hue", "gamma", "temperature", "rotation_crop", "noise", "gaussian_blur", "jpeg", "motion_blur", "sharpen", "defocus", "light_shadow", "wb_channel")CENTER = {"exposure": 0.0, "contrast": 1.0, "saturation": 1.0, "hue": 0.0, "gamma": 1.0, "temperature": 0.0}RANGE = {"exposure": (-0.22, 0.22), "contrast": (0.88, 1.12), "saturation": (0.76, 1.24), "hue": (-0.015, 0.015), "gamma": (0.89, 1.11), "temperature": (-0.066, 0.066)}VERSION = "hb-aug-v2-20261109"
def sample(rng, views, height): boost = EFFECTS[int(rng.integers(len(EFFECTS)))]
def k(name): return 1.5 if boost == name else 1.0
px = height / 224.0 p = {"boost": boost} for name, (a, b) in RANGE.items(): c = CENTER[name] p[name] = float(rng.uniform(c + k(name) * (a - c), c + k(name) * (b - c))) p["geometry"] = [] for _ in range(views): angle = float(rng.uniform(-1.5 * k("rotation_crop"), 1.5 * k("rotation_crop"))) p["geometry"].append((angle, 1.0 + abs(angle) * 0.015 + float(rng.uniform(0, 0.02 * k("rotation_crop"))))) p["noise"] = 4.0 / 255.0 * k("noise") if rng.random() < 0.5 else 0.0 p["gaussian_blur"] = float(rng.uniform(0.25, 0.65)) * k("gaussian_blur") if rng.random() < 0.15 else 0.0 if rng.random() < 0.35: lo = int(round(100 - k("jpeg") * 30)) hi = int(round(100 - k("jpeg") * 5)) p["jpeg"] = int(rng.integers(lo, hi + 1)) else: p["jpeg"] = None p["motion_blur"] = ((float(rng.uniform(3, 7)) * k("motion_blur") * px, float(rng.uniform(0, 180))) if rng.random() < 0.15 else None) p["sharpen"] = float(rng.uniform(0.2, 0.6)) * k("sharpen") if rng.random() < 0.15 else 0.0 p["defocus"] = float(rng.uniform(1, 2)) * k("defocus") * px if rng.random() < 0.10 else 0.0 if rng.random() < 0.30: g = 0.30 * k("light_shadow") p["light_shadow"] = [[(float(rng.uniform(0.1, 0.9)), float(rng.uniform(0.1, 0.9)), float(rng.uniform(0.15, 0.35)), float(rng.uniform(1 - g, 1 + g))) for _ in range(int(rng.integers(1, 3)))] for _ in range(views)] else: p["light_shadow"] = None if rng.random() < 0.30: g = 0.10 * k("wb_channel") gains = [] for _ in range(views): row = [1.0, 1.0, 1.0] row[int(rng.integers(0, 3))] = float(rng.uniform(1 - g, 1 + g)) gains.append(row) p["wb_channel"] = gains else: p["wb_channel"] = None return p
def _conv(x, kernel): n, c, h, w = x.shape k = kernel.to(x)[None, None].repeat(c, 1, 1, 1) pad = kernel.shape[-1] // 2 return F.conv2d(F.pad(x, (pad, pad, pad, pad), mode="reflect"), k, groups=c)
def motion_kernel(length, angle_deg): size = max(3, int(round(length)) | 1) k = torch.zeros(size, size) c = size // 2 th = math.radians(angle_deg) for s in np.linspace(-(length - 1) / 2, (length - 1) / 2, 8 * size): k[int(round(c - s * math.sin(th))), int(round(c + s * math.cos(th)))] = 1.0 return k / k.sum()
def disk_kernel(r): size = 2 * int(math.ceil(r)) + 1 c = size // 2 yy, xx = torch.meshgrid(torch.arange(size), torch.arange(size), indexing="ij") k = (((yy - c) ** 2 + (xx - c) ** 2) <= (r + 0.5) ** 2).float() return k / k.sum()
def apply(x, p, obs_mask=None, noise_seed=0): t, v, c, h, w = x.shape x = x.clone().clamp(0, 1) for vi, (angle, scale) in enumerate(p["geometry"]): x[:, vi] = TF.affine(x[:, vi], angle=angle, translate=[0, 0], scale=scale, shear=[0, 0], interpolation=InterpolationMode.BILINEAR) if p["light_shadow"] is not None: yy, xx = torch.meshgrid(torch.linspace(0, 1, h), torch.linspace(0, 1, w), indexing="ij") for vi, blobs in enumerate(p["light_shadow"]): m = torch.ones(h, w) for cx, cy, s, g in blobs: m = m + (g - 1.0) * torch.exp(-((xx - cx) ** 2 + (yy - cy) ** 2) / (2 * s * s)) x[:, vi] = (x[:, vi] * m.clamp(min=0).to(x)).clamp(0, 1) if p["wb_channel"] is not None: for vi, g in enumerate(p["wb_channel"]): x[:, vi] = (x[:, vi] * torch.tensor(g, dtype=x.dtype).view(1, 3, 1, 1)).clamp(0, 1) y = x.reshape(t * v, c, h, w) y = (y * float(2.0 ** p["exposure"])).clamp(0, 1) d = p["temperature"] y = (y * y.new_tensor([1.0 + d, 1.0, 1.0 - d]).view(1, 3, 1, 1)).clamp(0, 1) y = ((y - 0.5) * p["contrast"] + 0.5).clamp(0, 1) y = TF.adjust_saturation(y, p["saturation"]) y = TF.adjust_hue(y, p["hue"]) y = y.clamp(0, 1).pow(p["gamma"]) x = y.reshape(t, v, c, h, w) mask = torch.ones(t, dtype=torch.bool) if obs_mask is None else torch.as_tensor(obs_mask, dtype=torch.bool) if bool(mask.any()): o = x[mask].reshape(-1, c, h, w) if p["gaussian_blur"] > 0: o = TF.gaussian_blur(o, [3, 3], [p["gaussian_blur"]] * 2) if p["motion_blur"] is not None: o = _conv(o, motion_kernel(*p["motion_blur"])) if p["defocus"] > 0: o = _conv(o, disk_kernel(p["defocus"])) if p["sharpen"] > 0: o = o + p["sharpen"] * (o - TF.gaussian_blur(o, [5, 5], [1.0, 1.0])) o = o.clamp(0, 1) if p["noise"] > 0: gen = torch.Generator().manual_seed(int(noise_seed)) o = (o + torch.randn(o.shape, generator=gen, dtype=o.dtype) * p["noise"]).clamp(0, 1) if p["jpeg"] is not None: for i in range(o.shape[0]): buf = io.BytesIO() TF.to_pil_image(o[i]).save(buf, format="JPEG", quality=int(p["jpeg"])) buf.seek(0) with Image.open(buf) as im: o[i] = TF.pil_to_tensor(im.convert("RGB")).to(o.dtype).div(255.0) x[mask] = o.reshape(-1, v, c, h, w) return x.clamp(0, 1)
def augment(x, rng, obs_mask=None): p = sample(rng, x.shape[1], x.shape[-2]) return apply(x, p, obs_mask, noise_seed=int(rng.integers(0, 2 ** 62))), p
def perturb_joints(q, rng): q = np.asarray(q, dtype=np.float64) d = q.shape[-1] bias = rng.uniform(-math.radians(2.0), math.radians(2.0), size=d) sigma = math.radians(0.25) noise = np.clip(rng.normal(0.0, sigma, size=q.shape), -3 * sigma, 3 * sigma) return (q + bias + noise).astype(np.float32)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347"""GR00T in-training open-loop action MSE (2026-11-15 user: every 250 training steps).
Imported by hb_groot/hb_launch.py (hb_launch_v.py runs hb_launch.py). It wraps Gr00tTrainer.__init__ so that everytrainer gets a TrainerCallback. At global_step % HB_INLOOP_EVERY == 0 (default 250; 0 = off) every rank evaluates itsshard of the benchmark eval cache (eval-action-mse/cache) with the weights being trained right now, exactly as deployed: * Gr00tPolicy pipeline: eval processor from <output_dir>/processor (the files every checkpoint ships), parse_observation_gr00t inputs, bf16 inputs, model.get_action under inference_mode, processor.decode_action; * same protocol and metrics as the post-hoc eval (hb_eval_common): queries every 16 frames, first 16 predicted steps vs the recorded actions, nMSE with the training-frame std, per group / per step; * split: "heldout" when the task has recorded episodes that are never trained on (B6, trolley, B7), else "train10".Training is not changed: module train/eval modes are restored module by module, torch CPU + CUDA (this device), numpyand python RNG states are restored after each eval; the flow-matching noise uses a fixed seed (rank, batch) so everyeval sees the same noise (smoother curve). ZeRO-2 keeps the full bf16 weights on every rank, so ranks run independently;partial sums are all-reduced once. Results: <run>/logs/inloop-mse.jsonl (rank 0), one json line per eval, and an"HB_INLOOP" log line. Failures never stop training: an exception on any rank disables further evals on all ranks(error flag in the same all-reduce, so no rank waits on another).Env: HB_INLOOP_EVERY (250), HB_INLOOP_BATCH (8 queries per forward), HB_INLOOP_MAX_QUERIES (0 = all; tests only), HB_INLOOP_SPLIT (override), HB_INLOOP_PROCESSOR_DIR (tests only)."""import jsonimport osimport randomimport sysimport timeimport tracebackfrom contextlib import nullcontextfrom pathlib import Path
import numpy as npimport torch
EVERY = int(os.environ.get("HB_INLOOP_EVERY", "250"))BATCH = int(os.environ.get("HB_INLOOP_BATCH", "8"))MAX_Q = int(os.environ.get("HB_INLOOP_MAX_QUERIES", "0"))SEED = 1234G = Path(__file__).resolve().parent.parentEVAL_DIR = G / "eval-action-mse"for _p in (str(EVAL_DIR), str(EVAL_DIR / "adapters")): if _p not in sys.path: sys.path.insert(0, _p)import hb_eval_common as E # noqa: E402import ad_groot as AG # noqa: E402 (canonical state -> GR00T state groups, same mapping as the post-hoc eval)
RANK = int(os.environ.get("RANK", "0"))WORLD = int(os.environ.get("WORLD_SIZE", "1"))
def say(*a): if RANK == 0: print("HB_INLOOP", *a, flush=True)
def _argv(name): a = sys.argv for i, x in enumerate(a): if x == name and i + 1 < len(a): return a[i + 1] if x.startswith(name + "="): return x.split("=", 1)[1] return None
def resolve(dataset_path): """groot-data/<view> -> (benchmark task, split, view dir) or raises with the reason""" view = Path(dataset_path) rec = json.loads((view / "hb-dataset-receipt.json").read_text()) task = E.task_for_source(rec["source"]) if task is None: raise LookupError(f"no benchmark task for source {rec['source']}") split = os.environ.get("HB_INLOOP_SPLIT") if not split: split = "heldout" if (E.split_dir(task, "heldout") / "meta.json").exists() else "train10" if not (E.split_dir(task, split) / "meta.json").exists(): raise FileNotFoundError(f"eval cache {task}/{split} missing (build_cache.py {task} {split})") return task, split, view
class InLoopMSE: """transformers TrainerCallback (duck-typed: the callback handler only calls the hooks that exist)"""
def __init__(self, task, split, view, processor_dir=None): self.task, self.split, self.view = task, split, view self.processor_dir = processor_dir self.disabled = False self.ready = False self.results = []
# ---------------------------------------------------------------- setup (first eval; needs the live model) def _setup(self, model, output_dir): from transformers import AutoProcessor from gr00t.data.embodiment_tags import EmbodimentTag from gr00t.policy.gr00t_policy import Gr00tPolicy from gr00t.policy.policy import BasePolicy
meta = E.load_meta(self.task, self.split) self.meta = meta self.lay = E.LAYOUTS[meta["layout"]] self.std = E.norm_std(E.load_stats(self.task)) # the Gr00tPolicy of a checkpoint, built around the live model instead of loading weights from disk pol = Gr00tPolicy.__new__(Gr00tPolicy) BasePolicy.__init__(pol, strict=True) pdir = Path(self.processor_dir or os.environ.get("HB_INLOOP_PROCESSOR_DIR") or Path(output_dir) / "processor") proc = AutoProcessor.from_pretrained(str(pdir)) proc.eval() proc.validate_strict_action_padding_mask(model.config) tag = EmbodimentTag.NEW_EMBODIMENT pol.model, pol.processor, pol.embodiment_tag = model, proc, tag pol.modality_configs = {k: v for k, v in proc.get_modality_configs()[tag.value].items() if k != "rl_info"} pol.collate_fn = proc.collator pol.language_key = pol.modality_configs["language"].modality_keys[0] self.policy = pol self.mod = pol.modality_configs self.state_map = AG.H2_STATE if meta["layout"].startswith("h2") else AG.G1_STATE self.video_keys = list(self.mod["video"].modality_keys) self.state_keys = list(self.mod["state"].modality_keys) self.action_keys = list(self.mod["action"].modality_keys) missing = [k for k in self.state_keys if k not in self.state_map] + \ [k for k in self.video_keys if k not in meta["cams"]] if missing: raise KeyError(f"model expects {missing}, not in the benchmark state / cache cameras {meta['cams']}") tj = self.view / "meta/tasks.jsonl" self.prompts = {str(r["task_index"]): r["task"] for r in E.jl(tj)} if tj.exists() else {} # all queries of the split in a fixed order; this rank keeps every WORLD-th one (images only for those) allq = [] for ep in meta["episodes"]: with np.load(E.split_dir(self.task, self.split) / f"ep_{ep:06d}.npz") as z: allq += [(ep, qi, int(t)) for qi, t in enumerate(z["query_t"])] if MAX_Q: allq = allq[:MAX_Q] self.n_total = len(allq) mine = [q for i, q in enumerate(allq) if i % WORLD == RANK] self.eps = list(meta["episodes"]) self.q = [] # (ep, t, T, state[t], prompt, {cam: img}, gt(16, Da), valid(16)) by_ep = {} for ep, qi, t in mine: by_ep.setdefault(ep, []).append((qi, t)) for ep, lst in by_ep.items(): with np.load(E.split_dir(self.task, self.split) / f"ep_{ep:06d}.npz") as z: state, action = z["state"], z["action"] prompt = meta["prompts"][str(int(z["task_index"]))] imgs = {c: z[f"img_{c}"] for c in self.video_keys} for qi, t in lst: gt, valid = E.gt_chunk(action, t) self.q.append((ep, t, len(action), state[t].copy(), prompt, {c: imgs[c][qi].copy() for c in self.video_keys}, gt, valid)) self.ready = True say(f"ready: task {self.task} split {self.split} queries {self.n_total} (rank {RANK}: {len(self.q)}), " f"every {EVERY} steps, batch {BATCH}, cams {self.video_keys}, processor {pdir}")
# ---------------------------------------------------------------- one forward on a batch of queries def _obs(self, q): from gr00t.data.utils import parse_observation_gr00t ep, t, T, st, prompt, imgs, _, _ = q o = {} for k in self.state_keys: a, b = self.state_map[k] o[f"state.{k}"] = np.asarray(st[a:b], dtype=np.float32)[None] for k in self.video_keys: o[f"video.{k}"] = imgs[k][None] o[self.language_key()] = self.prompts.get("0", prompt) if len(self.prompts) == 1 else prompt return parse_observation_gr00t(o, self.mod)
def language_key(self): return self.policy.language_key
@staticmethod def _merge(obs_list): out = {} for m in obs_list[0]: out[m] = {} for k, v in obs_list[0][m].items(): vals = [o[m][k] for o in obs_list] out[m][k] = np.concatenate(vals, axis=0) if isinstance(v, np.ndarray) else sum(vals, []) return out
def _predict(self, batch, model): obs = self._merge([self._obs(q) for q in batch]) dtype = next(model.parameters()).dtype ctx = torch.autocast("cuda", dtype=torch.bfloat16) if (dtype != torch.bfloat16 and torch.cuda.is_available()) \ else nullcontext() with ctx: act, _ = self.policy.get_action(obs) return np.concatenate([np.asarray(act[k], dtype=np.float64) for k in self.action_keys], axis=-1)
# ---------------------------------------------------------------- the eval def evaluate(self, step, model, output_dir): t0 = time.time() D = self.lay["action_dim"] if self.ready else 0 err, msg = 0.0, "" acc = None nq = 0 infer = 0.0 modes = [(m, m.training) for m in model.modules()] dev = torch.cuda.current_device() if torch.cuda.is_available() else None np_state, py_state = np.random.get_state(), random.getstate() try: with torch.random.fork_rng(devices=[dev] if dev is not None else []): if not self.ready: self._setup(model, output_dir) D = self.lay["action_dim"] model.eval() acc = E.Accumulator(self.std, self.lay["groups"]) for bi in range(0, len(self.q), BATCH): batch = self.q[bi:bi + BATCH] torch.default_generator.manual_seed(SEED + 1000 * RANK + bi) if dev is not None: torch.cuda.manual_seed(SEED + 1000 * RANK + bi) s = time.time() pred = self._predict(batch, model) infer += time.time() - s if pred.shape[0] != len(batch) or pred.shape[1] < E.HORIZON or pred.shape[2] != D: raise ValueError(f"prediction {pred.shape}, need ({len(batch)}, >={E.HORIZON}, {D})") for q, p in zip(batch, pred): acc.add(q[0], p[:E.HORIZON], q[6], q[7]) nq += 1 except Exception as e: # noqa: BLE001 - never stop training err, msg = 1.0, f"{type(e).__name__}: {e}" print(f"HB_INLOOP rank {RANK} step {step} FAILED: {msg}\n{traceback.format_exc()}", file=sys.stderr, flush=True) finally: for m, tr in modes: m.training = tr np.random.set_state(np_state) random.setstate(py_state) # ---- one all-reduce of all partial sums (+ error flag); D / eps are identical on every rank once ready H = E.HORIZON eps = self.eps if self.ready else [] nE = len(eps) vec = np.zeros(3 * D + 1 + 2 * H + 2 * nE + 3) if acc is not None and not err: o = 0 vec[o:o + D] = acc.sse_raw; o += D vec[o:o + D] = acc.sae_raw; o += D vec[o:o + D] = acc.sse_n; o += D vec[o] = acc.rows; o += 1 vec[o:o + H] = acc.step_sse_n; o += H vec[o:o + H] = acc.step_rows; o += H for j, ep in enumerate(eps): s, c = acc.per_episode.get(int(ep), (0.0, 0)) vec[o + j], vec[o + nE + j] = s, c o += 2 * nE vec[o], vec[o + 1] = nq, infer vec[-1] = err tot = self._allreduce(vec) if tot is None: # ranks disagree on the vector length (setup failed somewhere) -> stop for good self.disabled = True self._write(output_dir, {"step": step, "error": "length mismatch across ranks / collective failed"}) return if tot[-1] > 0 or not self.ready: self.disabled = True self._write(output_dir, {"step": step, "error": msg or "failed on another rank", "ranks_failed": tot[-1]}) say(f"step {step}: eval failed on {int(tot[-1])} rank(s) -> in-training eval disabled ({msg})") return o = 0 acc = E.Accumulator(self.std, self.lay["groups"]) acc.sse_raw = tot[o:o + D]; o += D acc.sae_raw = tot[o:o + D]; o += D acc.sse_n = tot[o:o + D]; o += D acc.rows = int(round(tot[o])); o += 1 acc.step_sse_n = tot[o:o + H]; o += H acc.step_rows = tot[o:o + H]; o += H acc.per_episode = {int(ep): [float(tot[o + j]), int(round(tot[o + nE + j]))] for j, ep in enumerate(eps) if tot[o + nE + j] > 0} o += 2 * nE n_q, infer_sum = int(round(tot[o])), float(tot[o + 1]) res = acc.result() res.pop("nmse_by_dim", None) rec = {"step": step, "utc": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()), "task": self.task, "split": self.split, "queries": n_q, "ranks": WORLD, "wall_s": round(time.time() - t0, 1), "infer_s_per_query": round(infer_sum / max(n_q, 1), 4), "denoising_steps": int(getattr(model.action_head, "num_inference_timesteps", -1)) if hasattr(model, "action_head") else None, "seed": SEED, **res} self.results.append(rec) self._write(output_dir, rec) g = " ".join(f"{k} {v['nmse']:.4f}" for k, v in res["groups"].items()) say(f"step {step}: {self.task}/{self.split} nMSE {res['nmse']:.4f} ({g}) on {n_q} queries, " f"{rec['wall_s']} s")
def _allreduce(self, vec): import torch.distributed as dist if not (dist.is_available() and dist.is_initialized()) or WORLD == 1: return vec try: dev = "cuda" if dist.get_backend() == "nccl" else "cpu" n = torch.tensor([float(len(vec))], dtype=torch.float64, device=dev) mx = n.clone() dist.all_reduce(mx, op=dist.ReduceOp.MAX) mn = n.clone() dist.all_reduce(mn, op=dist.ReduceOp.MIN) if mx.item() != mn.item(): return None t = torch.from_numpy(vec).to(device=dev, dtype=torch.float64) dist.all_reduce(t) return t.cpu().numpy() except Exception as e: # noqa: BLE001 print(f"HB_INLOOP rank {RANK} all_reduce failed: {e!r}", file=sys.stderr, flush=True) return None
def _write(self, output_dir, rec): if RANK != 0: return try: out = Path(output_dir).parent / "logs" / "inloop-mse.jsonl" out.parent.mkdir(parents=True, exist_ok=True) with open(out, "a") as f: f.write(json.dumps(rec) + "\n") except Exception as e: # noqa: BLE001 print(f"HB_INLOOP write failed: {e!r}", flush=True)
# ---------------------------------------------------------------- TrainerCallback hooks def on_step_end(self, args, state, control, model=None, **kw): step = int(state.global_step) if self.disabled or EVERY <= 0 or step <= 0 or step % EVERY or model is None: return control self.evaluate(step, model, args.output_dir) return control
def _install(): if EVERY <= 0: say("disabled (HB_INLOOP_EVERY=0)") return ds = _argv("--dataset_path") or _argv("--dataset-path") if not ds: say("disabled: no --dataset_path in argv") return try: task, split, view = resolve(ds) except Exception as e: # noqa: BLE001 say(f"disabled: {e}") return from transformers import TrainerCallback from gr00t.experiment.trainer import Gr00tTrainer
cb_cls = type("HBInLoopMSE", (InLoopMSE, TrainerCallback), {}) _orig_init = Gr00tTrainer.__init__
def __init__(self, *a, **k): _orig_init(self, *a, **k) self.add_callback(cb_cls(task, split, view))
Gr00tTrainer.__init__ = __init__ say(f"installed: task {task} split {split} every {EVERY} steps (view {view.name})")
if os.environ.get("HB_INLOOP_NO_INSTALL") != "1": _install()123456789101112131415161718192021222324252627282930313233343536373839"""joint47 root orientation for GR00T (2026-11-18 user experiment).
The dataset stores world-frame rotation6D per frame (action.root_rot6d_world). Every sample's action chunk isconverted to rotation6D relative to the heading of its CURRENT frame (row 0 = source offset 0 = the observationframe), exactly as HumanWAM joint47 v2: R_relative[k] = Rz(-yaw(current)) @ R_world[k], using HumanWAM's ownjoint_reference_rotation.py. Applied before normalization (fixed [-1, 1] bounds). Imported by hb_launch.py whenHB_J47_ROOT_KEY is set."""import importlib.utilimport osfrom pathlib import Path
import numpy as npfrom gr00t.model.gr00t_n1d7 import processing_gr00t_n1d7 as P
_default = Path(__file__).resolve().parents[2] / "HumanWAM-joint/src/imagewam/joint_reference_rotation.py"_spec = importlib.util.spec_from_file_location("hb_jrr", os.environ.get("HB_J47_ROTATION_PY", str(_default)))jrr = importlib.util.module_from_spec(_spec)_spec.loader.exec_module(jrr)KEY = os.environ["HB_J47_ROOT_KEY"]IDENT = np.array([1.0, 0.0, 0.0, 0.0])
def to_current_heading(world6d): q = jrr.heading_relative_rotation6d_to_world_quaternion(np.asarray(world6d, dtype=np.float64), IDENT) return jrr.world_quaternion_to_heading_relative_rotation6d(q, q[0].astype(np.float64)).astype(np.float32)
_prev = P.Gr00tN1d7Processor.__call__
def _call(self, messages): acts = getattr(messages[0]["content"], "actions", None) if acts and KEY in acts: acts[KEY] = to_current_heading(acts[KEY]) return _prev(self, messages)
P.Gr00tN1d7Processor.__call__ = _call123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121"""GR00T N1.7 fine-tuning entry with Humanoid Benchmark augmentation v2.
Patches Gr00tN1d7Processor in training mode only:- images: native random crop / colour jitter / rotation are bypassed (the deterministic eval resize+center-crop is used), then hb_aug_v2 is applied jointly to all cameras of the sample;- proprio: the body-joint state groups (HB_BODY_STATE_KEYS) get the v2 bias + noise before normalization.Then runs the pinned upstream gr00t/experiment/launch_finetune.py unchanged."""import jsonimport osimport runpyimport sysfrom pathlib import Path
import numpy as npimport torch
HERE = Path(__file__).resolve().parentsys.path.insert(0, str(HERE))import hb_offline_fix # noqa: E402,F401 (tokenizer load under HF_HUB_OFFLINE=1, see module docstring)import hb_aug_v2 as A # noqa: E402from gr00t.model.gr00t_n1d7 import processing_gr00t_n1d7 as P # noqa: E402
Proc = P.Gr00tN1d7ProcessorBODY_KEYS = [k for k in os.environ.get("HB_BODY_STATE_KEYS", "left_leg,right_leg,waist,left_arm,right_arm").split(",") if k]LOG = os.environ.get("HB_AUG_LOG")_state = {"rng": None, "count": 0, "pid": None}
def _worker_id(): info = torch.utils.data.get_worker_info() return 0 if info is None else info.id + 1
# 2026-11-23 user (hb_training/REPRODUCIBILITY.md section 3): with HB_AUG_SEED set -- the training entry sets it# for every run it starts -- the augmentation stream is derived from (training seed, torch.initial_seed() of this# process / DataLoader worker, global rank, worker id), so a rerun with the same seed and layout draws the same# augmentations. Processes started before this change have no HB_AUG_SEED and keep the old pid/urandom stream.def _rng(): pid = os.getpid() if _state["rng"] is None or _state["pid"] != pid: if os.environ.get("HB_AUG_SEED") is not None: _state["rng"] = np.random.default_rng([int(os.environ["HB_AUG_SEED"]), torch.initial_seed() % (2 ** 63), int(os.environ.get("RANK", "0")), _worker_id()]) else: _state["rng"] = np.random.default_rng([pid, int.from_bytes(os.urandom(8), "little")]) _state["pid"] = pid return _state["rng"]
_orig_get, _orig_apply, _orig_call = Proc._get_vlm_inputs, Proc._apply_vlm_processing, Proc.__call__
def _get_vlm_inputs(self, image_keys, images, masks, image_transform, language): if getattr(self, "training", False): self._hb_views = len(image_keys) try: return _orig_get(self, image_keys, images, masks, self.eval_image_transform, language) finally: self._hb_views = None return _orig_get(self, image_keys, images, masks, image_transform, language)
def _apply_vlm_processing(self, images, language): views = getattr(self, "_hb_views", None) if views and isinstance(images, torch.Tensor): shape = images.shape x = images.reshape(-1, views, *shape[1:]).float().div(255.0) x, p = A.augment(x, _rng()) images = (x * 255.0 + 0.5).clamp(0, 255).to(torch.uint8).reshape(shape) _state["count"] += 1 if LOG and _state["count"] in (1, 50): with open(f"{LOG}.{os.getpid()}", "a") as f: f.write(json.dumps({"count": _state["count"], "views": views, "hw": list(shape[-2:]), "boost": p["boost"], "version": A.VERSION}) + "\n") return _orig_apply(self, images, language)
def _call(self, messages): if getattr(self, "training", False) and BODY_KEYS: states = messages[0]["content"].states for key in BODY_KEYS: if key in states: states[key] = A.perturb_joints(states[key], _rng()) return _orig_call(self, messages)
Proc._get_vlm_inputs = _get_vlm_inputsProc._apply_vlm_processing = _apply_vlm_processingProc.__call__ = _call
# 2026-11-18 user: joint47 experiment (hb_j47.py turns the world root rotation6D chunk into current-heading relative)if os.environ.get("HB_J47_ROOT_KEY"): import hb_j47 # noqa: E402,F401
# 2026-11-15 user: in-training open-loop action MSE every 250 steps (hb_inloop_eval.py adds a TrainerCallback to# Gr00tTrainer; HB_INLOOP_EVERY=0 turns it off). It never blocks training: any setup problem only disables it.if os.environ.get("HB_PATCH_ONLY") != "1": try: import hb_inloop_eval # noqa: E402,F401 except Exception as _e: # noqa: BLE001 print(f"HB_INLOOP disabled: {_e!r}", flush=True)
if os.environ.get("HB_PATCH_ONLY") != "1": os.environ.setdefault("HB_AUG_SEED", "42") # = the GR00T training seed (gr00t data_config seed 42); see _rng() print(f"HB_AUG_SEED={os.environ['HB_AUG_SEED']} (seeded augmentation stream, REPRODUCIBILITY.md section 3)", file=sys.stderr, flush=True) entry = Path(os.environ["GROOT_SRC"]) / "gr00t/experiment/launch_finetune.py" sys.argv = [str(entry)] + sys.argv[1:] try: runpy.run_path(str(entry), run_name="__main__") finally: # batch probe: report this rank's peak reserved memory (groot_chain.py compares it with MAX_FRAC) _peak = os.environ.get("HB_PEAK_FILE") if _peak and torch.cuda.is_available(): try: _dev = torch.cuda.current_device() with open(f"{_peak}-rank{os.environ.get('RANK', '0')}.json", "w") as _f: json.dump({"rank": int(os.environ.get("RANK", "0")), "peak_reserved_gb": torch.cuda.max_memory_reserved(_dev) / 1e9, "total_gb": torch.cuda.get_device_properties(_dev).total_memory / 1e9}, _f) except Exception: # noqa: BLE001 - never mask the training result pass123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102"""2026-11-15 user: GR00T variant launcher = hb_launch.py (HB aug v2 + A20 proprio + processor patch, then the pinnedupstream launch_finetune.py) plus, from environment variables, before the run starts: HB_GROOT_MODEL_OVERRIDES JSON {"attn_dropout": 0.0, "diffusion_model_cfg.dropout": 0.0, "num_inference_timesteps": 16, ...}: set on config.model (dotted keys go into nested dicts / attributes) HB_GROOT_LR_GROUPS JSON {"language": 1e-6, "vision": 1e-5, "projector": 1e-4, "rest": 1e-4}: layer-wise learning rates (Psi-Zero style) through Gr00tTrainer.create_optimizer: language = backbone ... language_model.* and lm_head vision = backbone ... visual.* except the vision->language mergers projector = visual.merger.* and visual.deepstack_merger_list.* rest = action head (DiT, VL self-attention, VLLN, encoders / decoders) weight decay as HF Trainer (no decay on biases / norms); cosine + warmup scale every group.Prints HB_LAUNCH_V lines (overrides applied, parameter count and lr per group) on rank 0 for verification."""import jsonimport osimport runpyimport sysfrom pathlib import Path
H = Path(__file__).resolve().parentsys.path.insert(0, str(H))RANK0 = os.environ.get("RANK", "0") == "0"
def say(*a): if RANK0: print("HB_LAUNCH_V", *a, flush=True)
OV = json.loads(os.environ.get("HB_GROOT_MODEL_OVERRIDES", "{}") or "{}")LRG = json.loads(os.environ.get("HB_GROOT_LR_GROUPS", "{}") or "{}")
import gr00t.experiment.experiment as E # noqa: E402
_run = E.run
def _set(obj, dotted, value): parts = dotted.split(".") for p in parts[:-1]: obj = obj[p] if isinstance(obj, dict) else getattr(obj, p) last = parts[-1] if isinstance(obj, dict): if last not in obj: raise KeyError(f"model override {dotted}: no key {last}") old = obj[last] obj[last] = value else: if not hasattr(obj, last): raise AttributeError(f"model override {dotted}: no attribute {last}") old = getattr(obj, last) setattr(obj, last, value) say(f"override model.{dotted}: {old!r} -> {value!r}")
def run(config): for k, v in OV.items(): _set(config.model, k, v) return _run(config)
E.run = run
if LRG: from transformers import Trainer from gr00t.experiment.trainer import Gr00tTrainer
def group_of(name): if ".language_model." in name or "lm_head" in name: return "language" if ".visual." in name: return "projector" if (".visual.merger." in name or ".visual.deepstack_merger_list." in name) else "vision" return "rest"
def create_optimizer(self): if self.optimizer is not None: return self.optimizer model = self.model decay = set(self.get_decay_parameter_names(model)) groups, stats = {}, {} for n, p in model.named_parameters(): if not p.requires_grad: continue g = group_of(n) lr = float(LRG.get(g, LRG.get("rest", self.args.learning_rate))) wd = self.args.weight_decay if n in decay else 0.0 groups.setdefault((g, lr, wd), []).append(p) s = stats.setdefault(g, [lr, 0, 0]) s[1] += 1 s[2] += p.numel() opt_cls, opt_kwargs = Trainer.get_optimizer_cls_and_kwargs(self.args, model) opt_kwargs.pop("lr", None) self.optimizer = opt_cls([{"params": ps, "lr": lr, "weight_decay": wd} for (g, lr, wd), ps in groups.items()], lr=self.args.learning_rate, **opt_kwargs) for g, (lr, n_t, n_p) in sorted(stats.items()): say(f"lr group {g}: lr {lr:g}, {n_t} tensors, {n_p / 1e6:.1f} M params") return self.optimizer
Gr00tTrainer.create_optimizer = create_optimizer say("layer-wise lr groups installed", json.dumps(LRG))
say("model overrides", json.dumps(OV))runpy.run_path(str(H / "hb_launch.py"), run_name="__main__")123456789101112131415161718192021222324"""Make tokenizer loading work with HF_HUB_OFFLINE=1 on transformers 4.57.x.
PreTrainedTokenizerBase._patch_mistral_regex calls huggingface_hub.model_info() for every hub-named tokenizer with avocab > 100k (to detect Mistral base models). With HF_HUB_OFFLINE=1 that raises OfflineModeIsEnabled even though allfiles are in the cache. GR00T's Cosmos-Reason2-2B / Qwen3-VL tokenizer is not a Mistral tokenizer, so when offline thecheck is skipped and the tokenizer is returned unchanged. Online behaviour is untouched."""import os
from transformers.tokenization_utils_base import PreTrainedTokenizerBase as _PTB
if not getattr(_PTB, "_hb_offline_fix", False): _orig = _PTB._patch_mistral_regex.__func__
def _patch_mistral_regex(cls, tokenizer, *args, **kwargs): try: return _orig(cls, tokenizer, *args, **kwargs) except Exception as error: if os.environ.get("HF_HUB_OFFLINE") == "1" or type(error).__name__ == "OfflineModeIsEnabled": return tokenizer raise
_PTB._patch_mistral_regex = classmethod(_patch_mistral_regex) _PTB._hb_offline_fix = True123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212"""Build GR00T dataset views (symlinked episodes + rewritten meta + stats) for the G1 tasks.
Usage: <groot python> prepare_groot_data.py <task> [<task> ...] (tasks: b6 basket a3 a7)B6 always uses the fixed first 100 episodes (0-99) of b6-v5t7-ready-start-20261109."""import hashlibimport jsonimport osimport subprocessimport sysfrom pathlib import Path
H = Path(__file__).resolve().parentG = H.parentP = G.parentOUT = G / "groot-data"TASKS = { "b6": (P / "b6-v5t7-ready-start-60ep-20261109/data/deliveries/g1/b6-v5t7-ready-start-20261109", 100), "basket": (P / "basket-current-dynamics-100-v21-b0ff522/data", None), # HF basket-transfer-expert-v1 @current-dynamics-100-v21 b0ff522 (old ed77719 retired) "basketv2": (P / "basket-trimv2-c4df4d4/data", None), # HF a20-basket-transfer-pre-reach-trim-expert-v2 @c4df4d40 (user 2026-11-14) "basketv2p": (P / "basket-trimv2-c4df4d4/data", None), # 2026-11-23 user: basket v2 (A20 final data) from the base model, 4000 steps (no v1 stage) "trolley": (P / "trolley-push-expert-v1-20261110/data/trolley_push", 100), # HF trolley-push-expert-v1 @ef9024a: fixed first 100 of 103 "b7": (P / "b7-black-clothes-hamper-v1-1bb002a/data", 100), # HF b7-black-clothes-hamper-expert-v1 @1bb002a, first 100 of 107 "a6": (P / "a6-door-pull-v1-cf3ee9b/data/door_pull", None), # HF door-pull-expert-v1 @cf3ee9b (A6) "b7green": (P / "b7-green-clothes-hamper-v1-ada288c/data", None), # HF b7-green-clothes-hamper-expert-v1 @ada288c, 100 episodes (user 2026-11-13) "a7v2": (P / "a7-cabinet-close-v2-aecf070/data", None), # HF a7-cabinet-close-expert-v2 @aecf070, 100 episodes (user 2026-11-14) "b8": (P / "b8-table-wipe-v1-3b2e618/data", None), # HF b8-table-wipe-expert-v1 @3b2e618, 100 episodes (user 2026-11-14) "b1": (P / "b1-riceball-microwave-v1-36da298/data", None), # HF b1-riceball-microwave-expert-v1 @36da298, all 115 episodes (user 2026-11-14) "a10v3": (P / "a10-trolley-push-v3-6e410c5/data", None), # HF a10-trolley-push-expert-v3 @6e410c5, all 148 episodes (user 2026-11-15) "a3v3": (P / "a3-fridge-open-v3-24882d5/data", None), # HF a3-fridge-open-expert-v3 @24882d5, all 125 episodes, measured hands (user 2026-11-15) "a7v3": (P / "a7-cabinet-close-v3-c2e15b0/data", None), # HF a7-cabinet-close-expert-v3 @c2e15b0, all 100 episodes, measured hands (user 2026-11-15) "b6v6": (P / "b6-pedal-bin-v6-ad2f5bf/data", None), # HF b6-pedal-bin @ad2f5bf0 (v6 at the repo root), all 542 episodes (user 2026-11-15) "b6v6p": (P / "b6-pedal-bin-v6-ad2f5bf/data", None), # 2026-11-23 user: pure v6 from the base model, all 542 (exception to the first-500 rule) "b5": (P / "b5-chair-push-v1-b85b7e9/data", None), # HF b5-chair-push-expert-v1 @b85b7e9, all 100 episodes (user 2026-11-15) "a3v4": (P / "a3-fridge-open-v4-6393d4a/data", None), # HF a3-fridge-open-expert-v4 @6393d4a, all 125 episodes (user 2026-11-15: v4 replaces v3) "a7v4": (P / "a7-cabinet-close-v4-90cc2b5/data", None), # HF a7-cabinet-close-expert-v4 @90cc2b5, all 100 episodes (user 2026-11-15: v4 replaces v3) "b7greenv2": (P / "b7-green-clothes-hamper-v2-c12757e/data", None), # HF b7-green-clothes-hamper @c12757e (v2 at the repo root), all 120 episodes (user 2026-11-14) "a10v2": (P / "a10-trolley-push-v2-d3abb4c/data", None), # HF a10-trolley-push-expert-v2 @d3abb4c, all 150 episodes (user 2026-11-13) "a1": (P / "a1-ground-object-pickup-v1-f47f07e/data", None), # HF a1-ground-object-pickup-expert-v1 @f47f07e (A1) "c6t": (P / "c6-test8-06c231d/data", None), # c6 8-episode adaptation test only "c6": (P / "c6-bathroom-door-fetch-v1-3afba69/data", None), # HF c6-bathroom-door-fetch-expert-v1 @3afba69 (C6) "a3": (P / "a3-a7-20261109/a3-fridge-open-expert-v1/780fcf1e4bd7db947a8c2d8f7b92e61f24f71b45", None), "a7": (P / "a3-a7-20261109/a7-cabinet-close-expert-v1/1935a98e8f55d4d1d2d1615ddb97c2679713595c", None), "a18": (P / "a18-h2-dataset-audit-8e956a10/dataset", None), "a17": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # HF a17-unscrew-bottle-expert-v1 @407e6e2 "a18c2": (P / "a18-h2-dataset-audit-8e956a10/dataset", None), # A18, 2 cameras head + chest (user 2026-11-14 18:2x) "a17c2": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # A17, 2 cameras head + chest (user 2026-11-14 18:2x) "a18cr2": (P / "a18-pour-water-cropped-v2-44cdd57/data", None), # HF a18-pour-water-expert-cropped-v2 @44cdd57, head + chest (user 2026-11-15) "a17cr2": (P / "a17-unscrew-bottle-cropped-v2-3520b70/data", None), # HF a17-unscrew-bottle-expert-cropped-v2 @3520b70, head + chest (user 2026-11-15) "a14": (P / "a14-unscrew-bulb-v1-b4390fc/data", None), # HF a14-unscrew-bulb-expert-v1 @b4390fc (H2, 3 cameras) "a14v2": (P / "a14-unscrew-bulb-v2-8411a6d/data", None), # HF a14-unscrew-bulb-expert-v2 @8411a6da: + action.planner (H2 guide 2026-11-14) "a14cr3": (P / "a14-screw-bulb-cropped-v3-79fe08a/data", None), # HF a14-screw-bulb-expert-cropped-v3 @79fe08a (trimmed from v2 @8411a6d; user 2026-11-20: newest A14) "b7t": (P / "b7-black-clothes-hamper-trim-949da46/data", 100), # HF b7-black-clothes-hamper @949da46 trimmed, first 100 of 107 as FastWAM / DF / pi0.5 (user 2026-11-22) "b7gt": (P / "b7-green-clothes-hamper-v2trim-22e3b83/data", None), # HF b7-green-clothes-hamper @22e3b83 trimmed v2, all 421 (user 2026-11-22) "b7td": (P / "b7-black-clothes-hamper-leaddrop-619f342/data", 100), # 2026-11-24 user: B7 black, lead-in still frames dropped (HF @619f3427, 107 ep), first 100 as before "b7gtd": (P / "b7-green-clothes-hamper-v2leaddrop-4d2c613/data", None), # 2026-11-24 user: B7 green v2, lead-in still frames dropped (HF @4d2c613c, all 421) "b5ss": (P / "b5-chair-push-standing-start-v1-913f5a1/data", None), # HF b5-chair-push-standing-start-expert-v1 @913f5a1, all 100 (user 2026-11-22) "a9": (P / "a9-pedal-open-8d43206/data", None), # 2026-11-24 user: A9 pedal bin lid open (HF a9-pedal-open-expert-v1 @8d432063, all 100 ep, G1, 30 Hz) "b1v2": (P / "b1-riceball-microwave-v2-30hz-b58f043/data", None), # 2026-11-25 user: B1 v2 (HF b1-riceball-microwave-expert-v2-30hz @b58f0434, all 200 ep, G1, 30 Hz) "b4": (P / "b4-cushion-194e7cd/data", None), # 2026-11-25 user: B4 cushion bed -> sofa (HF b4-cushion @194e7cde, v2 at the repo root, all 302 ep, G1, 30 Hz) "a29": (P / "a29-drawer-close-black-marble-30hz-d03c19e/data", None), # 2026-11-25 user: A29 drawer close, black-marble kitchen 30 Hz (HF a29-drawer-close-black-marble-30hz-v1 @d03c19e6, all 100 ep, G1, ego_view + chest) "a21": (P / "a21-floor-transfer-basket-682f2bf/data", None), # 2026-11-26 user: A21 floor basket transfer (HF a21-floor-transfer-basket-trim-raw-head-expert-v1 @682f2bfc, all 100 ep, G1, ego_view + chest, idle-trimmed) "a3v4p": (P / "a3-fridge-open-v4p-fe89f5b/data", None), # 2026-11-27 user: newest pause-trim (a29_trim_stationary 3 frames) data, all 7 baselines retrain: HF a3-fridge-open-expert-v4 @fe89f5b3 "a7v4p": (P / "a7-cabinet-close-v4p-d3ec805/data", None), # 2026-11-27 user: newest pause-trim (a29_trim_stationary 3 frames) data, all 7 baselines retrain: HF a7-cabinet-close-expert-v4 @d3ec8057 "b1v2p": (P / "b1-riceball-microwave-v2-30hz-p-276ceb9/data", None), # 2026-11-27 user: newest pause-trim (a29_trim_stationary 3 frames) data, all 7 baselines retrain: HF b1-riceball-microwave-expert-v2-30hz @276ceb91 "a14cr5": (P / "a14-screw-bulb-cropped-v5-33beae7/data", None), # 2026-11-27 user: newest pause-trim (a29_trim_stationary 3 frames) data, all 7 baselines retrain: HF a14-screw-bulb @33beae7c, head + chest, + planner "a17cr4": (P / "a17-unscrew-bottle-cropped-v4-f710531/data", None), # 2026-11-27 user: newest pause-trim (a29_trim_stationary 3 frames) data, all 7 baselines retrain: HF a17-unscrew-bottle @f7105314, head + chest "a18cr4": (P / "a18-pour-water-cropped-v4-73fd522/data", None), # 2026-11-27 user: newest pause-trim (a29_trim_stationary 3 frames) data, all 7 baselines retrain: HF a18-pour-water @73fd5225, head + chest "a20kosmo": (P / "a20-basket-transfer-kosmo-30hz-v1-7324dbe/data", None), # 2026-11-25 user: A20 basket v2 re-rendered in the Kosmo-scanned EAI room (HF a20-basket-transfer-kosmo-30hz-v1 @7324dbeb; data/ sim/ byte-identical to basketv2), GR00T only, same recipe as basketv2p}CONFIG = {"a18": "h2w3_body31_hand44_h16.py", "a17": "h2w3_body31_hand44_h16.py", "a14": "h2w3_body31_hand44_h16.py", "a18c2": "h2_body31_hand44_h16.py", "a17c2": "h2_body31_hand44_h16.py", "a18cr2": "h2_body31_hand44_h16.py", "a17cr2": "h2_body31_hand44_h16.py", "a14v2": "h2_body31_hand44_planner7_h16.py", "a14cr3": "h2_body31_hand44_planner7_h16.py", "a18cr4": "h2_body31_hand44_h16.py", "a17cr4": "h2_body31_hand44_h16.py", "a14cr5": "h2_body31_hand44_planner7_h16.py"} # 2026-11-14 H2 guide: action82 incl. the planner command# model-input cameras per H2 task (user 2026-11-12 22:0x: EVERY H2 task uses head + chest + wrist; third_person never)CAMS = {"a18": ("head", "chest", "wrist"), "a17": ("head", "chest", "wrist"), "a14": ("head", "chest", "wrist"), "a18c2": ("head", "chest"), "a17c2": ("head", "chest"), "a18cr2": ("head", "chest"), "a17cr2": ("head", "chest"), "a14v2": ("head", "chest"), "a14cr3": ("head", "chest"), "a18cr4": ("head", "chest"), "a17cr4": ("head", "chest"), "a14cr5": ("head", "chest")} # 2026-11-14: 2-camera re-train (user)PLANNER = {"a14v2", "a14cr3", "a14cr5"} # tasks whose action adds action.planner (7) after body_target + hands (H2 guide a14 2.2)H2_GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29), "head": (29, 31), "left_hand": (31, 53), "right_hand": (53, 75)}
def h2_modality(info, cams=("head", "chest")): f = info["features"] names = f["observation.state"]["names"] assert len(names) == 75 and names[:31] == f["action.body_target"]["names"] and names[31:] == f["action.hands"]["names"] assert f["observation.projected_gravity"]["shape"] == [3] state = {g: {"original_key": "observation.state", "start": a, "end": b} for g, (a, b) in H2_GROUPS.items()} state["projected_gravity"] = {"original_key": "observation.projected_gravity", "start": 0, "end": 3} return {"state": state, "action": {"body_target": {"original_key": "action.body_target", "start": 0, "end": 31}, "left_hand_target": {"original_key": "action.hands", "start": 0, "end": 22}, "right_hand_target": {"original_key": "action.hands", "start": 22, "end": 44}}, "video": {c: {"original_key": f"observation.images.{c}"} for c in cams}, "annotation": {"human.task_description": {"original_key": "task_index"}}}BODY = ["left_hip_pitch_joint", "left_hip_roll_joint", "left_hip_yaw_joint", "left_knee_joint", "left_ankle_pitch_joint", "left_ankle_roll_joint", "right_hip_pitch_joint", "right_hip_roll_joint", "right_hip_yaw_joint", "right_knee_joint", "right_ankle_pitch_joint", "right_ankle_roll_joint", "waist_yaw_joint", "waist_roll_joint", "waist_pitch_joint", "left_shoulder_pitch_joint", "left_shoulder_roll_joint", "left_shoulder_yaw_joint", "left_elbow_joint", "left_wrist_roll_joint", "left_wrist_pitch_joint", "left_wrist_yaw_joint", "right_shoulder_pitch_joint", "right_shoulder_roll_joint", "right_shoulder_yaw_joint", "right_elbow_joint", "right_wrist_roll_joint", "right_wrist_pitch_joint", "right_wrist_yaw_joint"]GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29)}
def jl(path): return [json.loads(x) for x in Path(path).read_text().splitlines() if x.strip()]
def wl(path, rows): Path(path).write_text("".join(json.dumps(r) + "\n" for r in rows))
def build(task): src, limit = TASKS[task] info = json.loads((src / "meta/info.json").read_text()) names = info["features"]["observation.state"]["names"] if task in CONFIG: idx = list(range(31)) else: idx = [names.index(n) for n in BODY] for g, (a, b) in GROUPS.items(): assert idx[a:b] == list(range(idx[a], idx[a] + (b - a))), (task, g, idx[a:b]) for key, dim in (("action.motion_token", 64), ("observation.inspire_left_hand_state", 6), ("observation.inspire_right_hand_state", 6), ("observation.projected_gravity", 3), ("observation.images.ego_view", None), ("observation.images.chest", None)): assert key in info["features"], (task, key) if dim: assert info["features"][key]["shape"] == [dim], (task, key) episodes = jl(src / "meta/episodes.jsonl") stats = jl(src / "meta/episodes_stats.jsonl") n = len(episodes) if limit is None else limit episodes, stats = episodes[:n], stats[:n] assert [e["episode_index"] for e in episodes] == list(range(n)) == [s["episode_index"] for s in stats] frames = sum(int(e["length"]) for e in episodes) dst = OUT / task if dst.exists(): raise SystemExit(f"{dst} exists") (dst / "meta").mkdir(parents=True) vkeys = [k for k, f in info["features"].items() if f.get("dtype") == "video"] for e in episodes: i = e["episode_index"] chunk = i // int(info["chunks_size"]) rel = info["data_path"].format(episode_chunk=chunk, episode_index=i) (dst / rel).parent.mkdir(parents=True, exist_ok=True) os.symlink(src / rel, dst / rel) for k in vkeys: relv = info["video_path"].format(episode_chunk=chunk, video_key=k, episode_index=i) (dst / relv).parent.mkdir(parents=True, exist_ok=True) os.symlink(src / relv, dst / relv) if task in CONFIG: # stats.py computes stats for every low-dim feature in info.json and cannot handle e.g. observation.tactile # [10,24,24]; keep only what the H2 modality uses (parquet columns stay untouched behind the symlinks). keep = {"observation.state", "observation.projected_gravity", "action.body_target", "action.hands", "timestamp", "frame_index", "episode_index", "index", "task_index"} keep |= {f"observation.images.{c}" for c in CAMS[task]} keep |= {"action.planner"} if task in PLANNER else set() info["features"] = {k: v for k, v in info["features"].items() if k in keep} vkeys = [k for k in vkeys if k in keep] stats = [{**s, "stats": {k: v for k, v in s["stats"].items() if k in keep}} if "stats" in s else s for s in stats] info.update(total_episodes=n, total_frames=frames, total_videos=n * len(vkeys), total_chunks=(n - 1) // int(info["chunks_size"]) + 1, splits={"train": f"0:{n}"}) (dst / "meta/info.json").write_text(json.dumps(info, indent=2)) wl(dst / "meta/episodes.jsonl", episodes) wl(dst / "meta/episodes_stats.jsonl", stats) (dst / "meta/tasks.jsonl").write_text((src / "meta/tasks.jsonl").read_text()) if task in CONFIG: modality = h2_modality(info, CAMS[task]) if task in PLANNER: assert info["features"]["action.planner"]["shape"] == [7] modality["action"]["planner"] = {"original_key": "action.planner", "start": 0, "end": 7} else: state = {g: {"original_key": "observation.state", "start": idx[a], "end": idx[a] + (b - a)} for g, (a, b) in GROUPS.items()} state.update(left_hand={"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6}, right_hand={"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6}, projected_gravity={"original_key": "observation.projected_gravity", "start": 0, "end": 3}) modality = {"state": state, "action": {"motion_token": {"original_key": "action.motion_token", "start": 0, "end": 64}, "left_hand_joints": {"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6}, "right_hand_joints": {"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6}}, "video": {"ego_view": {"original_key": "observation.images.ego_view"}, "chest": {"original_key": "observation.images.chest"}}, "annotation": {"human.task_description": {"original_key": "task_index"}}} (dst / "meta/modality.json").write_text(json.dumps(modality, indent=2)) py = sys.executable src_g = G / "HumanWAM/third_party/Isaac-GR00T" env = dict(os.environ, PYTHONPATH=f"{src_g}:{H}") done = None for tag in ("NEW_EMBODIMENT", "new_embodiment"): r = subprocess.run([py, str(src_g / "gr00t/data/stats.py"), "--dataset-path", str(dst), "--embodiment-tag", tag, "--modality-config-path", str(H / CONFIG.get(task, "g1_feedback76_h16.py"))], env=env, cwd=src_g, capture_output=True, text=True) if r.returncode == 0: done = tag break last = r.stdout[-1500:] + r.stderr[-1500:] if done is None: raise SystemExit(f"stats failed for {task}:\n{last}") assert (dst / "meta/stats.json").is_file() receipt = dict(task=task, source=str(src), episodes=n, frames=frames, video_keys=vkeys, state_dim_raw=len(names), body_index=idx, stats_tag=done, modality_sha256=hashlib.sha256((dst / "meta/modality.json").read_bytes()).hexdigest(), stats_sha256=hashlib.sha256((dst / "meta/stats.json").read_bytes()).hexdigest()) (dst / "hb-dataset-receipt.json").write_text(json.dumps(receipt, indent=2) + "\n") print("DATASET_OK", json.dumps(receipt)[:400], flush=True)
for t in sys.argv[1:]: build(t)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127"""2026-11-18 user: GR00T joint47 experiment on B6 v5 (all 150 episodes of HF humanoid-benchmark/b6-pedal-bin v5/).
Aligned with HumanWAM joint47 v2 (docs/G1_JOINT_REFERENCE_DELTA.md, HumanWAM-joint @ bai-joint): action47 = body29 (measured observation.state, by joint name) | left Inspire6 | right Inspire6 (measured) | root rotation6D relative to the CURRENT heading (computed per sample in hb_j47.py).The parquet files get one extra column, action.root_rot6d_world = world-frame rotation6D ofobservation.root_orientation (wxyz), columns [R00,R10,R20,R01,R11,R21] (HumanWAM's own conversion with an identityanchor). Its normalization bounds are fixed to [-1, 1] (as in HumanWAM). Videos are symlinked; source data untouched.Usage: <groot python> prepare_groot_j47.py <src v5 dir> <dst dir>"""import hashlibimport importlib.utilimport jsonimport osimport subprocessimport sysfrom pathlib import Path
import numpy as npimport pyarrow as paimport pyarrow.parquet as pq
H = Path(__file__).resolve().parentG = H.parentP = G.parentspec = importlib.util.spec_from_file_location("jrr", P / "HumanWAM-joint/src/imagewam/joint_reference_rotation.py")jrr = importlib.util.module_from_spec(spec)spec.loader.exec_module(jrr)BODY = ["left_hip_pitch_joint", "left_hip_roll_joint", "left_hip_yaw_joint", "left_knee_joint", "left_ankle_pitch_joint", "left_ankle_roll_joint", "right_hip_pitch_joint", "right_hip_roll_joint", "right_hip_yaw_joint", "right_knee_joint", "right_ankle_pitch_joint", "right_ankle_roll_joint", "waist_yaw_joint", "waist_roll_joint", "waist_pitch_joint", "left_shoulder_pitch_joint", "left_shoulder_roll_joint", "left_shoulder_yaw_joint", "left_elbow_joint", "left_wrist_roll_joint", "left_wrist_pitch_joint", "left_wrist_yaw_joint", "right_shoulder_pitch_joint", "right_shoulder_roll_joint", "right_shoulder_yaw_joint", "right_elbow_joint", "right_wrist_roll_joint", "right_wrist_pitch_joint", "right_wrist_yaw_joint"]GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29)}ROT = "action.root_rot6d_world"IDENT = np.array([1.0, 0.0, 0.0, 0.0])
def jl(path): return [json.loads(x) for x in Path(path).read_text().splitlines() if x.strip()]
def wl(path, rows): Path(path).write_text("".join(json.dumps(r) + "\n" for r in rows))
def main(src, dst): src, dst = Path(src), Path(dst) info = json.loads((src / "meta/info.json").read_text()) f = info["features"] names = f["observation.state"]["names"] idx = [names.index(n) for n in BODY] assert idx == list(range(idx[0], idx[0] + 29)), idx # body29 contiguous in our G1 exports assert f["observation.root_orientation"]["shape"] == [4] for k in ("observation.inspire_left_hand_state", "observation.inspire_right_hand_state"): assert f[k]["shape"] == [6], k episodes = jl(src / "meta/episodes.jsonl") stats = jl(src / "meta/episodes_stats.jsonl") n = len(episodes) assert [e["episode_index"] for e in episodes] == list(range(n)) == [s["episode_index"] for s in stats] if dst.exists(): raise SystemExit(f"{dst} exists") (dst / "meta").mkdir(parents=True) vkeys = [k for k, v in f.items() if v.get("dtype") == "video"] frames = 0 for e, s in zip(episodes, stats): i = e["episode_index"] chunk = i // int(info["chunks_size"]) rel = info["data_path"].format(episode_chunk=chunk, episode_index=i) t = pq.read_table(src / rel) q = np.stack(t.column("observation.root_orientation").to_numpy(zero_copy_only=False)).astype(np.float64) r6 = jrr.world_quaternion_to_heading_relative_rotation6d(q, IDENT) # identity anchor = world frame assert r6.shape == (len(q), 6) and np.isfinite(r6).all() t = t.append_column(ROT, pa.array(list(r6.astype(np.float32)), type=pa.list_(pa.float32()))) (dst / rel).parent.mkdir(parents=True, exist_ok=True) pq.write_table(t, dst / rel) frames += len(q) s["stats"][ROT] = {"min": r6.min(0).tolist(), "max": r6.max(0).tolist(), "mean": r6.mean(0).tolist(), "std": r6.std(0).tolist(), "count": [len(q)]} for k in vkeys: relv = info["video_path"].format(episode_chunk=chunk, video_key=k, episode_index=i) (dst / relv).parent.mkdir(parents=True, exist_ok=True) os.symlink(src / relv, dst / relv) assert frames == sum(int(e["length"]) for e in episodes) f[ROT] = {"dtype": "float32", "shape": [6], "names": ["r00", "r10", "r20", "r01", "r11", "r21"]} info.update(total_episodes=n, total_frames=frames, total_videos=n * len(vkeys), splits={"train": f"0:{n}"}) (dst / "meta/info.json").write_text(json.dumps(info, indent=2)) wl(dst / "meta/episodes.jsonl", episodes) wl(dst / "meta/episodes_stats.jsonl", stats) (dst / "meta/tasks.jsonl").write_text((src / "meta/tasks.jsonl").read_text()) state = {g: {"original_key": "observation.state", "start": idx[a], "end": idx[a] + (b - a)} for g, (a, b) in GROUPS.items()} state.update(left_hand={"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6}, right_hand={"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6}, projected_gravity={"original_key": "observation.projected_gravity", "start": 0, "end": 3}) modality = {"state": state, "action": {"body29": {"original_key": "observation.state", "start": idx[0], "end": idx[0] + 29}, "left_hand_target": {"original_key": "observation.inspire_left_hand_state", "start": 0, "end": 6}, "right_hand_target": {"original_key": "observation.inspire_right_hand_state", "start": 0, "end": 6}, "root_rot6d": {"original_key": ROT, "start": 0, "end": 6}}, "video": {"ego_view": {"original_key": "observation.images.ego_view"}, "chest": {"original_key": "observation.images.chest"}}, "annotation": {"human.task_description": {"original_key": "task_index"}}} (dst / "meta/modality.json").write_text(json.dumps(modality, indent=2)) src_g = G / "HumanWAM/third_party/Isaac-GR00T" env = dict(os.environ, PYTHONPATH=f"{src_g}:{H}") r = subprocess.run([sys.executable, str(src_g / "gr00t/data/stats.py"), "--dataset-path", str(dst), "--embodiment-tag", "NEW_EMBODIMENT", "--modality-config-path", str(H / "g1_joint47_h40.py")], env=env, cwd=src_g, capture_output=True, text=True) if r.returncode: raise SystemExit("stats failed:\n" + r.stdout[-2000:] + r.stderr[-2000:]) st = json.loads((dst / "meta/stats.json").read_text()) fixed = {"mean": [0.0] * 6, "std": [1.0] * 6, "min": [-1.0] * 6, "max": [1.0] * 6, "q01": [-1.0] * 6, "q99": [1.0] * 6} st[ROT] = {k: fixed[k] for k in st.get(ROT, fixed)} if ROT in st else fixed (dst / "meta/stats.json").write_text(json.dumps(st, indent=2)) receipt = dict(task="b6v5j47", source=str(src), episodes=n, frames=frames, video_keys=vkeys, body_index=idx, action47="body29 | inspire_left6 | inspire_right6 | root_rot6d (current-heading relative, hb_j47.py)", action_delta_indices=list(range(0, 80, 2)), rot6d_bounds=[-1, 1], humanwam_rotation="HumanWAM-joint src/imagewam/joint_reference_rotation.py", modality_sha256=hashlib.sha256((dst / "meta/modality.json").read_bytes()).hexdigest(), stats_sha256=hashlib.sha256((dst / "meta/stats.json").read_bytes()).hexdigest()) (dst / "hb-dataset-receipt.json").write_text(json.dumps(receipt, indent=2) + "\n") print("DATASET_OK", json.dumps(receipt)[:600], flush=True)
main(sys.argv[1], sys.argv[2])123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566"""2026-11-18 user: upload the GR00T joint47 B6 v5 run (groot-runs-j47/b6v5j47) to the public humanoid-benchmark/grootunder b6-pedal-bin/joint47-v5-150/step-NNNNNN (the last two checkpoints, weights + processor + a protocol.json; nooptimizer / resume state), with the data receipt, modality, the training code and the logs; sha256-verified."""import hashlibimport jsonimport timefrom pathlib import Path
from huggingface_hub import CommitOperationAdd, HfApi
G = Path('/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109')R = G / 'groot-runs-j47/b6v5j47'D = G / 'groot-data/b6v5j47'H = G / 'hb_groot'REPO, BASE = 'humanoid-benchmark/groot', 'b6-pedal-bin/joint47-v5-150'FILES = ('config.json', 'model.safetensors.index.json', 'model-00001-of-00002.safetensors', 'model-00002-of-00002.safetensors', 'processor_config.json', 'statistics.json', 'embodiment_id.json', 'trainer_state.json')api = HfApi(token=Path('/root/.hb-secrets/hf_token').read_text().strip())
def sha(p): h = hashlib.sha256() with open(p, 'rb') as f: for b in iter(lambda: f.read(16 << 20), b''): h.update(b) return h.hexdigest()
done = json.loads((R / 'production-complete.json').read_text())receipt = json.loads((D / 'hb-dataset-receipt.json').read_text())ops, check = [], {}for step in (3500, 4000): ck = R / f'production/checkpoint-{step}' dst = f'{BASE}/step-{step:06d}' files = {n: dict(size=(ck / n).stat().st_size, sha256=sha(ck / n)) for n in FILES} proto = dict(model='GR00T N1.7 (Gr00tN1d7), full fine-tune (tune_llm, tune_visual)', task='B6 pedal-bin (G1)', task_dir=dst, robot='Unitree G1', global_step=step, epoch_completed=None, training_data='b6-pedal-bin v5/ (HF humanoid-benchmark/b6-pedal-bin @ad2f5bf0), all 150 episodes', episodes=receipt['episodes'], frames=receipt['frames'], action_contract='HumanWAM joint47 v2: body29 (measured joints) | Inspire left6 | right6 | root rotation6D ' 'relative to the current heading; 40 rows at offsets 0,2,...,78 (stride 2); execute 16', action_groups=dict(body29=29, left_hand_target=6, right_hand_target=6, root_rot6d=6), action_chunk=40, embodiment_tag='new_embodiment', state_groups=dict(left_leg=6, right_leg=6, waist=3, left_arm=7, right_arm=7, left_hand=6, right_hand=6, projected_gravity=3), cameras=['observation.images.ego_view', 'observation.images.chest'], training=done, augmentation='Humanoid Benchmark augmentation spec v2 + proprio perturbation (hb_aug_v2)', files=files, uploaded_utc=time.strftime('%FT%TZ', time.gmtime())) pj = R / f'protocol-{step}.json' pj.write_text(json.dumps(proto, indent=1)) check[dst] = files ops += [CommitOperationAdd(f'{dst}/{n}', str(ck / n)) for n in FILES] ops.append(CommitOperationAdd(f'{dst}/protocol.json', str(pj)))extra = {'dataset_meta/hb-dataset-receipt.json': D / 'hb-dataset-receipt.json', 'dataset_meta/modality.json': D / 'meta/modality.json', 'dataset_meta/info.json': D / 'meta/info.json', 'production-complete.json': R / 'production-complete.json', 'code/hb_j47.py': H / 'hb_j47.py', 'code/g1_joint47_h40.py': H / 'g1_joint47_h40.py', 'code/prepare_groot_j47.py': H / 'prepare_groot_j47.py', 'code/groot_quad16_j47.sh': H / 'groot_quad16_j47.sh', 'code/verify_j47_cpu.py': H / 'verify_j47_cpu.py', 'code/hb_launch.py': H / 'hb_launch.py', 'code/hb_aug_v2.py': H / 'hb_aug_v2.py', 'logs/production.log': R / 'logs/production.log'}ops += [CommitOperationAdd(f'{BASE}/{k}', str(v)) for k, v in extra.items() if Path(v).is_file()]c = api.create_commit(REPO, operations=ops, commit_message=f'{BASE}: GR00T joint47 on B6 v5 (150 episodes), steps 3500 and 4000')tree = {f.path: f for f in api.list_repo_tree(REPO, path_in_repo=BASE, recursive=True, expand=True) if hasattr(f, 'size')}bad = [f'{d}/{n}' for d, files in check.items() for n, v in files.items() if f'{d}/{n}' not in tree or tree[f'{d}/{n}'].size != v['size'] or (tree[f'{d}/{n}'].lfs is not None and tree[f'{d}/{n}'].lfs.sha256 != v['sha256'])]print('UPLOADED' if not bad else 'VERIFY_FAILED', c.oid, bad, flush=True)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657"""CPU check of the GR00T data path for one task view: loader shapes, v2 augmentation, processor patch import."""import jsonimport osimport sysfrom pathlib import Path
import numpy as npimport torch
H = Path(__file__).resolve().parentsys.path.insert(0, str(H))os.environ["HB_PATCH_ONLY"] = "1"import hb_launch # noqa: E402,F401 (applies the processor patch)import hb_aug_v2 as A # noqa: E402from gr00t.data.dataset.lerobot_episode_loader import LeRobotEpisodeLoader # noqa: E402from gr00t.model.gr00t_n1d7.processing_gr00t_n1d7 import Gr00tN1d7Processor # noqa: E402
view = Path(sys.argv[1])if view.name in ("a14v2", "a14cr3", "a14cr5"): # 2026-11-14 H2 guide: head + chest, action82 = body_target + hands + planner import h2_body31_hand44_planner7_h16 as C # noqa: E402 cfg = C.h2_body31_hand44_planner7_h16elif view.name in ("a18c2", "a17c2", "a18cr2", "a17cr2", "a18cr4", "a17cr4"): # 2026-11-14: H2 2-camera re-train (head + chest) import h2_body31_hand44_h16 as C # noqa: E402 cfg = next(v for k, v in vars(C).items() if isinstance(v, dict) and "video" in v)elif view.name in ("a14", "a18", "a17"): # every H2 task: 3 cameras head + chest + wrist (user 2026-11-12) import h2w3_body31_hand44_h16 as C # noqa: E402 cfg = C.h2w3_body31_hand44_h16else: import g1_feedback76_h16 as C # noqa: E402 cfg = C.feedback76_h16loader = LeRobotEpisodeLoader(view, cfg)df = loader[0]cols = list(df.columns)row = df.iloc[20]out = {"episodes": len(loader), "columns": cols[:40], "rows_ep0": len(df)}state_dims = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("state.")}action_dims = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("action.")}out.update(state_dims=state_dims, action_dims=action_dims, state_total=sum(state_dims.values()), action_total=sum(action_dims.values()))vids = [c for c in cols if c.startswith("video.")]imgs = [np.asarray(row[c]) for c in vids]out["video"] = {c: list(i.shape) for c, i in zip(vids, imgs)}x = torch.stack([torch.from_numpy(i).permute(2, 0, 1).float().div(255) for i in imgs])[None]rng = np.random.default_rng(0)boosts = {}for _ in range(60): y, p = A.augment(x, rng) boosts[p["boost"]] = boosts.get(p["boost"], 0) + 1 assert y.shape == x.shape and torch.isfinite(y).all() and float(y.min()) >= 0 and float(y.max()) <= 1out["aug_boost_counts_60"] = boostsout["mean_abs_change_last"] = round(float((y - x).abs().mean()), 4)q = np.zeros((1, 29))dq = A.perturb_joints(q, rng)out["proprio_max_abs_deg"] = round(float(np.degrees(np.abs(dq).max())), 3)out["patched"] = Gr00tN1d7Processor._get_vlm_inputs.__name__ == "_get_vlm_inputs" and \ Gr00tN1d7Processor.__call__.__module__ == "hb_launch"print("CPU_VERIFY", json.dumps(out), flush=True)1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859"""CPU check of the GR00T joint47 data path (2026-11-18): loader dims (state44, action47), the stride-2 chunk, thecurrent-heading root rotation (hb_j47 vs HumanWAM computed directly from the recorded quaternions), the processorpatches and the v2 augmentation. Usage: <groot python> verify_j47_cpu.py <groot-data/b6v5j47>"""import jsonimport osimport sysfrom pathlib import Path
import numpy as np
H = Path(__file__).resolve().parentsys.path.insert(0, str(H))os.environ["HB_PATCH_ONLY"] = "1"os.environ.setdefault("HB_J47_ROOT_KEY", "root_rot6d")import hb_launch # noqa: E402,F401 (applies the processor patches, incl. hb_j47)import hb_j47 # noqa: E402import hb_aug_v2 as A # noqa: E402import g1_joint47_h40 as C # noqa: E402from gr00t.data.dataset.lerobot_episode_loader import LeRobotEpisodeLoader # noqa: E402from gr00t.model.gr00t_n1d7.processing_gr00t_n1d7 import Gr00tN1d7Processor # noqa: E402import pyarrow.parquet as pq # noqa: E402
view = Path(sys.argv[1])cfg = C.g1_joint47_h40loader = LeRobotEpisodeLoader(view, cfg)out = {"episodes": len(loader)}ep = 3df = loader[ep]cols = list(df.columns)row = df.iloc[20]state = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("state.")}action = {c: int(np.asarray(row[c]).size) for c in cols if c.startswith("action.")}out.update(state_dims=state, action_dims=action, state_total=sum(state.values()), action_total=sum(action.values()))assert out["state_total"] == 44 and out["action_total"] == 47, outinfo = json.loads((view / "meta/info.json").read_text())assert not any("vel" in k for k in info["features"] if k.startswith("observation.state")), "velocity feature"t = 100offsets = cfg["action"].delta_indicesassert offsets == list(range(0, 80, 2))world6 = np.stack([np.asarray(df["action.root_rot6d"].iloc[t + k]) for k in offsets])rel = hb_j47.to_current_heading(world6)tab = pq.read_table(view / "data/chunk-000/episode_000003.parquet").to_pandas()q = np.stack(tab["observation.root_orientation"].to_numpy()).astype(np.float64)direct = hb_j47.jrr.world_quaternion_to_heading_relative_rotation6d(q[[t + k for k in offsets]], q[t])out["rot_max_abs_diff_vs_humanwam"] = float(np.abs(rel - direct).max())out["rot_row0_heading_deg"] = float(np.degrees(np.arctan2(rel[0, 1], rel[0, 0])))out["rot_range"] = [float(rel.min()), float(rel.max())]assert out["rot_max_abs_diff_vs_humanwam"] < 1e-5 and abs(out["rot_row0_heading_deg"]) < 1e-3body = np.stack([np.asarray(df["action.body29"].iloc[t + k]) for k in offsets])names = info["features"]["observation.state"]["names"]assert np.allclose(body[0], np.stack(tab["observation.state"].to_numpy())[t][names.index("left_hip_pitch_joint"):][:29])stats = json.loads((view / "meta/stats.json").read_text())out["rot_stats"] = {k: stats["action.root_rot6d_world"][k][:2] for k in ("min", "max")}rng = np.random.default_rng(0)dq = A.perturb_joints(np.zeros((1, 29)), rng)out["proprio_max_abs_deg"] = round(float(np.degrees(np.abs(dq).max())), 3)out["patched"] = Gr00tN1d7Processor.__call__.__module__ == "hb_j47" and Gr00tN1d7Processor._get_vlm_inputs.__name__ == "_get_vlm_inputs"assert out["patched"], "processor patches missing"print("J47_CPU_VERIFY_OK", json.dumps(out), flush=True)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990{ "action_horizon": 40, "add_pos_embed": true, "apply_sincos_state_encoding": false, "architectures": [ "Gr00tN1d7" ], "attn_dropout": 0.2, "attn_implementation": null, "backbone_embedding_dim": 2048, "backbone_trainable_params_fp32": true, "color_jitter_params": { "brightness": 0.3, "contrast": 0.4, "hue": 0.08, "saturation": 0.5 }, "crop_fraction": 0.95, "diffusion_model_cfg": { "attention_head_dim": 48, "dropout": 0.2, "final_dropout": true, "interleave_self_attention": true, "norm_type": "ada_norm", "num_attention_heads": 32, "num_layers": 32, "output_dim": 1024, "positional_embeddings": null }, "dtype": "bfloat16", "exclude_state": false, "formalize_language": true, "hidden_size": 1024, "image_crop_size": [ 230, 230 ], "image_target_size": [ 256, 256 ], "letter_box_transform": false, "load_bf16": false, "max_action_dim": 132, "max_num_embodiments": 32, "max_seq_len": 1024, "max_state_dim": 132, "model_dtype": "bfloat16", "model_name": "nvidia/Cosmos-Reason2-2B", "model_type": "Gr00tN1d7", "noise_beta_alpha": 1.5, "noise_beta_beta": 1.0, "noise_s": 0.999, "num_inference_timesteps": 4, "num_timestep_buckets": 1000, "random_history_crop": true, "random_rotation_angle": 0, "reproject_vision": false, "rtc_ramp_rate": 6.0, "select_layer": 16, "shortest_image_edge": 256, "state_dropout_prob": 0.2, "state_gaussian_noise_std": 0.0, "strict_action_padding_mask": false, "strict_vl_padding_mask": false, "transformers_version": "4.57.3", "tune_diffusion_model": true, "tune_linear": true, "tune_llm": true, "tune_projector": true, "tune_top_llm_layers": 0, "tune_visual": true, "tune_vlln": true, "use_albumentations": true, "use_alternate_vl_dit": true, "use_flash_attention": true, "use_future_tokens": false, "use_mean_std": false, "use_percentiles": true, "use_vl_self_attention": true, "use_vlln": true, "vl_self_attention_cfg": { "attention_head_dim": 64, "dropout": 0.2, "final_dropout": true, "num_attention_heads": 32, "num_layers": 4, "positional_embeddings": null }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "task": "a18cr4", "source": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/a18-pour-water-cropped-v4-73fd522/data", "episodes": 100, "frames": 48286, "video_keys": [ "observation.images.head", "observation.images.chest" ], "state_dim_raw": 75, "body_index": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 ], "stats_tag": "NEW_EMBODIMENT", "modality_sha256": "50d8651783c576fa6f531b1a1c11add620ba1cd3f5752543afd8bcf0b0590bb3", "stats_sha256": "12d983b51827cac0612959552b6abc84e61110ec53cae09c75ffc08bf1b8b20b"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879{ "state": { "left_leg": { "original_key": "observation.state", "start": 0, "end": 6 }, "right_leg": { "original_key": "observation.state", "start": 6, "end": 12 }, "waist": { "original_key": "observation.state", "start": 12, "end": 15 }, "left_arm": { "original_key": "observation.state", "start": 15, "end": 22 }, "right_arm": { "original_key": "observation.state", "start": 22, "end": 29 }, "head": { "original_key": "observation.state", "start": 29, "end": 31 }, "left_hand": { "original_key": "observation.state", "start": 31, "end": 53 }, "right_hand": { "original_key": "observation.state", "start": 53, "end": 75 }, "projected_gravity": { "original_key": "observation.projected_gravity", "start": 0, "end": 3 } }, "action": { "body_target": { "original_key": "action.body_target", "start": 0, "end": 31 }, "left_hand_target": { "original_key": "action.hands", "start": 0, "end": 22 }, "right_hand_target": { "original_key": "action.hands", "start": 22, "end": 44 } }, "video": { "head": { "original_key": "observation.images.head" }, "chest": { "original_key": "observation.images.chest" } }, "annotation": { "human.task_description": { "original_key": "task_index" } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "robocasa_panda_omron": 13, "oxe_droid": 17, "oxe_fractal": 18, "oxe_language_table": 19, "oxe_bridge": 20, "unknown": 22, "gr1_unified": 20, "agibot": 26, "sim_behavior_r1_pro": 23, "xdof": 24, "xdof_oss_data": 25, "unitree_g1_full_body_with_waist_height_nav_cmd": 25, "real_r1_pro_sharpa": 27, "real_r1_pro_sharpa_add_view": 27, "real_r1_pro_sharpa_relative_arm_joint": 26, "real_r1_pro_sharpa_delta_eef": 26, "real_r1_pro_sharpa_absolute_eef": 26, "real_r1_pro_sharpa_meanstd": 26, "real_r1_pro_sharpa_relative_eef": 26, "real_r1_pro_sharpa_relative_eef_add_view": 26, "real_r1_pro_sharpa_relative_eef_relative_hand": 26, "real_r1_pro_sharpa_relative_eef_human": 26, "real_r1_pro_sharpa_relative_eef_human_add_view": 26, "real_r1_pro_sharpa_relative_eef_human_relative_hand": 26, "real_r1_pro_sharpa_relative_eef_egodex": 26, "real_r1_pro_sharpa_relative_eef_egodex_relative_hand": 26, "real_r1_pro_sharpa_relative_eef_egodex_wrist_only": 26, "real_r1_pro_sharpa_relative_eef_maxinsights": 26, "real_r1_pro_sharpa_relative_eef_maxinsights_relative_hand": 26, "real_r1_pro_sharpa_relative_eef_mecka": 26, "real_r1_pro_sharpa_relative_eef_mecka_relative_hand": 26, "real_g1_relative_eef_absolute_joints": 25, "real_g1_relative_eef_absolute_joints_wrist_cam": 25, "real_g1_relative_eef_relative_joints": 25, "real_r1_pro_sharpa_relative_eef_relative_hand_relative_joint": 26, "real_r1_pro_sharpa_relative_joint": 29, "oxe_droid_relative_eef_relative_joint": 24, "oxe_droid_relative_eef_relative_joint_swapped": 24, "oxe_droid_relative_eef_relative_joint_upweight_z": 24, "oxe_droid_relative_eef_relative_joint_upweight_z_swapped": 24, "oxe_droid_relative_eef_relative_joint_3view": 24, "oxe_droid_relative_eef_relative_joint_3view_swapped": 24, "oxe_droid_relative_eef": 24, "oxe_droid_joint_position_relative": 24, "xdof_relative_eef_relative_joint": 27, "xdof_relative_eef_relative_joint_subtask": 27, "xdof_relative_eef": 27, "xdof_relative_joint": 28, "simpler_env_google": 0, "simpler_env_widowx": 1, "libero_sim": 2, "droid_sim": 3, "robocasa_gr1_tabletop": 10, "new_embodiment": 10, "unitree_g1_sonic": 11}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235load_config_path: nullmodel: model_type: Gr00tN1d7 model_dtype: bfloat16 model_name: nvidia/Cosmos-Reason2-2B backbone_model_type: qwen model_revision: null tune_top_llm_layers: 0 backbone_embedding_dim: 2048 tune_llm: true tune_visual: true select_layer: 12 reproject_vision: false use_flash_attention: true load_bf16: false backbone_trainable_params_fp32: true image_crop_size: - 230 - 230 image_target_size: - 256 - 256 shortest_image_edge: null crop_fraction: null random_rotation_angle: null color_jitter_params: null use_albumentations_transforms: true letter_box_transform: false extra_augmentation_config: null formalize_language: true apply_sincos_state_encoding: false use_percentiles: true use_relative_action: true max_state_dim: 132 max_action_dim: 132 action_horizon: 40 strict_action_padding_mask: null hidden_size: 1024 input_embedding_dim: 1536 state_history_length: 1 add_pos_embed: true attn_dropout: 0.2 use_vlln: true strict_vl_padding_mask: null max_seq_len: 1024 use_alternate_vl_dit: true attend_text_every_n_blocks: 2 diffusion_model_cfg: positional_embeddings: null num_layers: 16 num_attention_heads: 32 attention_head_dim: 48 norm_type: ada_norm dropout: 0.2 final_dropout: true output_dim: 1024 interleave_self_attention: true num_inference_timesteps: 4 noise_beta_alpha: 1.5 noise_beta_beta: 1.0 noise_s: 0.999 num_timestep_buckets: 1000 tune_projector: true tune_diffusion_model: true tune_vlln: true state_dropout_prob: 0.2 exclude_state: false use_mean_std: false max_num_embodiments: 32data: datasets: - dataset_paths: - /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-data/a18cr4 embodiment_tag: new_embodiment mix_ratio: 1.0 dataset_type: physical_embodiment val_dataset_path: null modality_configs: new_embodiment: video: delta_indices: - 0 modality_keys: - head - chest sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: null state: delta_indices: - 0 modality_keys: - left_leg - right_leg - waist - left_arm - right_arm - head - left_hand - right_hand - projected_gravity sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: null action: delta_indices: - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 modality_keys: - body_target - left_hand_target - right_hand_target sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: - rep: ABSOLUTE type: NON_EEF format: DEFAULT state_key: null - rep: ABSOLUTE type: NON_EEF format: DEFAULT state_key: null - rep: ABSOLUTE type: NON_EEF format: DEFAULT state_key: null language: delta_indices: - 0 modality_keys: - annotation.human.task_description sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: null download_cache: false shard_size: 1024 episode_sampling_rate: 0.1 num_shards_per_epoch: 100000 ds_weights_alpha: null override_pretraining_statistics: true mode: single_turn random_chop: 0.0 mock_dataset_mode: false shuffle: true seed: 42 multiprocessing_context: fork allow_padding: false subsample_ratio: 1.0 loader: fast fast_loader: decode_threads: 2 ffmpeg_threads: 1 shuffle_buffer: 0 min_fill: 0 image_crop_size: - 244 - 244 image_target_size: - 224 - 224training: output_dir: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-runs-2x32/a18cr4/production experiment_name: null max_steps: 4000 global_batch_size: 512 per_gpu_batch_size: null gradient_accumulation_steps: 1 learning_rate: 0.0001 lr_scheduler_type: cosine weight_decay: 1.0e-05 warmup_ratio: 0.05 warmup_steps: 0 max_grad_norm: 1.0 optim: adamw_torch start_from_checkpoint: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/models/groot-n17-base skip_weight_loading: false tf32: true fp16: false bf16: true eval_bf16: true logging_steps: 10 save_steps: 3200 save_total_limit: 2 save_vl_model: false save_only_model: false resume_from_checkpoint: false upload_checkpoints: false upload_every: 1000 upload_last_n_checkpoints: 5 max_concurrent_uploads: 2 eval_strategy: 'no' eval_steps: 500 eval_set_split_ratio: 0.1 eval_batch_size: 2 save_best_eval_metric_name: '' save_best_eval_metric_greater_is_better: true deepspeed_stage: 2 gradient_checkpointing: false transformers_trust_remote_code: true transformers_local_files_only: false transformers_cache_dir: null transformers_access_token: null use_ddp: false ddp_bucket_cap_mb: 100 num_gpus: 16 dataloader_num_workers: 8 remove_unused_columns: false use_wandb: false wandb_project: finetune-gr00t-n1d7 enable_profiling: false max_retries: 3 assert_loss_less_than: null add_rl_callback: false enable_open_loop_eval: false open_loop_eval_traj_ids: - 0 open_loop_eval_steps_per_traj: 100 open_loop_eval_plot_indices: nullmax_steps: 4000save_steps: 3200123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233load_config_path: nullmodel: model_type: Gr00tN1d7 model_dtype: bfloat16 model_name: nvidia/Cosmos-Reason2-2B backbone_model_type: qwen model_revision: null tune_top_llm_layers: 0 backbone_embedding_dim: 2048 tune_llm: true tune_visual: true select_layer: 12 reproject_vision: false use_flash_attention: true load_bf16: false backbone_trainable_params_fp32: true image_crop_size: - 230 - 230 image_target_size: - 256 - 256 shortest_image_edge: null crop_fraction: null random_rotation_angle: null color_jitter_params: null use_albumentations_transforms: true letter_box_transform: false extra_augmentation_config: null formalize_language: true apply_sincos_state_encoding: false use_percentiles: true use_relative_action: true max_state_dim: 132 max_action_dim: 132 action_horizon: 40 strict_action_padding_mask: null hidden_size: 1024 input_embedding_dim: 1536 state_history_length: 1 add_pos_embed: true attn_dropout: 0.2 use_vlln: true strict_vl_padding_mask: null max_seq_len: 1024 use_alternate_vl_dit: true attend_text_every_n_blocks: 2 diffusion_model_cfg: positional_embeddings: null num_layers: 16 num_attention_heads: 32 attention_head_dim: 48 norm_type: ada_norm dropout: 0.2 final_dropout: true output_dim: 1024 interleave_self_attention: true num_inference_timesteps: 4 noise_beta_alpha: 1.5 noise_beta_beta: 1.0 noise_s: 0.999 num_timestep_buckets: 1000 tune_projector: true tune_diffusion_model: true tune_vlln: true state_dropout_prob: 0.2 exclude_state: false use_mean_std: false max_num_embodiments: 32data: datasets: - dataset_paths: - /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-data/a18cr4 embodiment_tag: new_embodiment mix_ratio: 1.0 dataset_type: physical_embodiment val_dataset_path: null modality_configs: new_embodiment: video: delta_indices: - 0 modality_keys: - head - chest sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: null state: delta_indices: - 0 modality_keys: - left_leg - right_leg - waist - left_arm - right_arm - head - left_hand - right_hand - projected_gravity sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: null action: delta_indices: - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 modality_keys: - body_target - left_hand_target - right_hand_target sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: - rep: absolute type: non_eef format: default state_key: null - rep: absolute type: non_eef format: default state_key: null - rep: absolute type: non_eef format: default state_key: null language: delta_indices: - 0 modality_keys: - annotation.human.task_description sin_cos_embedding_keys: null mean_std_embedding_keys: null action_configs: null download_cache: false shard_size: 1024 episode_sampling_rate: 0.1 num_shards_per_epoch: 100000 ds_weights_alpha: null override_pretraining_statistics: true mode: single_turn random_chop: 0.0 mock_dataset_mode: false shuffle: true seed: 42 multiprocessing_context: fork allow_padding: false subsample_ratio: 1.0 loader: fast fast_loader: decode_threads: 2 ffmpeg_threads: 1 shuffle_buffer: 0 min_fill: 0 image_crop_size: - 244 - 244 image_target_size: - 224 - 224training: output_dir: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/groot-runs-2x32/a18cr4/production experiment_name: null max_steps: 4000 global_batch_size: 512 per_gpu_batch_size: null gradient_accumulation_steps: 1 learning_rate: 0.0001 lr_scheduler_type: cosine weight_decay: 1.0e-05 warmup_ratio: 0.05 warmup_steps: 0 max_grad_norm: 1.0 optim: adamw_torch start_from_checkpoint: /mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/models/groot-n17-base skip_weight_loading: false tf32: true fp16: false bf16: true eval_bf16: true logging_steps: 10 save_steps: 3200 save_total_limit: 2 save_vl_model: false save_only_model: false resume_from_checkpoint: false upload_checkpoints: false upload_every: 1000 upload_last_n_checkpoints: 5 max_concurrent_uploads: 2 eval_strategy: 'no' eval_steps: 500 eval_set_split_ratio: 0.1 eval_batch_size: 2 save_best_eval_metric_name: '' save_best_eval_metric_greater_is_better: true deepspeed_stage: 2 gradient_checkpointing: false transformers_trust_remote_code: true transformers_local_files_only: false transformers_cache_dir: null transformers_access_token: null use_ddp: false ddp_bucket_cap_mb: 100 num_gpus: 16 dataloader_num_workers: 8 remove_unused_columns: false use_wandb: false wandb_project: finetune-gr00t-n1d7 enable_profiling: false max_retries: 3 assert_loss_less_than: null add_rl_callback: false enable_open_loop_eval: false open_loop_eval_traj_ids: - 0 open_loop_eval_steps_per_traj: 100 open_loop_eval_plot_indices: null123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095{ "new_embodiment": { "state": { "left_leg": { "min": [ -0.12583781778812408, -0.03233915567398071, -0.12766100466251373, 0.12355858832597733, -0.06983537971973419, -0.25010767579078674 ], "max": [ 0.035650208592414856, 0.10629415512084961, 0.17557011544704437, 0.32769498229026794, 0.0809067115187645, -0.03284743055701256 ], "mean": [ -0.017870889976620674, 0.04103115573525429, 0.03561995178461075, 0.1561344414949417, 0.03909473866224289, -0.12065866589546204 ], "std": [ 0.02572062611579895, 0.013666770420968533, 0.039168767631053925, 0.019687309861183167, 0.020501120015978813, 0.012821594253182411 ], "q01": [ -0.09999538958072662, 0.0016423229651991277, -0.055538312718272205, 0.1302618622779846, -0.02023503025993705, -0.1500300295650959 ], "q99": [ 0.022652104962617166, 0.08721063621342187, 0.12651795446872716, 0.2417713530361654, 0.06783307418227195, -0.0851478692144155 ] }, "right_leg": { "min": [ -0.12295906990766525, -0.13229477405548096, -0.1533408761024475, 0.1465308964252472, -0.03606459125876427, -0.21855871379375458 ], "max": [ 0.04188062623143196, -1.1926664228667505e-05, 0.22257640957832336, 0.31865113973617554, 0.03910355642437935, -0.08754467964172363 ], "mean": [ -0.012306724674999714, -0.03308010473847389, 0.016875123605132103, 0.19867940247058868, -0.0026646277401596308, -0.14784708619117737 ], "std": [ 0.017172949388623238, 0.014461305923759937, 0.056691333651542664, 0.022872244939207954, 0.01238406915217638, 0.01638089492917061 ], "q01": [ -0.09625421389937401, -0.06488242447376251, -0.10234295837581157, 0.15135015398263932, -0.028622287418693305, -0.18905988112092018 ], "q99": [ 0.02376340227201582, -0.004643215239048004, 0.15155928581953068, 0.2650903016328812, 0.02588352710008622, -0.10894391089677809 ] }, "waist": { "min": [ -0.05953621491789818, -0.1087862029671669, -0.01577889733016491 ], "max": [ 0.06784578412771225, 0.030363162979483604, 0.09902483224868774 ], "mean": [ 0.009134332649409771, -0.01633387617766857, 0.03733411058783531 ], "std": [ 0.020388351753354073, 0.012022392824292183, 0.014860190451145172 ], "q01": [ -0.0468188064172864, -0.0500140318647027, -0.0029651974677108225 ], "q99": [ 0.04503096193075181, 0.012859392166137707, 0.06634792126715185 ] }, "left_arm": { "min": [ 0.05845891311764717, 0.025421474128961563, -0.3774237632751465, 0.9427529573440552, -0.193416565656662, -0.12422491610050201, 0.00011441537935752422 ], "max": [ 0.24996721744537354, 0.14023271203041077, 0.24500703811645508, 1.1965162754058838, 0.1962144374847412, 0.30692338943481445, 0.26775699853897095 ], "mean": [ 0.13416819274425507, 0.08077134937047958, -0.06407846510410309, 1.0518908500671387, -0.0008684548083692789, 0.13442477583885193, 0.13622531294822693 ], "std": [ 0.024938717484474182, 0.01868286170065403, 0.13067464530467987, 0.04846885427832589, 0.059196606278419495, 0.09558752924203873, 0.05714954063296318 ], "q01": [ 0.07939990274608136, 0.03651353139430284, -0.3331847220659256, 0.9673765748739243, -0.1497337117791176, -0.09819537550210952, 0.024355553556233644 ], "q99": [ 0.19078007340431213, 0.12294041626155376, 0.1836043097078802, 1.1788931369781495, 0.14621735438704497, 0.28849653154611593, 0.24889485016465188 ] }, "right_arm": { "min": [ -0.740268349647522, -0.3696679174900055, -0.6199629902839661, -0.4936543107032776, -0.09027265757322311, -0.1852821260690689, -0.9950985908508301 ], "max": [ 0.6624637246131897, 0.2637946307659149, 0.4765041768550873, 1.1365193128585815, 1.9407533407211304, 0.4451823830604553, 0.7307088375091553 ], "mean": [ -0.2821921408176422, -0.03911014273762703, -0.0684308111667633, 0.12240181118249893, 1.0305604934692383, 0.22217273712158203, -0.2536737620830536 ], "std": [ 0.35267210006713867, 0.10402021557092667, 0.2657703459262848, 0.3663259446620941, 0.48235517740249634, 0.1693713217973709, 0.3751569092273712 ], "q01": [ -0.7087076872587204, -0.28899273574352263, -0.5467090100049973, -0.4436552941799164, -0.08379769660532474, -0.12880912721157073, -0.9306648135185241 ], "q99": [ 0.5952199995517731, 0.19587584286928186, 0.4383174717426301, 1.0879891633987426, 1.7107888698577884, 0.43583585470914843, 0.6666626721620561 ] }, "head": { "min": [ 0.00010179156379308552, -0.27579498291015625 ], "max": [ 0.681303858757019, 0.12099187821149826 ], "mean": [ 0.6017116904258728, -0.010696756653487682 ], "std": [ 0.1305045485496521, 0.11213799566030502 ], "q01": [ 0.007335736905224622, -0.2467018820345402 ], "q99": [ 0.6551845610141754, 0.11158085204660893 ] }, "left_hand": { "min": [ 2.4212911853283003e-07, 1.991089675357216e-07, -2.484825699866633e-06, 1.5511126605360914e-07, -0.07711441069841385, -0.0014401556691154838, -0.001440082211047411, 1.1005147371179191e-07, -0.0014395025791600347, -0.15826088190078735, 4.014998822299276e-08, 3.3918841069180417e-08, -0.0014388926792889833, 2.7533292978887403e-08, -0.06904831528663635, 6.039757582954053e-09, 5.286712401186833e-09, 2.0993500271515586e-08, 4.5118535574317775e-09, -0.04190514609217644, 3.7183456313982788e-09, -0.00024513574317097664 ], "max": [ 0.001787454355508089, 0.0017886327113956213, 0.0001129926458816044, 0.00179005297832191, 0.07618467509746552, -1.8496356233299593e-06, -1.9247966065449873e-06, 0.0017915134085342288, -1.7791824120649835e-06, -0.00012538964801933616, 0.000348125264281407, 0.00034833172685466707, -1.6332217001036042e-06, 0.0003485499764792621, 0.002921103499829769, 6.412907532649115e-05, 6.415732786990702e-05, 0.0003487732319626957, 6.418681005015969e-05, 0.04411711171269417, 6.421708530979231e-05, 0.00032537104561924934 ], "mean": [ 0.0013080872595310211, 0.0013077378971502185, 9.937187314790208e-06, 0.0013076231116428971, 0.004237701650708914, -0.0009833183139562607, -0.0009834205266088247, 0.0013076503528282046, -0.0009824660373851657, -0.09819645434617996, 0.00026120725669898093, 0.0002612009702716023, -0.0009814483346417546, 0.0002611977106425911, -0.012096472084522247, 4.9267073336523026e-05, 4.926635665469803e-05, 0.00026119197718799114, 4.926595647702925e-05, 0.0006308777956292033, 4.926526889903471e-05, 2.3636208425159566e-05 ], "std": [ 0.00021114348783157766, 0.00021129718516021967, 1.881627758848481e-05, 0.00021130421373527497, 0.024014893919229507, 0.00029014982283115387, 0.00028984848177060485, 0.00021128002845216542, 0.00029026923584751785, 0.010626580566167831, 4.461252683540806e-05, 4.461065327632241e-05, 0.00029066481511108577, 4.461038042791188e-05, 0.013312598690390587, 9.000102181744296e-06, 8.999608326121233e-06, 4.46091107733082e-05, 8.999223609862383e-06, 0.009157830849289894, 8.998707926366478e-06, 4.037700637127273e-05 ], "q01": [ 0.0007058401679387316, 0.0007057231327053159, -1.0685277004540695e-06, 0.0007058134389808402, -0.05584111362695694, -0.0013960343261715026, -0.001395880477502942, 0.0007058849703753367, -0.0013957584102172404, -0.1299566775560379, 0.0001351639104541391, 0.0001351409919152502, -0.0013951524393633007, 0.0001351543207420036, -0.055841006152331826, 2.4440283868898405e-05, 2.4437014235445532e-05, 0.0001352032159047667, 2.44395281697507e-05, -0.021807194501161576, 2.4450060391245642e-05, -5.970273668935988e-05 ], "q99": [ 0.0016135250160004943, 0.0016133425757288934, 7.543045103375337e-05, 0.0016139373648911715, 0.04309833887964489, -0.00029879080830141897, -0.0002994542504893613, 0.0016141109575983138, -0.00029820921190548683, -0.08094041049480437, 0.00032039980433182794, 0.00032049269502749673, -0.000297130319813732, 0.00032051353045972066, 0.002322217740584165, 6.029373471392319e-05, 6.0296973788354084e-05, 0.0003206396839232184, 6.030235890648328e-05, 0.02662332179024817, 6.031232314853696e-05, 0.00012065319933753928 ] }, "right_hand": { "min": [ -0.0012902324087917805, -0.011018202640116215, -1.4729690747117274e-06, -0.008869198150932789, -0.0010071652941405773, -0.07318796217441559, -0.14104261994361877, -0.006404141429811716, -0.012594389729201794, -0.2601270377635956, -0.005105330143123865, -0.0029860667418688536, -0.000577878556214273, -0.004302919376641512, -0.003525838255882263, -0.0016964594833552837, -0.0017751255072653294, -0.004758988507091999, 1.0182914067513593e-08, -0.015183444134891033, -0.0019727651961147785, -0.0021971184760332108 ], "max": [ 0.38441139459609985, 0.7239128351211548, 0.041639670729637146, 0.6621608734130859, 0.7537245750427246, 0.01115428563207388, 0.003058104310184717, 0.5719240307807922, 0.0017499510431662202, -7.032280700514093e-05, 1.7278196811676025, 1.6268699169158936, 0.14201073348522186, 1.5546071529388428, 0.5080516338348389, 1.247752070426941, 1.182234525680542, 1.7132840156555176, 0.27388015389442444, 0.014602060429751873, 0.9894223809242249, 0.8894468545913696 ], "mean": [ 0.22700220346450806, 0.44945913553237915, 0.02486211247742176, 0.42884352803230286, 0.4722432792186737, -0.030071871355175972, -0.08696449548006058, 0.3590802848339081, -0.005051078740507364, -0.19058111310005188, 1.1061289310455322, 1.061237096786499, 0.0986994132399559, 1.0223230123519897, 0.3044039309024811, 0.8097880482673645, 0.7699334621429443, 1.1199613809585571, 0.18043513596057892, -0.004870201461017132, 0.6494978666305542, 0.5469232201576233 ], "std": [ 0.1512252390384674, 0.3051263988018036, 0.013020120561122894, 0.29205194115638733, 0.3391437232494354, 0.020761212334036827, 0.049570903182029724, 0.24475230276584625, 0.004006143659353256, 0.07095073163509369, 0.7182979583740234, 0.6810191869735718, 0.05383092537522316, 0.6787441968917847, 0.2323664426803589, 0.5299913883209229, 0.5029205679893494, 0.7372249364852905, 0.11913389712572098, 0.004684644751250744, 0.42549416422843933, 0.4162088930606842 ], "q01": [ -0.0009123073483351618, -0.009678104799240828, 7.525989349232987e-05, -0.007728068716824054, 0.009908561361953616, -0.07055415585637093, -0.13712073639035224, -0.0058626773301512, -0.010253542056307196, -0.25652148872613906, 0.00014079017491894775, 0.00013859871905879116, -0.0005503414140548557, 0.0001410665747243911, -0.003365580237004906, 2.4833680890878894e-05, 2.4844618837960298e-05, 0.00014122549109742976, 2.5349896714033093e-05, -0.012830213084816933, 2.5185503363900356e-05, 4.7044375969562685e-05 ], "q99": [ 0.3786625906825066, 0.7204765260219574, 0.040867738984525205, 0.6620279043912888, 0.7520529836416244, 0.007291203667409725, 0.002921149553731084, 0.5711283177137375, 0.0014675921585876497, -0.05771630983799696, 1.7102051317691802, 1.6164793789386749, 0.13970144912600518, 1.5543971061706543, 0.5041563123464584, 1.238808375597, 1.1764667749404907, 1.7113193273544312, 0.2737588882446289, 0.008674045046791442, 0.9886460989713669, 0.8872159868478775 ] }, "projected_gravity": { "min": [ -0.08454640954732895, -0.09825830906629562, -1.0 ], "max": [ 0.00796288251876831, 0.036943208426237106, -0.9915630221366882 ], "mean": [ -0.0273822583258152, -0.010844619944691658, -0.9997308254241943 ], "std": [ 0.011203846894204617, 0.010044725611805916, 0.0005078288959268673 ], "q01": [ -0.05144204180687666, -0.034923122636973856, -0.9999877214431763 ], "q99": [ 0.00038067445420895214, 0.019521526992321018, -0.9981713712215423 ] } }, "action": { "body_target": { "min": [ -0.1784663051366806, -0.13318756222724915, -0.1307600885629654, 0.0, -0.05743294209241867, -0.3024138808250427, -0.12985824048519135, -0.266737699508667, -0.15798582136631012, 0.0, -0.0613182857632637, -0.4162753224372864, -0.06568841636180878, -0.20634755492210388, -0.046035848557949066, 0.0, 0.0, -0.40408286452293396, 0.0, -0.19912302494049072, -0.156949982047081, 0.0, -0.7415577173233032, -0.37339621782302856, -0.6357685327529907, -0.4724564254283905, -0.1029481366276741, -0.1933467984199524, -0.99897301197052, 0.0, -0.2813774645328522 ], "max": [ 0.041423577815294266, 0.24960044026374817, 0.17349489033222198, 0.3818897604942322, 0.09517528861761093, 0.33370673656463623, 0.08997327834367752, 0.1119127869606018, 0.2282232642173767, 0.3609016537666321, 0.020472919568419456, 0.19194680452346802, 0.0703074038028717, 0.03062274493277073, 0.16752633452415466, 0.2617945075035095, 0.21634480357170105, 0.2762379050254822, 1.1804041862487793, 0.20910896360874176, 0.33972981572151184, 0.28348755836486816, 0.5959668159484863, 0.2764294743537903, 0.4788244366645813, 1.1417303085327148, 1.9401861429214478, 0.4363322854042053, 0.737479031085968, 0.6173598170280457, 0.12206494063138962 ], "mean": [ -0.030051816254854202, 0.05024973303079605, 0.03572675585746765, 0.1501024216413498, 0.058944251388311386, -0.14816345274448395, 0.003610876388847828, -0.02880794182419777, 0.01749570108950138, 0.22147707641124725, -0.02965436689555645, -0.012496918439865112, 0.010690086521208286, -0.056989848613739014, 0.04022838547825813, 0.1280229091644287, 0.11877351254224777, -0.06157314404845238, 0.9895438551902771, 0.00484495609998703, 0.12069468200206757, 0.1439291089773178, -0.28135326504707336, -0.04147837683558464, -0.06640521436929703, 0.12113387882709503, 1.0293529033660889, 0.2234276980161667, -0.2550772428512573, 0.5593689680099487, -0.010800926014780998 ], "std": [ 0.03770485520362854, 0.03721356764435768, 0.03960088640451431, 0.034421928226947784, 0.01963265985250473, 0.06224161386489868, 0.02599630318582058, 0.03456320986151695, 0.057991016656160355, 0.03259905427694321, 0.00952195841819048, 0.061792295426130295, 0.01675856113433838, 0.03276563808321953, 0.03095163032412529, 0.03266521915793419, 0.01815095916390419, 0.13639263808727264, 0.07645058631896973, 0.05958252027630806, 0.10852807015180588, 0.058919746428728104, 0.34827470779418945, 0.10472775995731354, 0.26556625962257385, 0.3591618537902832, 0.4825754463672638, 0.1728745847940445, 0.37743526697158813, 0.11730767041444778, 0.11343686282634735 ], "q01": [ -0.13692028149962426, -0.026333540212363005, -0.055543409846723076, 0.09620229490101337, -0.008079840568825603, -0.24119506776332855, -0.08542957231402397, -0.14085791036486625, -0.10399084575474263, 0.15087671130895614, -0.048902446404099464, -0.14996889233589172, -0.038257832266390325, -0.14093489944934845, -0.018314987886697054, 0.06269484721124172, 0.07744658514857292, -0.34543636739253997, 0.8889697909355163, -0.14339980930089952, -0.11916890069842338, 0.0035293573164381087, -0.7083625376224518, -0.2913244917988777, -0.5518588930368423, -0.4238057404756546, -0.08911882676184177, -0.13964079618453978, -0.9340196698904037, 0.0, -0.24933139681816102 ], "q99": [ 0.022994470875710254, 0.17625828683376313, 0.1278269417583943, 0.2469852589070797, 0.08085095882415771, 0.05957781076431292, 0.05247546117752791, 0.04053239710628994, 0.15364743247628215, 0.30232658386230477, 1.1285402160865488e-05, 0.11045954748988163, 0.04482385329902174, 0.0001141978929808829, 0.1287701524794102, 0.22670271173119547, 0.15654578581452375, 0.19595804288983354, 1.1436788678169252, 0.15254002287983895, 0.3096323043107987, 0.25991049706935887, 0.5410945832729341, 0.18933680802583694, 0.43945783078670503, 1.0810863375663757, 1.7024506270885473, 0.4363322854042053, 0.6675200462341313, 0.6078204780817031, 0.11248975619673729 ] }, "left_hand_target": { "min": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ], "max": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ], "mean": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ], "std": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ], "q01": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ], "q99": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] }, "right_hand_target": { "min": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2870999872684479, 0.0, -0.01590000092983246, -0.17630000412464142, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.006200000178068876, 0.0, 0.0 ], "max": [ 0.3626999855041504, 0.777400016784668, 0.04019999876618385, 0.6610000133514404, 0.7699999809265137, 0.07270000129938126, 0.0, 0.5733000040054321, 0.0, 0.0, 1.745300054550171, 1.745300054550171, 0.12300000339746475, 1.5556999444961548, 0.5410000085830688, 1.2592999935150146, 1.2130999565124512, 1.745300054550171, 0.27469998598098755, 0.0, 1.0023000240325928, 0.8996000289916992 ], "mean": [ 0.23311227560043335, 0.5075112581253052, 0.027332361787557602, 0.4304537773132324, 0.47916191816329956, 0.05346068739891052, -0.2110493779182434, 0.3725101053714752, -0.011689547449350357, -0.12957698106765747, 1.1581250429153442, 1.1609238386154175, 0.0904381200671196, 1.0232245922088623, 0.33386003971099854, 0.8339933753013611, 0.803479790687561, 1.1518824100494385, 0.18253453075885773, -0.004556608386337757, 0.6638030409812927, 0.5583323836326599 ], "std": [ 0.16118010878562927, 0.3421470522880554, 0.017140937969088554, 0.29135942459106445, 0.3673906922340393, 0.030671562999486923, 0.12116822600364685, 0.25298619270324707, 0.006708697881549597, 0.0743815079331398, 0.7617694735527039, 0.7596644759178162, 0.0518973246216774, 0.6820929050445557, 0.2571856379508972, 0.5507691502571106, 0.5307044982910156, 0.764441728591919, 0.11973104625940323, 0.0026160618290305138, 0.43833377957344055, 0.426772803068161 ], "q01": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2870999872684479, 0.0, -0.01590000092983246, -0.17630000412464142, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.006200000178068876, 0.0, 0.0 ], "q99": [ 0.3626999855041504, 0.777400016784668, 0.04019999876618385, 0.6610000133514404, 0.7699999809265137, 0.07270000129938126, 0.0, 0.5733000040054321, 0.0, 0.0, 1.745300054550171, 1.745300054550171, 0.12300000339746475, 1.5556999444961548, 0.5410000085830688, 1.2592999935150146, 1.2130999565124512, 1.745300054550171, 0.27469998598098755, 0.0, 1.0023000240325928, 0.8996000289916992 ] } }, "relative_action": {} }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ "model_type": "Gr00tN1d7", "model_dtype": "bfloat16", "model_name": "nvidia/Cosmos-Reason2-2B", "backbone_model_type": "qwen", "model_revision": null, "tune_top_llm_layers": 0, "backbone_embedding_dim": 2048, "tune_llm": true, "tune_visual": true, "select_layer": 16, "reproject_vision": false, "use_flash_attention": true, "load_bf16": false, "backbone_trainable_params_fp32": true, "letter_box_transform": false, "extra_augmentation_config": null, "apply_sincos_state_encoding": false, "use_percentiles": true, "use_relative_action": false, "max_state_dim": 132, "max_action_dim": 132, "action_horizon": 40, "strict_action_padding_mask": false, "hidden_size": 1024, "input_embedding_dim": 1536, "state_history_length": 1, "add_pos_embed": true, "attn_dropout": 0.2, "use_vlln": true, "strict_vl_padding_mask": false, "max_seq_len": 1024, "use_alternate_vl_dit": true, "attend_text_every_n_blocks": 2, "diffusion_model_cfg": { "attention_head_dim": 48, "dropout": 0.2, "final_dropout": true, "interleave_self_attention": true, "norm_type": "ada_norm", "num_attention_heads": 32, "num_layers": 32, "output_dim": 1024, "positional_embeddings": null }, "num_inference_timesteps": 4, "noise_beta_alpha": 1.5, "noise_beta_beta": 1.0, "noise_s": 0.999, "num_timestep_buckets": 1000, "tune_projector": true, "tune_diffusion_model": true, "tune_vlln": true, "state_dropout_prob": 0.2, "exclude_state": false, "use_mean_std": false, "max_num_embodiments": 32}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401step,loss,learning_rate,grad_norm10,1.3765,4.5e-06,0.3262054324150085420,1.3632,9.5e-06,0.329892307519912730,1.2404,1.45e-05,0.641331434249877940,1.1163,1.9500000000000003e-05,0.607990920543670750,1.0679,2.45e-05,0.447342425584793160,1.0532,2.95e-05,0.3273098468780517670,1.0415,3.45e-05,0.51526355743408280,1.0348,3.9500000000000005e-05,0.25011000037193390,1.0285,4.4500000000000004e-05,0.34482672810554504100,1.026,4.9500000000000004e-05,0.25345009565353394110,1.0254,5.45e-05,0.2569319009780884120,1.032,5.95e-05,7.907296180725098130,1.0346,6.450000000000001e-05,0.6025940775871277140,0.9824,6.95e-05,0.4961335062980652150,0.9043,7.450000000000001e-05,0.7321252822875977160,0.8581,7.950000000000001e-05,0.6651201248168945170,0.7993,8.450000000000001e-05,0.8451042175292969180,0.7504,8.950000000000001e-05,0.980968713760376190,0.692,9.449999999999999e-05,0.9580011367797852200,0.661,9.95e-05,0.7699357271194458210,0.6257,9.999861593790126e-05,0.8678083419799805220,0.5993,9.999383162408304e-05,0.7736668586730957230,0.568,9.998563029828259e-05,0.8655011653900146240,0.5402,9.997401252104962e-05,1.0439728498458862250,0.5174,9.995897908644378e-05,0.7830820083618164260,0.4959,9.994053102198034e-05,0.9758726954460144270,0.4901,9.991866958856003e-05,1.0229922533035278280,0.4641,9.989339628038276e-05,1.1143457889556885290,0.4561,9.98647128248456e-05,0.9636990427970886300,0.4261,9.98326211824246e-05,1.0024629831314087310,0.4159,9.979712354654091e-05,0.9374122619628906320,0.3861,9.975822234341079e-05,1.1993377208709717330,0.3766,9.97159202318798e-05,0.8988510370254517340,0.362,9.967022010324105e-05,1.0697126388549805350,0.3419,9.962112508103765e-05,0.9973570704460144360,0.332,9.956863852084914e-05,1.0317833423614502370,0.3249,9.951276401006221e-05,1.0794798135757446380,0.3025,9.945350536762543e-05,1.121736764907837390,0.2939,9.939086664378829e-05,1.0193125009536743400,0.2788,9.932485211982437e-05,1.1548352241516113410,0.2755,9.92554663077387e-05,1.323782205581665420,0.2598,9.918271394995935e-05,1.0071784257888794430,0.2509,9.910660001901335e-05,1.0843613147735596440,0.237,9.902712971718675e-05,1.6622120141983032450,0.2282,9.894430847616915e-05,1.0596376657485962460,0.2188,9.885814195668232e-05,1.272813081741333470,0.21,9.876863604809344e-05,1.0933762788772583480,0.1932,9.867579686801245e-05,1.1667945384979248490,0.1788,9.8579630761874e-05,1.3116661310195923500,0.1674,9.848014430250367e-05,1.1357214450836182510,0.1645,9.837734428966885e-05,1.2520039081573486520,0.1482,9.827123774961383e-05,0.9550996422767639530,0.1455,9.816183193457968e-05,1.1132701635360718540,0.1324,9.804913432230856e-05,1.0472990274429321550,0.1231,9.793315261553252e-05,1.0196349620819092560,0.1115,9.781389474144717e-05,1.2829407453536987570,0.1056,9.76913688511698e-05,1.1606614589691162580,0.104,9.756558331918227e-05,0.9717316627502441590,0.1052,9.743654674275855e-05,1.0465946197509766600,0.1077,9.730426794137727e-05,1.0735676288604736610,0.1096,9.716875595611879e-05,1.0136514902114868620,0.092,9.703002004904729e-05,1.0720583200454712630,0.0822,9.688806970257773e-05,1.1171406507492065640,0.0858,9.674291461882774e-05,1.1283745765686035650,0.0887,9.659456471895445e-05,1.0796915292739868660,0.0873,9.644303014247648e-05,0.9289243817329407670,0.1037,9.628832124658085e-05,1.132864236831665680,0.0904,9.613044860541507e-05,1.0259928703308105690,0.0847,9.596942300936445e-05,0.9560890793800354700,0.0864,9.580525546431459e-05,1.0658761262893677710,0.0957,9.563795719089911e-05,1.1861670017242432720,0.081,9.546753962373281e-05,0.8901125192642212730,0.0829,9.529401441062997e-05,1.014847755432129740,0.0713,9.511739341180842e-05,1.0410162210464478750,0.0812,9.493768869907886e-05,1.0705982446670532760,0.0707,9.475491255501968e-05,1.0763182640075684770,0.0756,9.456907747213748e-05,0.9588682651519775780,0.0745,9.438019615201336e-05,0.8811067938804626790,0.0705,9.418828150443469e-05,0.7940196990966797800,0.0785,9.399334664651262e-05,0.9194681644439697810,0.0785,9.379540490178581e-05,0.8838341236114502820,0.0746,9.359446979930955e-05,1.0669935941696167830,0.0756,9.33905550727312e-05,0.9901074171066284840,0.0697,9.318367465935142e-05,0.9576806426048279850,0.0805,9.29738426991717e-05,0.9806011319160461860,0.0714,9.276107353392774e-05,1.0145245790481567870,0.0717,9.254538170610938e-05,0.8379557132720947880,0.0651,9.232678195796654e-05,0.8413605093955994890,0.0625,9.210528923050164e-05,0.8873197436332703900,0.0757,9.188091866244834e-05,0.8460344076156616910,0.06,9.165368558923695e-05,0.998616635799408920,0.0698,9.142360554194618e-05,0.9088504910469055930,0.0637,9.119069424624163e-05,1.040298342704773940,0.0606,9.0954967621301e-05,1.0152078866958618950,0.0725,9.071644177872594e-05,0.829616367816925960,0.0572,9.047513302144095e-05,0.9796316027641296970,0.0596,9.023105784257906e-05,0.8483306169509888980,0.0648,8.998423292435454e-05,1.0917550325393677990,0.0671,8.973467513692265e-05,0.909219503402711000,0.0628,8.94824015372267e-05,0.99131792783737181010,0.0581,8.922742936783207e-05,0.81222027540206911020,0.0605,8.896977605574788e-05,1.04840338230133061030,0.0608,8.870945921123576e-05,0.83889037370681761040,0.0624,8.844649662660624e-05,0.9208779931068421050,0.0552,8.818090627500266e-05,0.97762775421142581060,0.0701,8.791270630917275e-05,0.8083148598670961070,0.0622,8.764191506022795e-05,0.86227566003799441080,0.0621,8.736855103639037e-05,0.93712496757507321090,0.0485,8.709263292172794e-05,0.86231905221939091100,0.0575,8.681417957487729e-05,0.98487323522567751110,0.0618,8.653321002775478e-05,0.87565088272094731120,0.0601,8.624974348425574e-05,0.90211600065231321130,0.0643,8.596379931894188e-05,0.72116219997406011140,0.0629,8.567539707571703e-05,0.82007622718811041150,0.0601,8.538455646649146e-05,0.96577513217926031160,0.0576,8.509129736983446e-05,0.87307769060134891170,0.0548,8.479563982961571e-05,0.9060146212577821180,0.0554,8.449760405363539e-05,0.8358470201492311190,0.0557,8.419721041224287e-05,0.91479295492172241200,0.0594,8.389447943694451e-05,0.83415132761001591210,0.0581,8.358943181900032e-05,0.88857620954513551220,0.0508,8.328208840800981e-05,0.83228898048400881230,0.0569,8.297247021048686e-05,1.06845247745513921240,0.0513,8.266059838842396e-05,0.69477891921997071250,0.0571,8.23464942578459e-05,0.87246483564376831260,0.0507,8.203017928735277e-05,0.69453191757202151270,0.0579,8.17116750966526e-05,1.0386294126510621280,0.0551,8.139100345508377e-05,0.76801937818527221290,0.0579,8.106818628012697e-05,0.99229371547698971300,0.0536,8.074324563590736e-05,0.83495098352432251310,0.0505,8.041620373168628e-05,0.84656745195388791320,0.0562,8.008708292034349e-05,0.78176516294479371330,0.0476,7.975590569684925e-05,0.91212010383605961340,0.0509,7.942269469672687e-05,0.79582899808883671350,0.0454,7.908747269450558e-05,0.9619082212448121360,0.0486,7.875026260216393e-05,0.75300621986389161370,0.0406,7.841108746756382e-05,0.737839400768281380,0.046,7.806997047287516e-05,0.76459592580795291390,0.0432,7.772693493299138e-05,0.94856309890747071400,0.0511,7.7382004293936e-05,0.88384169340133671410,0.042,7.703520213126e-05,0.73873066902160641420,0.0507,7.66865521484305e-05,0.78100132942199711430,0.0469,7.633607817521074e-05,0.75229042768478391440,0.0468,7.598380416603119e-05,0.82684952020645141450,0.0497,7.562975419835247e-05,0.66934078931808471460,0.0457,7.527395247101956e-05,0.77461093664169311470,0.0471,7.491642330260789e-05,0.85410058498382571480,0.0516,7.45571911297612e-05,0.79986476898193361490,0.0425,7.419628050552131e-05,0.83982241153717041500,0.056,7.383371609764999e-05,0.92939972877502441510,0.0455,7.346952268694288e-05,0.94587582349777221520,0.0469,7.310372516553585e-05,0.96693348884582521530,0.0475,7.273634853520356e-05,0.77835583686828611540,0.0539,7.236741790565072e-05,0.80228358507156371550,0.0494,7.199695849279576e-05,0.75131851434707641560,0.0452,7.162499561704747e-05,0.7580741643905641570,0.0421,7.125155470157429e-05,0.74158596992492681580,0.0405,7.087666127056675e-05,0.68403482437133791590,0.0442,7.050034094749286e-05,0.85297811031341551600,0.0433,7.012261945334683e-05,0.80345898866653441610,0.0377,6.974352260489103e-05,0.77169501781463621620,0.0361,6.936307631289148e-05,0.66091883182525631630,0.038,6.898130658034685e-05,0.64129114151000981640,0.0404,6.859823950071127e-05,0.84445542097091671650,0.0459,6.821390125611078e-05,0.80622404813766481660,0.0334,6.782831811555385e-05,0.81571435928344731670,0.0408,6.744151643313597e-05,0.76129329204559331680,0.0437,6.705352264623828e-05,0.92004078626632691690,0.0451,6.666436327372078e-05,0.75221329927444461700,0.0399,6.62740649141096e-05,0.74407643079757691710,0.0391,6.588265424377919e-05,0.75173240900039671720,0.0435,6.549015801512895e-05,0.76492291688919071730,0.041,6.509660305475468e-05,0.70509701967239381740,0.036,6.47020162616152e-05,0.60798335075378421750,0.0397,6.430642460519365e-05,0.89618879556655881760,0.0445,6.390985512365426e-05,0.77877885103225711770,0.0409,6.351233492199431e-05,0.79257822036743161780,0.0383,6.311389117019155e-05,0.72349357604980471790,0.0456,6.271455110134713e-05,0.71215254068374631800,0.0393,6.231434200982428e-05,0.67022567987442021810,0.038,6.191329124938285e-05,0.92828720808029171820,0.0351,6.15114262313095e-05,0.63300019502639771830,0.0349,6.110877442254444e-05,0.7087360024452211840,0.0353,6.0705363343803946e-05,0.7404344677925111850,0.0353,6.030122056769934e-05,0.64331442117691041860,0.0412,5.989637371685257e-05,0.7277203202247621870,0.0403,5.949085046200808e-05,0.61822462081909181880,0.0322,5.908467852014169e-05,0.70502489805221561890,0.0321,5.867788565256607e-05,0.69272738695144651900,0.0447,5.827049966303335e-05,0.75687402486801151910,0.0399,5.786254839583478e-05,0.7788555622100831920,0.0364,5.745405973389757e-05,0.9357100725173951930,0.0379,5.7045061596879134e-05,0.67148166894912721940,0.0364,5.6635581939258855e-05,0.86094862222671511950,0.037,5.622564874842742e-05,0.73330557346343991960,0.0302,5.5815290042773836e-05,0.75931864976882931970,0.0382,5.540453386977058e-05,0.68782299757003781980,0.0444,5.4993408304056425e-05,0.69859820604324341990,0.0327,5.458194144551768e-05,0.67751413583755492000,0.03,5.417016141736756e-05,0.7124111056327822010,0.029,5.375809636422399e-05,0.59591531753540042020,0.0344,5.334577445018599e-05,0.72712570428848272030,0.0371,5.293322385690867e-05,0.66676163673400882040,0.0396,5.252047278167709e-05,0.56725180149078372050,0.0335,5.210754943547893e-05,0.63310521841049192060,0.0297,5.169448204107643e-05,0.67208689451217652070,0.0299,5.128129883107729e-05,0.59795409440994262080,0.0274,5.086802804600505e-05,0.54101955890655522090,0.0294,5.045469793236892e-05,0.48801818490028382100,0.0283,5.00413367407331e-05,0.59175670146942142110,0.029,4.9627972723785964e-05,0.70391303300857542120,0.0275,4.921463413440898e-05,0.58627629280090332130,0.031,4.8801349223745654e-05,0.62829029560089112140,0.0314,4.838814623927067e-05,0.66032451391220092150,0.0387,4.797505342285912e-05,0.71337771415710452160,0.0305,4.756209900885628e-05,0.54251760244369512170,0.0271,4.714931122214781e-05,0.5051205754280092180,0.0342,4.673671827623058e-05,0.93493026494979862190,0.0289,4.632434837128443e-05,0.70713168382644652200,0.0297,4.591222969224453e-05,0.59707438945770262210,0.0272,4.550039040687518e-05,0.58895426988601682220,0.0267,4.508885866384446e-05,0.55320096015930182230,0.0318,4.4677662590800355e-05,0.67062157392501832240,0.0262,4.426683029244825e-05,0.56765294075012212250,0.0324,4.385638984863e-05,0.61735409498214722260,0.0309,4.3446369312404745e-05,0.67440497875213622270,0.0268,4.3036796708131474e-05,0.54766190052032472280,0.033,4.262770002955363e-05,0.67964369058609012290,0.0299,4.221910723788578e-05,0.66371399164199832300,0.0251,4.1811046259902474e-05,0.55904591083526612310,0.0355,4.140354498602952e-05,0.53781938552856452320,0.0249,4.099663126843769e-05,0.62568271160125732330,0.0357,4.059033291913902e-05,0.67200255393981932340,0.0268,4.0184677708086014e-05,0.59331834316253662350,0.0322,3.977969336127348e-05,0.60782343149185182360,0.0268,3.937540755884357e-05,0.59832966327667242370,0.0278,3.897184793319384e-05,0.62819832563400272380,0.0253,3.856904206708863e-05,0.67075014114379882390,0.0312,3.8167017491773847e-05,0.66473418474197392400,0.0316,3.776580168509516e-05,0.82757508754730222410,0.0255,3.736542206962e-05,0.58737403154373172420,0.0265,3.696590601076326e-05,0.63407677412033082430,0.0247,3.656728081491686e-05,0.6418451666831972440,0.0288,3.6169573727583405e-05,0.6033893227577212450,0.0254,3.5772811931514036e-05,0.51624077558517462460,0.0308,3.5377022544850505e-05,0.62724363803863532470,0.0266,3.498223261927158e-05,0.72910922765731812480,0.0274,3.4588469138144295e-05,0.62413883209228522490,0.0216,3.419575901467952e-05,0.64761507511138922500,0.0293,3.380412909009254e-05,0.53284293413162232510,0.027,3.3413606131768475e-05,0.60654449462890622520,0.0249,3.302421683143279e-05,0.453798919916152952530,0.0222,3.2635987803326896e-05,0.45486307144165042540,0.0278,3.224894558238918e-05,0.53522986173629762550,0.0323,3.18631166224413e-05,0.54911506175994872560,0.0269,3.147852729438017e-05,0.64218950271606452570,0.0248,3.109520388437548e-05,0.494339317083358762580,0.0273,3.0713172592073116e-05,0.57059234380722052590,0.0272,3.0332459528804457e-05,0.62413495779037482600,0.0241,2.9953090715801634e-05,0.56519240140914922610,0.0227,2.9575092082419086e-05,0.53841167688369752620,0.0247,2.9198489464361288e-05,0.5097117424011232630,0.0221,2.8823308601916948e-05,0.492700159549713132640,0.0203,2.8449575138199613e-05,0.51386278867721562650,0.0263,2.807731461739509e-05,0.60827660560607912660,0.0346,2.7706552483015485e-05,0.60134184360504152670,0.0275,2.733731407616018e-05,0.464140295982360842680,0.0296,2.6969624633783806e-05,0.56260883808135992690,0.0236,2.660350928697134e-05,0.6466441154479982700,0.0278,2.6238993059220395e-05,0.51994663476943972710,0.0259,2.5876100864730933e-05,0.47009858489036562720,0.0236,2.5514857506702405e-05,0.4609850049018862730,0.0245,2.5155287675638474e-05,0.50585758686065672740,0.0251,2.4797415947659457e-05,0.47177514433860782750,0.0196,2.4441266782822588e-05,0.43650531768798832760,0.0224,2.4086864523450183e-05,0.53301078081130982770,0.023,2.3734233392465903e-05,0.44634231925010682780,0.0236,2.3383397491739145e-05,0.55176669359207152790,0.021,2.3034380800437678e-05,0.52966606616973882800,0.0231,2.2687207173388743e-05,0.48614183068275452810,0.0249,2.234190033944858e-05,0.466376066207885742820,0.0211,2.1998483899880596e-05,0.50168555974960332830,0.022,2.1656981326742266e-05,0.48171731829643252840,0.0236,2.1317415961280824e-05,0.43427485227584842850,0.023,2.097981101233794e-05,0.64155489206314092860,0.0237,2.0644189554763417e-05,0.61016505956649782870,0.0218,2.0310574527838072e-05,0.51486295461654662880,0.0208,1.9978988733705807e-05,0.482580631971359252890,0.0205,1.9649454835815202e-05,0.375473111867904662900,0.0222,1.932199535737045e-05,0.47044742107391362910,0.0342,1.8996632679791914e-05,0.52943962812423712920,0.0211,1.8673389041186418e-05,0.43814569711685182930,0.0216,1.8352286534827274e-05,0.427194625139236452940,0.0216,1.803334710764426e-05,0.40139207243919372950,0.0205,1.7716592558723556e-05,0.377477347850799562960,0.0269,1.7402044537817824e-05,0.52029460668563842970,0.0251,1.7089724543866465e-05,0.412793964147567752980,0.0196,1.6779653923526188e-05,0.405710726976394652990,0.0179,1.6471853869712023e-05,0.340414464473724373000,0.0244,1.6166345420148787e-05,0.420617103576660163010,0.0216,1.5863149455933158e-05,0.51580959558486943020,0.0267,1.5562286700106558e-05,0.411709368228912353030,0.0199,1.526377771623869e-05,0.453997284173965453040,0.0177,1.496764290702209e-05,0.32451987266540533050,0.0236,1.4673902512877585e-05,0.377607226371765143060,0.0233,1.438257661057093e-05,0.381962537765502933070,0.0258,1.4093685111840566e-05,0.453688502311706543080,0.0217,1.380724776203668e-05,0.53898549079895023090,0.0218,1.3523284138771642e-05,0.43017965555191043100,0.0224,1.3241813650581902e-05,0.37135148048400883110,0.0255,1.2962855535601438e-05,0.32179337739944463120,0.0195,1.2686428860246852e-05,0.28734353184700013130,0.0232,1.241255251791421e-05,0.39339360594749453140,0.0225,1.2141245227687731e-05,0.37728476524353033150,0.0219,1.1872525533060269e-05,0.41998708248138433160,0.0194,1.1606411800666028e-05,0.4264138936996463170,0.0235,1.134292221902511e-05,0.349243074655532843180,0.0197,1.1082074797300413e-05,0.3552366793155673190,0.0214,1.0823887364066737e-05,0.386674344539642333200,0.0252,1.0568377566092164e-05,0.39023482799530033210,0.0218,1.0315562867131983e-05,0.312647670507431033220,0.0185,1.0065460546735045e-05,0.42872309684753423230,0.0196,9.818087699062716e-06,0.285486280918121343240,0.0166,9.57346123172055e-06,0.28616547584533693250,0.0162,9.331597864602632e-06,0.284693717956542973260,0.0287,9.09251412874882e-06,0.39319553971290593270,0.0206,8.856226365214897e-06,0.35958671569824223280,0.0175,8.622750723955597e-06,0.30355903506278993290,0.0205,8.392103162720883e-06,0.29305928945541383300,0.0185,8.164299445965167e-06,0.336737155914306643310,0.0184,7.939355143769905e-06,0.25327867269515993320,0.0168,7.717285630779341e-06,0.244306430220603943330,0.0208,7.498106085149697e-06,0.36809724569320683340,0.0182,7.2818314875117755e-06,0.34559261798858643350,0.0242,7.06847661994704e-06,0.3466995954513553360,0.0176,6.85805606497727e-06,0.26952737569808963370,0.0288,6.650584204567889e-06,0.35193857550621033380,0.0227,6.446075219144965e-06,0.260378509759902953390,0.0227,6.244543086625987e-06,0.3217506706714633400,0.0249,6.046001581464505e-06,0.354226350784301763410,0.02,5.850464273708689e-06,0.30704823136329653420,0.0206,5.657944528073745e-06,0.20892336964607243430,0.0179,5.468455503028574e-06,0.235919594764709473440,0.0215,5.282010149896327e-06,0.34682482481002813450,0.0165,5.098621211969223e-06,0.293763548135757453460,0.023,4.918301223637573e-06,0.257512062788009643470,0.0169,4.74106250953304e-06,0.18477135896682743480,0.0203,4.566917183686309e-06,0.25683212280273443490,0.019,4.3958771486990735e-06,0.28624862432479863500,0.0262,4.22795409493052e-06,0.249453783035278323510,0.0206,4.06315949969831e-06,0.224784687161445623520,0.0182,3.901504626494135e-06,0.203678026795387273530,0.019,3.7430005242138354e-06,0.247534438967704773540,0.0247,3.587658026402263e-06,0.255796730518341063550,0.0202,3.435487750512778e-06,0.22720605134963993560,0.0197,3.2865000971816107e-06,0.2240236997604373570,0.0221,3.1407052495169566e-06,0.274246782064437873580,0.0209,2.9981131724029887e-06,0.191050797700881963590,0.0182,2.858733611818765e-06,0.161819830536842353600,0.0219,2.7225760941721136e-06,0.24470812082290653610,0.0164,2.589649925648491e-06,0.194060266017913823620,0.0186,2.459964191574948e-06,0.159252166748046883630,0.0199,2.3335277557991364e-06,0.188709706068038943640,0.0207,2.210349260083494e-06,0.173374816775321963650,0.0226,2.0904371235145827e-06,0.182600647211074833660,0.0157,1.9737995419276455e-06,0.137231573462486273670,0.0192,1.8604444873464466e-06,0.239982903003692633680,0.0219,1.7503797074383988e-06,0.232189044356346133690,0.0223,1.6436127249849998e-06,0.237153246998786933700,0.0179,1.5401508373676764e-06,0.2612280845642093710,0.0237,1.4400011160690175e-06,0.114831261336803443720,0.0215,1.3431704061894312e-06,0.193050876259803773730,0.0167,1.2496653259793268e-06,0.16419109702110293740,0.0239,1.1594922663867135e-06,0.202463358640670783750,0.0199,1.0726573906204463e-06,0.18286594748497013760,0.019,9.891666337289273e-07,0.104128256440162663770,0.0247,9.090257021944881e-07,0.180895209312438963780,0.0186,8.3224007354335e-07,0.128619611263275153790,0.0169,7.588149959712243e-07,0.16381348669528963800,0.0205,6.887554879846326e-07,0.169664710760116583810,0.0162,6.220663380578861e-07,0.155171588063240053820,0.022,5.58752104305793e-07,0.095953531563282013830,0.0221,4.988171141721232e-07,0.114114478230476383840,0.0181,4.4226546413383974e-07,0.156334698200225833850,0.0183,3.891010194211009e-07,0.139943763613700873860,0.0218,3.393274137530877e-07,0.131015464663505553870,0.0206,2.9294804908962525e-07,0.241745337843894963880,0.0191,2.499660953986849e-07,0.093007862567901613890,0.0168,2.103844904397023e-07,0.105601079761981963900,0.0202,1.742059395627993e-07,0.124819181859493263910,0.0184,1.414329155238703e-07,0.131694331765174873920,0.0179,1.1206765831557886e-07,0.105969943106174473930,0.0189,8.611217501423574e-08,0.111225455999374393940,0.0215,6.356823964266401e-08,0.188202813267707823950,0.0225,4.4437393048885056e-08,0.13453385233879093960,0.0174,2.8720942800858353e-08,0.145781815052032473970,0.0211,1.6419963097080715e-08,0.089993029832839973980,0.0175,7.535294693172822e-09,0.181734755635261543990,0.0174,2.0675448444251732e-09,0.086759142577648164000,0.0205,1.7087264264636914e-11,0.17034396529197693123version https://git-lfs.github.com/spec/v1oid sha256:089707240e8cf1d5e79a805d26cc76652f6924efa9794ceb861491cc8b46b365size 4990519232123version https://git-lfs.github.com/spec/v1oid sha256:4049a48dbbd9e33dcae9df732a8c09685d2bbd306b5bf71da88ecee90115bf49size 19199801841234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138{ "processor_class": "Gr00tN1d7Processor", "processor_kwargs": { "modality_configs": { "real_g1_relative_eef_relative_joints": { "video": { "delta_indices": [ -20, 0 ], "modality_keys": [ "ego_view" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_wrist_eef_9d", "right_wrist_eef_9d", "left_hand", "right_hand", "left_arm", "right_arm", "waist" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "left_wrist_eef_9d", "right_wrist_eef_9d", "left_hand", "right_hand", "left_arm", "right_arm", "waist", "base_height_command", "navigate_command" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "left_wrist_eef_9d" }, { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "right_wrist_eef_9d" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_hand" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_hand" }, { "rep": "RELATIVE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_arm" }, { "rep": "RELATIVE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_arm" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "waist" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "base_height_command" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "navigate_command" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.human.task_description" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "real_r1_pro_sharpa_relative_eef_mecka": { "video": { "delta_indices": [ -30, 0 ], "modality_keys": [ "ego_view_cropratio_res320x240_freq30" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "left_wrist_eef" }, { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "right_wrist_eef" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_hand_joints" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_hand_joints" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.human.coarse_action" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "real_r1_pro_sharpa_relative_eef_human": { "video": { "delta_indices": [ -20, 0 ], "modality_keys": [ "ego_view_res320x240_freq20", "left_wrist_view_res320x240_freq20", "right_wrist_view_res320x240_freq20" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "left_wrist_eef" }, { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "right_wrist_eef" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_hand_joints" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_hand_joints" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.human.coarse_action" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "real_r1_pro_sharpa_relative_eef": { "video": { "delta_indices": [ -20, 0 ], "modality_keys": [ "ego_view_res320x240_freq20", "left_wrist_view_res320x240_freq20", "right_wrist_view_res320x240_freq20" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "left_wrist_eef" }, { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "right_wrist_eef" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_hand_joints" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_hand_joints" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.human.coarse_action" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "xdof_relative_eef_relative_joint": { "video": { "delta_indices": [ -30, 0 ], "modality_keys": [ "top_camera-images-rgb_320_240", "left_camera-images-rgb_320_240", "right_camera-images-rgb_320_240" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_gripper_pos", "right_gripper_pos", "left_joint_pos", "right_joint_pos" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_gripper_pos", "right_gripper_pos", "left_joint_pos", "right_joint_pos" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "left_wrist_eef" }, { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "right_wrist_eef" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_gripper_pos" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_gripper_pos" }, { "rep": "RELATIVE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_joint_pos" }, { "rep": "RELATIVE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_joint_pos" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.task" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "real_r1_pro_sharpa_relative_eef_maxinsights": { "video": { "delta_indices": [ -30, 0 ], "modality_keys": [ "ego_view_cropratio_res320x240_freq30" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_hand_joints", "right_hand_joints" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "left_wrist_eef" }, { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "right_wrist_eef" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_hand_joints" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_hand_joints" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.human.coarse_action" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "xdof_relative_eef_relative_joint_subtask": { "video": { "delta_indices": [ -30, 0 ], "modality_keys": [ "top_camera-images-rgb_320_240", "left_camera-images-rgb_320_240", "right_camera-images-rgb_320_240" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_gripper_pos", "right_gripper_pos", "left_joint_pos", "right_joint_pos" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "left_wrist_eef", "right_wrist_eef", "left_gripper_pos", "right_gripper_pos", "left_joint_pos", "right_joint_pos" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "left_wrist_eef" }, { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "right_wrist_eef" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_gripper_pos" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_gripper_pos" }, { "rep": "RELATIVE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "left_joint_pos" }, { "rep": "RELATIVE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "right_joint_pos" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.sub_task" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "oxe_droid_relative_eef_relative_joint": { "video": { "delta_indices": [ -15, 0 ], "modality_keys": [ "exterior_image_1_left", "wrist_image_left" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "eef_9d", "gripper_position", "joint_position" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ], "modality_keys": [ "eef_9d", "gripper_position", "joint_position" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "RELATIVE", "type": "EEF", "format": "XYZ_ROT6D", "state_key": "eef_9d" }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "gripper_position" }, { "rep": "RELATIVE", "type": "NON_EEF", "format": "DEFAULT", "state_key": "joint_position" } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.language.language_instruction" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } }, "new_embodiment": { "video": { "delta_indices": [ 0 ], "modality_keys": [ "head", "chest" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "state": { "delta_indices": [ 0 ], "modality_keys": [ "left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null }, "action": { "delta_indices": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ], "modality_keys": [ "body_target", "left_hand_target", "right_hand_target" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": [ { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": null }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": null }, { "rep": "ABSOLUTE", "type": "NON_EEF", "format": "DEFAULT", "state_key": null } ] }, "language": { "delta_indices": [ 0 ], "modality_keys": [ "annotation.human.task_description" ], "sin_cos_embedding_keys": null, "mean_std_embedding_keys": null, "action_configs": null } } }, "image_crop_size": [ 230, 230 ], "image_target_size": [ 256, 256 ], "use_albumentations": true, "random_rotation_angle": 0, "color_jitter_params": { "brightness": 0.3, "contrast": 0.4, "saturation": 0.5, "hue": 0.08 }, "shortest_image_edge": 256, "crop_fraction": 0.95, "letter_box_transform": false, "model_name": "nvidia/Cosmos-Reason2-2B", "model_type": "qwen", "formalize_language": true, "max_state_dim": 132, "max_action_dim": 132, "max_action_horizon": 40, "strict_action_padding_mask": false, "use_percentiles": true, "use_mean_std": false, "clip_outliers": true, "apply_sincos_state_encoding": false, "use_relative_action": true, "exclude_state": false, "state_dropout_prob": 0.2 }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120{ "model": "GR00T N1.7 (Gr00tN1d7), full fine-tune: all modules (tune_llm, tune_visual, projector, diffusion action head, VLLN)", "task": "A18 pour water (H2), 2 cameras, pause-trim data (3-frame stationary trim)", "task_dir": "a18-pour-water/b512-trim3f", "robot": "H2 (Sharpa hands)", "training_data": "humanoid-benchmark/a18-pour-water @ 73fd5225fea97662b6ff45893a170f85f2aa35bf", "episodes": 100, "epoch_completed": null, "global_step": 3200, "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", "epochs": null, "total_steps": 4000, "save_steps": [ 3200, 4000 ], "global_batch": 512, "per_gpu_batch": 32, "num_gpus": 16, "lr": 0.0001, "lr_schedule": "cosine, warmup_ratio 0.05", "weight_decay": 1e-05, "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)", "config": "experiment_cfg/conf.yaml", "normalization": "statistics.json", "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.", "epochs_equivalent": 42.41, "recipe": "full fine-tune (tune_llm, tune_visual, projector, diffusion, vlln), fixed steps, 2 nodes x 8 x 32, no accumulation", "gradient_accumulation_steps": 1, "num_nodes": 2, "frames": 48286, "trainable": "all modules (tune_llm, tune_visual, projector, diffusion action head, VLLN)", "cameras": [ "observation.images.head", "observation.images.chest" ], "split": "all 100 episodes for training", "state_layout": "state78 = observation.state (75: legs 0-11, waist 12-14, left arm 15-21, right arm 22-28, head 29-30, hands 31-74) + observation.projected_gravity (3); no joint velocity", "action_layout": "action75 = action.body_target (31) + action.hands (44: left 22, right 22); GR00T modalities body_target / left_hand_target / right_hand_target, ABSOLUTE, 16 rows per query", "initialization": "GR00T N1.7 base (groot-n17-base); VLM nvidia/Cosmos-Reason2-2B", "recipe_reference": "groot/a18-pour-water/b256/step-004000 recipe with cameras head + chest and global batch 512 (2 nodes x 8 GPUs x 32, no gradient accumulation); everything else unchanged (H2 training guide 4.1)", "published_steps": [ 3200, 4000 ], "final_loss_mean_last50": 0.01989, "loss_curve": "loss_curve.csv", "training_records_included": true, "resume_state_included": false, "seed": 42, "reproducibility": { "protocol": "https://github.com/zuo-kuangji/HumanWAM/blob/bai/hb_training/REPRODUCIBILITY.md", "protocol_commit": "ef6c628c26da", "training_seed": 42, "training_seed_source": "upstream Isaac-GR00T default (gr00t/configs/data/data_config.py seed=42 -> set_seed; HF TrainingArguments.seed=42)", "training_seed_verified_from_run_files": true, "augmentation_random_stream": "seeded: HB_AUG_SEED=42 (= training seed); numpy Generator from (seed, torch.initial_seed() of the process / DataLoader worker, global rank, worker id) - reproducible for the same seed and layout", "inloop_mse_seed": 1234, "layout": { "num_nodes": 2, "num_gpus": 16, "per_gpu_batch": 32, "global_batch": 512, "gradient_accumulation_steps": 1 }, "environment": { "name": "groot-py312", "package_snapshot": "hb_training/envs/groot-py312.txt", "python": "3.12.12", "torch": "2.9.0" }, "hardware": "Alibaba PAI DLC, 4 nodes x 8 NVIDIA A800-SXM4-80GB, driver 570.133.20, CUDA 12.8", "upstream_code": "NVIDIA Isaac-GR00T @ 7aa0bca", "adapter_code": "code/ in this folder (snapshot of the HumanWAM hb_training adapters used for this run)", "determinism": "statistical reproducibility: same data commit, config, seed and layout give the same curves within run-to-run noise; GPU kernels (bf16, NCCL reductions) are not bitwise deterministic", "exceptions": "see the exception registry, REPRODUCIBILITY.md section 7" }, "files": { "code/hb_groot/cache_cosmos_reason2.py": 2542, "code/hb_groot/check_reason2_offline.py": 1283, "code/hb_groot/g1_feedback76_h16.py": 1474, "code/hb_groot/g1_joint47_h40.py": 1409, "code/hb_groot/groot_chain.py": 6325, "code/hb_groot/h2_body31_hand44_h16.py": 1395, "code/hb_groot/h2_body31_hand44_h32.py": 1463, "code/hb_groot/h2_body31_hand44_planner7_h16.py": 1531, "code/hb_groot/h2w3_body31_hand44_h16.py": 1563, "code/hb_groot/hb_aug_v2.py": 7475, "code/hb_groot/hb_inloop_eval.py": 16620, "code/hb_groot/hb_j47.py": 1579, "code/hb_groot/hb_launch.py": 5705, "code/hb_groot/hb_launch_v.py": 4184, "code/hb_groot/hb_offline_fix.py": 1138, "code/hb_groot/prepare_groot_data.py": 17999, "code/hb_groot/prepare_groot_j47.py": 7913, "code/hb_groot/upload_groot_j47.py": 4426, "code/hb_groot/verify_groot_cpu.py": 2806, "code/hb_groot/verify_j47_cpu.py": 3249, "config.json": 2219, "dataset_meta/hb-dataset-receipt.json": 789, "dataset_meta/modality.json": 1549, "embodiment_id.json": 2226, "experiment_cfg/conf.yaml": 5811, "experiment_cfg/config.yaml": 5778, "experiment_cfg/dataset_statistics.json": 28328, "experiment_cfg/final_model_config.json": 1584, "experiment_cfg/final_processor_config.json": 2548335, "loss_curve.csv": 21049, "model-00001-of-00002.safetensors": 4990519232, "model-00002-of-00002.safetensors": 1919980184, "model.safetensors.index.json": 104985, "processor_config.json": 26960, "statistics.json": 4321421, "train.log": 391124, "trainer_state.json": 45011, "training_args.bin": 8017, "training_plan.json": 639, "wandb_config.json": 58 }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 0.8, "eval_steps": 500, "global_step": 3200, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "grad_norm": 0.32620543241500854, "learning_rate": 4.5e-06, "loss": 1.3765, "step": 10 }, { "grad_norm": 0.3298923075199127, "learning_rate": 9.5e-06, "loss": 1.3632, "step": 20 }, { "grad_norm": 0.6413314342498779, "learning_rate": 1.45e-05, "loss": 1.2404, "step": 30 }, { "grad_norm": 0.6079909205436707, "learning_rate": 1.9500000000000003e-05, "loss": 1.1163, "step": 40 }, { "grad_norm": 0.4473424255847931, "learning_rate": 2.45e-05, "loss": 1.0679, "step": 50 }, { "grad_norm": 0.32730984687805176, "learning_rate": 2.95e-05, "loss": 1.0532, "step": 60 }, { "grad_norm": 0.515263557434082, "learning_rate": 3.45e-05, "loss": 1.0415, "step": 70 }, { "grad_norm": 0.250110000371933, "learning_rate": 3.9500000000000005e-05, "loss": 1.0348, "step": 80 }, { "grad_norm": 0.34482672810554504, "learning_rate": 4.4500000000000004e-05, "loss": 1.0285, "step": 90 }, { "grad_norm": 0.25345009565353394, "learning_rate": 4.9500000000000004e-05, "loss": 1.026, "step": 100 }, { "grad_norm": 0.2569319009780884, "learning_rate": 5.45e-05, "loss": 1.0254, "step": 110 }, { "grad_norm": 7.907296180725098, "learning_rate": 5.95e-05, "loss": 1.032, "step": 120 }, { "grad_norm": 0.6025940775871277, "learning_rate": 6.450000000000001e-05, "loss": 1.0346, "step": 130 }, { "grad_norm": 0.4961335062980652, "learning_rate": 6.95e-05, "loss": 0.9824, "step": 140 }, { "grad_norm": 0.7321252822875977, "learning_rate": 7.450000000000001e-05, "loss": 0.9043, "step": 150 }, { "grad_norm": 0.6651201248168945, "learning_rate": 7.950000000000001e-05, "loss": 0.8581, "step": 160 }, { "grad_norm": 0.8451042175292969, "learning_rate": 8.450000000000001e-05, "loss": 0.7993, "step": 170 }, { "grad_norm": 0.980968713760376, "learning_rate": 8.950000000000001e-05, "loss": 0.7504, "step": 180 }, { "grad_norm": 0.9580011367797852, "learning_rate": 9.449999999999999e-05, "loss": 0.692, "step": 190 }, { "grad_norm": 0.7699357271194458, "learning_rate": 9.95e-05, "loss": 0.661, "step": 200 }, { "grad_norm": 0.8678083419799805, "learning_rate": 9.999861593790126e-05, "loss": 0.6257, "step": 210 }, { "grad_norm": 0.7736668586730957, "learning_rate": 9.999383162408304e-05, "loss": 0.5993, "step": 220 }, { "grad_norm": 0.8655011653900146, "learning_rate": 9.998563029828259e-05, "loss": 0.568, "step": 230 }, { "grad_norm": 1.0439728498458862, "learning_rate": 9.997401252104962e-05, "loss": 0.5402, "step": 240 }, { "grad_norm": 0.7830820083618164, "learning_rate": 9.995897908644378e-05, "loss": 0.5174, "step": 250 }, { "grad_norm": 0.9758726954460144, "learning_rate": 9.994053102198034e-05, "loss": 0.4959, "step": 260 }, { "grad_norm": 1.0229922533035278, "learning_rate": 9.991866958856003e-05, "loss": 0.4901, "step": 270 }, { "grad_norm": 1.1143457889556885, "learning_rate": 9.989339628038276e-05, "loss": 0.4641, "step": 280 }, { "grad_norm": 0.9636990427970886, "learning_rate": 9.98647128248456e-05, "loss": 0.4561, "step": 290 }, { "grad_norm": 1.0024629831314087, "learning_rate": 9.98326211824246e-05, "loss": 0.4261, "step": 300 }, { "grad_norm": 0.9374122619628906, "learning_rate": 9.979712354654091e-05, "loss": 0.4159, "step": 310 }, { "grad_norm": 1.1993377208709717, "learning_rate": 9.975822234341079e-05, "loss": 0.3861, "step": 320 }, { "grad_norm": 0.8988510370254517, "learning_rate": 9.97159202318798e-05, "loss": 0.3766, "step": 330 }, { "grad_norm": 1.0697126388549805, "learning_rate": 9.967022010324105e-05, "loss": 0.362, "step": 340 }, { "grad_norm": 0.9973570704460144, "learning_rate": 9.962112508103765e-05, "loss": 0.3419, "step": 350 }, { "grad_norm": 1.0317833423614502, "learning_rate": 9.956863852084914e-05, "loss": 0.332, "step": 360 }, { "grad_norm": 1.0794798135757446, "learning_rate": 9.951276401006221e-05, "loss": 0.3249, "step": 370 }, { "grad_norm": 1.121736764907837, "learning_rate": 9.945350536762543e-05, "loss": 0.3025, "step": 380 }, { "grad_norm": 1.0193125009536743, "learning_rate": 9.939086664378829e-05, "loss": 0.2939, "step": 390 }, { "grad_norm": 1.1548352241516113, "learning_rate": 9.932485211982437e-05, "loss": 0.2788, "step": 400 }, { "grad_norm": 1.323782205581665, "learning_rate": 9.92554663077387e-05, "loss": 0.2755, "step": 410 }, { "grad_norm": 1.0071784257888794, "learning_rate": 9.918271394995935e-05, "loss": 0.2598, "step": 420 }, { "grad_norm": 1.0843613147735596, "learning_rate": 9.910660001901335e-05, "loss": 0.2509, "step": 430 }, { "grad_norm": 1.6622120141983032, "learning_rate": 9.902712971718675e-05, "loss": 0.237, "step": 440 }, { "grad_norm": 1.0596376657485962, "learning_rate": 9.894430847616915e-05, "loss": 0.2282, "step": 450 }, { "grad_norm": 1.272813081741333, "learning_rate": 9.885814195668232e-05, "loss": 0.2188, "step": 460 }, { "grad_norm": 1.0933762788772583, "learning_rate": 9.876863604809344e-05, "loss": 0.21, "step": 470 }, { "grad_norm": 1.1667945384979248, "learning_rate": 9.867579686801245e-05, "loss": 0.1932, "step": 480 }, { "grad_norm": 1.3116661310195923, "learning_rate": 9.8579630761874e-05, "loss": 0.1788, "step": 490 }, { "grad_norm": 1.1357214450836182, "learning_rate": 9.848014430250367e-05, "loss": 0.1674, "step": 500 }, { "grad_norm": 1.2520039081573486, "learning_rate": 9.837734428966885e-05, "loss": 0.1645, "step": 510 }, { "grad_norm": 0.9550996422767639, "learning_rate": 9.827123774961383e-05, "loss": 0.1482, "step": 520 }, { "grad_norm": 1.1132701635360718, "learning_rate": 9.816183193457968e-05, "loss": 0.1455, "step": 530 }, { "grad_norm": 1.0472990274429321, "learning_rate": 9.804913432230856e-05, "loss": 0.1324, "step": 540 }, { "grad_norm": 1.0196349620819092, "learning_rate": 9.793315261553252e-05, "loss": 0.1231, "step": 550 }, { "grad_norm": 1.2829407453536987, "learning_rate": 9.781389474144717e-05, "loss": 0.1115, "step": 560 }, { "grad_norm": 1.1606614589691162, "learning_rate": 9.76913688511698e-05, "loss": 0.1056, "step": 570 }, { "grad_norm": 0.9717316627502441, "learning_rate": 9.756558331918227e-05, "loss": 0.104, "step": 580 }, { "grad_norm": 1.0465946197509766, "learning_rate": 9.743654674275855e-05, "loss": 0.1052, "step": 590 }, { "grad_norm": 1.0735676288604736, "learning_rate": 9.730426794137727e-05, "loss": 0.1077, "step": 600 }, { "grad_norm": 1.0136514902114868, "learning_rate": 9.716875595611879e-05, "loss": 0.1096, "step": 610 }, { "grad_norm": 1.0720583200454712, "learning_rate": 9.703002004904729e-05, "loss": 0.092, "step": 620 }, { "grad_norm": 1.1171406507492065, "learning_rate": 9.688806970257773e-05, "loss": 0.0822, "step": 630 }, { "grad_norm": 1.1283745765686035, "learning_rate": 9.674291461882774e-05, "loss": 0.0858, "step": 640 }, { "grad_norm": 1.0796915292739868, "learning_rate": 9.659456471895445e-05, "loss": 0.0887, "step": 650 }, { "grad_norm": 0.9289243817329407, "learning_rate": 9.644303014247648e-05, "loss": 0.0873, "step": 660 }, { "grad_norm": 1.132864236831665, "learning_rate": 9.628832124658085e-05, "loss": 0.1037, "step": 670 }, { "grad_norm": 1.0259928703308105, "learning_rate": 9.613044860541507e-05, "loss": 0.0904, "step": 680 }, { "grad_norm": 0.9560890793800354, "learning_rate": 9.596942300936445e-05, "loss": 0.0847, "step": 690 }, { "grad_norm": 1.0658761262893677, "learning_rate": 9.580525546431459e-05, "loss": 0.0864, "step": 700 }, { "grad_norm": 1.1861670017242432, "learning_rate": 9.563795719089911e-05, "loss": 0.0957, "step": 710 }, { "grad_norm": 0.8901125192642212, "learning_rate": 9.546753962373281e-05, "loss": 0.081, "step": 720 }, { "grad_norm": 1.014847755432129, "learning_rate": 9.529401441062997e-05, "loss": 0.0829, "step": 730 }, { "grad_norm": 1.0410162210464478, "learning_rate": 9.511739341180842e-05, "loss": 0.0713, "step": 740 }, { "grad_norm": 1.0705982446670532, "learning_rate": 9.493768869907886e-05, "loss": 0.0812, "step": 750 }, { "grad_norm": 1.0763182640075684, "learning_rate": 9.475491255501968e-05, "loss": 0.0707, "step": 760 }, { "grad_norm": 0.9588682651519775, "learning_rate": 9.456907747213748e-05, "loss": 0.0756, "step": 770 }, { "grad_norm": 0.8811067938804626, "learning_rate": 9.438019615201336e-05, "loss": 0.0745, "step": 780 }, { "grad_norm": 0.7940196990966797, "learning_rate": 9.418828150443469e-05, "loss": 0.0705, "step": 790 }, { "grad_norm": 0.9194681644439697, "learning_rate": 9.399334664651262e-05, "loss": 0.0785, "step": 800 }, { "grad_norm": 0.8838341236114502, "learning_rate": 9.379540490178581e-05, "loss": 0.0785, "step": 810 }, { "grad_norm": 1.0669935941696167, "learning_rate": 9.359446979930955e-05, "loss": 0.0746, "step": 820 }, { "grad_norm": 0.9901074171066284, "learning_rate": 9.33905550727312e-05, "loss": 0.0756, "step": 830 }, { "grad_norm": 0.9576806426048279, "learning_rate": 9.318367465935142e-05, "loss": 0.0697, "step": 840 }, { "grad_norm": 0.9806011319160461, "learning_rate": 9.29738426991717e-05, "loss": 0.0805, "step": 850 }, { "grad_norm": 1.0145245790481567, "learning_rate": 9.276107353392774e-05, "loss": 0.0714, "step": 860 }, { "grad_norm": 0.8379557132720947, "learning_rate": 9.254538170610938e-05, "loss": 0.0717, "step": 870 }, { "grad_norm": 0.8413605093955994, "learning_rate": 9.232678195796654e-05, "loss": 0.0651, "step": 880 }, { "grad_norm": 0.8873197436332703, "learning_rate": 9.210528923050164e-05, "loss": 0.0625, "step": 890 }, { "grad_norm": 0.8460344076156616, "learning_rate": 9.188091866244834e-05, "loss": 0.0757, "step": 900 }, { "grad_norm": 0.998616635799408, "learning_rate": 9.165368558923695e-05, "loss": 0.06, "step": 910 }, { "grad_norm": 0.9088504910469055, "learning_rate": 9.142360554194618e-05, "loss": 0.0698, "step": 920 }, { "grad_norm": 1.040298342704773, "learning_rate": 9.119069424624163e-05, "loss": 0.0637, "step": 930 }, { "grad_norm": 1.0152078866958618, "learning_rate": 9.0954967621301e-05, "loss": 0.0606, "step": 940 }, { "grad_norm": 0.829616367816925, "learning_rate": 9.071644177872594e-05, "loss": 0.0725, "step": 950 }, { "grad_norm": 0.9796316027641296, "learning_rate": 9.047513302144095e-05, "loss": 0.0572, "step": 960 }, { "grad_norm": 0.8483306169509888, "learning_rate": 9.023105784257906e-05, "loss": 0.0596, "step": 970 }, { "grad_norm": 1.0917550325393677, "learning_rate": 8.998423292435454e-05, "loss": 0.0648, "step": 980 }, { "grad_norm": 0.90921950340271, "learning_rate": 8.973467513692265e-05, "loss": 0.0671, "step": 990 }, { "grad_norm": 0.9913179278373718, "learning_rate": 8.94824015372267e-05, "loss": 0.0628, "step": 1000 }, { "grad_norm": 0.8122202754020691, "learning_rate": 8.922742936783207e-05, "loss": 0.0581, "step": 1010 }, { "grad_norm": 1.0484033823013306, "learning_rate": 8.896977605574788e-05, "loss": 0.0605, "step": 1020 }, { "grad_norm": 0.8388903737068176, "learning_rate": 8.870945921123576e-05, "loss": 0.0608, "step": 1030 }, { "grad_norm": 0.920877993106842, "learning_rate": 8.844649662660624e-05, "loss": 0.0624, "step": 1040 }, { "grad_norm": 0.9776277542114258, "learning_rate": 8.818090627500266e-05, "loss": 0.0552, "step": 1050 }, { "grad_norm": 0.808314859867096, "learning_rate": 8.791270630917275e-05, "loss": 0.0701, "step": 1060 }, { "grad_norm": 0.8622756600379944, "learning_rate": 8.764191506022795e-05, "loss": 0.0622, "step": 1070 }, { "grad_norm": 0.9371249675750732, "learning_rate": 8.736855103639037e-05, "loss": 0.0621, "step": 1080 }, { "grad_norm": 0.8623190522193909, "learning_rate": 8.709263292172794e-05, "loss": 0.0485, "step": 1090 }, { "grad_norm": 0.9848732352256775, "learning_rate": 8.681417957487729e-05, "loss": 0.0575, "step": 1100 }, { "grad_norm": 0.8756508827209473, "learning_rate": 8.653321002775478e-05, "loss": 0.0618, "step": 1110 }, { "grad_norm": 0.9021160006523132, "learning_rate": 8.624974348425574e-05, "loss": 0.0601, "step": 1120 }, { "grad_norm": 0.7211621999740601, "learning_rate": 8.596379931894188e-05, "loss": 0.0643, "step": 1130 }, { "grad_norm": 0.8200762271881104, "learning_rate": 8.567539707571703e-05, "loss": 0.0629, "step": 1140 }, { "grad_norm": 0.9657751321792603, "learning_rate": 8.538455646649146e-05, "loss": 0.0601, "step": 1150 }, { "grad_norm": 0.8730776906013489, "learning_rate": 8.509129736983446e-05, "loss": 0.0576, "step": 1160 }, { "grad_norm": 0.906014621257782, "learning_rate": 8.479563982961571e-05, "loss": 0.0548, "step": 1170 }, { "grad_norm": 0.835847020149231, "learning_rate": 8.449760405363539e-05, "loss": 0.0554, "step": 1180 }, { "grad_norm": 0.9147929549217224, "learning_rate": 8.419721041224287e-05, "loss": 0.0557, "step": 1190 }, { "grad_norm": 0.8341513276100159, "learning_rate": 8.389447943694451e-05, "loss": 0.0594, "step": 1200 }, { "grad_norm": 0.8885762095451355, "learning_rate": 8.358943181900032e-05, "loss": 0.0581, "step": 1210 }, { "grad_norm": 0.8322889804840088, "learning_rate": 8.328208840800981e-05, "loss": 0.0508, "step": 1220 }, { "grad_norm": 1.0684524774551392, "learning_rate": 8.297247021048686e-05, "loss": 0.0569, "step": 1230 }, { "grad_norm": 0.6947789192199707, "learning_rate": 8.266059838842396e-05, "loss": 0.0513, "step": 1240 }, { "grad_norm": 0.8724648356437683, "learning_rate": 8.23464942578459e-05, "loss": 0.0571, "step": 1250 }, { "grad_norm": 0.6945319175720215, "learning_rate": 8.203017928735277e-05, "loss": 0.0507, "step": 1260 }, { "grad_norm": 1.038629412651062, "learning_rate": 8.17116750966526e-05, "loss": 0.0579, "step": 1270 }, { "grad_norm": 0.7680193781852722, "learning_rate": 8.139100345508377e-05, "loss": 0.0551, "step": 1280 }, { "grad_norm": 0.9922937154769897, "learning_rate": 8.106818628012697e-05, "loss": 0.0579, "step": 1290 }, { "grad_norm": 0.8349509835243225, "learning_rate": 8.074324563590736e-05, "loss": 0.0536, "step": 1300 }, { "grad_norm": 0.8465674519538879, "learning_rate": 8.041620373168628e-05, "loss": 0.0505, "step": 1310 }, { "grad_norm": 0.7817651629447937, "learning_rate": 8.008708292034349e-05, "loss": 0.0562, "step": 1320 }, { "grad_norm": 0.9121201038360596, "learning_rate": 7.975590569684925e-05, "loss": 0.0476, "step": 1330 }, { "grad_norm": 0.7958289980888367, "learning_rate": 7.942269469672687e-05, "loss": 0.0509, "step": 1340 }, { "grad_norm": 0.961908221244812, "learning_rate": 7.908747269450558e-05, "loss": 0.0454, "step": 1350 }, { "grad_norm": 0.7530062198638916, "learning_rate": 7.875026260216393e-05, "loss": 0.0486, "step": 1360 }, { "grad_norm": 0.73783940076828, "learning_rate": 7.841108746756382e-05, "loss": 0.0406, "step": 1370 }, { "grad_norm": 0.7645959258079529, "learning_rate": 7.806997047287516e-05, "loss": 0.046, "step": 1380 }, { "grad_norm": 0.9485630989074707, "learning_rate": 7.772693493299138e-05, "loss": 0.0432, "step": 1390 }, { "grad_norm": 0.8838416934013367, "learning_rate": 7.7382004293936e-05, "loss": 0.0511, "step": 1400 }, { "grad_norm": 0.7387306690216064, "learning_rate": 7.703520213126e-05, "loss": 0.042, "step": 1410 }, { "grad_norm": 0.7810013294219971, "learning_rate": 7.66865521484305e-05, "loss": 0.0507, "step": 1420 }, { "grad_norm": 0.7522904276847839, "learning_rate": 7.633607817521074e-05, "loss": 0.0469, "step": 1430 }, { "grad_norm": 0.8268495202064514, "learning_rate": 7.598380416603119e-05, "loss": 0.0468, "step": 1440 }, { "grad_norm": 0.6693407893180847, "learning_rate": 7.562975419835247e-05, "loss": 0.0497, "step": 1450 }, { "grad_norm": 0.7746109366416931, "learning_rate": 7.527395247101956e-05, "loss": 0.0457, "step": 1460 }, { "grad_norm": 0.8541005849838257, "learning_rate": 7.491642330260789e-05, "loss": 0.0471, "step": 1470 }, { "grad_norm": 0.7998647689819336, "learning_rate": 7.45571911297612e-05, "loss": 0.0516, "step": 1480 }, { "grad_norm": 0.8398224115371704, "learning_rate": 7.419628050552131e-05, "loss": 0.0425, "step": 1490 }, { "grad_norm": 0.9293997287750244, "learning_rate": 7.383371609764999e-05, "loss": 0.056, "step": 1500 }, { "grad_norm": 0.9458758234977722, "learning_rate": 7.346952268694288e-05, "loss": 0.0455, "step": 1510 }, { "grad_norm": 0.9669334888458252, "learning_rate": 7.310372516553585e-05, "loss": 0.0469, "step": 1520 }, { "grad_norm": 0.7783558368682861, "learning_rate": 7.273634853520356e-05, "loss": 0.0475, "step": 1530 }, { "grad_norm": 0.8022835850715637, "learning_rate": 7.236741790565072e-05, "loss": 0.0539, "step": 1540 }, { "grad_norm": 0.7513185143470764, "learning_rate": 7.199695849279576e-05, "loss": 0.0494, "step": 1550 }, { "grad_norm": 0.758074164390564, "learning_rate": 7.162499561704747e-05, "loss": 0.0452, "step": 1560 }, { "grad_norm": 0.7415859699249268, "learning_rate": 7.125155470157429e-05, "loss": 0.0421, "step": 1570 }, { "grad_norm": 0.6840348243713379, "learning_rate": 7.087666127056675e-05, "loss": 0.0405, "step": 1580 }, { "grad_norm": 0.8529781103134155, "learning_rate": 7.050034094749286e-05, "loss": 0.0442, "step": 1590 }, { "grad_norm": 0.8034589886665344, "learning_rate": 7.012261945334683e-05, "loss": 0.0433, "step": 1600 }, { "grad_norm": 0.7716950178146362, "learning_rate": 6.974352260489103e-05, "loss": 0.0377, "step": 1610 }, { "grad_norm": 0.6609188318252563, "learning_rate": 6.936307631289148e-05, "loss": 0.0361, "step": 1620 }, { "grad_norm": 0.6412911415100098, "learning_rate": 6.898130658034685e-05, "loss": 0.038, "step": 1630 }, { "grad_norm": 0.8444554209709167, "learning_rate": 6.859823950071127e-05, "loss": 0.0404, "step": 1640 }, { "grad_norm": 0.8062240481376648, "learning_rate": 6.821390125611078e-05, "loss": 0.0459, "step": 1650 }, { "grad_norm": 0.8157143592834473, "learning_rate": 6.782831811555385e-05, "loss": 0.0334, "step": 1660 }, { "grad_norm": 0.7612932920455933, "learning_rate": 6.744151643313597e-05, "loss": 0.0408, "step": 1670 }, { "grad_norm": 0.9200407862663269, "learning_rate": 6.705352264623828e-05, "loss": 0.0437, "step": 1680 }, { "grad_norm": 0.7522132992744446, "learning_rate": 6.666436327372078e-05, "loss": 0.0451, "step": 1690 }, { "grad_norm": 0.7440764307975769, "learning_rate": 6.62740649141096e-05, "loss": 0.0399, "step": 1700 }, { "grad_norm": 0.7517324090003967, "learning_rate": 6.588265424377919e-05, "loss": 0.0391, "step": 1710 }, { "grad_norm": 0.7649229168891907, "learning_rate": 6.549015801512895e-05, "loss": 0.0435, "step": 1720 }, { "grad_norm": 0.7050970196723938, "learning_rate": 6.509660305475468e-05, "loss": 0.041, "step": 1730 }, { "grad_norm": 0.6079833507537842, "learning_rate": 6.47020162616152e-05, "loss": 0.036, "step": 1740 }, { "grad_norm": 0.8961887955665588, "learning_rate": 6.430642460519365e-05, "loss": 0.0397, "step": 1750 }, { "grad_norm": 0.7787788510322571, "learning_rate": 6.390985512365426e-05, "loss": 0.0445, "step": 1760 }, { "grad_norm": 0.7925782203674316, "learning_rate": 6.351233492199431e-05, "loss": 0.0409, "step": 1770 }, { "grad_norm": 0.7234935760498047, "learning_rate": 6.311389117019155e-05, "loss": 0.0383, "step": 1780 }, { "grad_norm": 0.7121525406837463, "learning_rate": 6.271455110134713e-05, "loss": 0.0456, "step": 1790 }, { "grad_norm": 0.6702256798744202, "learning_rate": 6.231434200982428e-05, "loss": 0.0393, "step": 1800 }, { "grad_norm": 0.9282872080802917, "learning_rate": 6.191329124938285e-05, "loss": 0.038, "step": 1810 }, { "grad_norm": 0.6330001950263977, "learning_rate": 6.15114262313095e-05, "loss": 0.0351, "step": 1820 }, { "grad_norm": 0.708736002445221, "learning_rate": 6.110877442254444e-05, "loss": 0.0349, "step": 1830 }, { "grad_norm": 0.740434467792511, "learning_rate": 6.0705363343803946e-05, "loss": 0.0353, "step": 1840 }, { "grad_norm": 0.6433144211769104, "learning_rate": 6.030122056769934e-05, "loss": 0.0353, "step": 1850 }, { "grad_norm": 0.727720320224762, "learning_rate": 5.989637371685257e-05, "loss": 0.0412, "step": 1860 }, { "grad_norm": 0.6182246208190918, "learning_rate": 5.949085046200808e-05, "loss": 0.0403, "step": 1870 }, { "grad_norm": 0.7050248980522156, "learning_rate": 5.908467852014169e-05, "loss": 0.0322, "step": 1880 }, { "grad_norm": 0.6927273869514465, "learning_rate": 5.867788565256607e-05, "loss": 0.0321, "step": 1890 }, { "grad_norm": 0.7568740248680115, "learning_rate": 5.827049966303335e-05, "loss": 0.0447, "step": 1900 }, { "grad_norm": 0.778855562210083, "learning_rate": 5.786254839583478e-05, "loss": 0.0399, "step": 1910 }, { "grad_norm": 0.935710072517395, "learning_rate": 5.745405973389757e-05, "loss": 0.0364, "step": 1920 }, { "grad_norm": 0.6714816689491272, "learning_rate": 5.7045061596879134e-05, "loss": 0.0379, "step": 1930 }, { "grad_norm": 0.8609486222267151, "learning_rate": 5.6635581939258855e-05, "loss": 0.0364, "step": 1940 }, { "grad_norm": 0.7333055734634399, "learning_rate": 5.622564874842742e-05, "loss": 0.037, "step": 1950 }, { "grad_norm": 0.7593186497688293, "learning_rate": 5.5815290042773836e-05, "loss": 0.0302, "step": 1960 }, { "grad_norm": 0.6878229975700378, "learning_rate": 5.540453386977058e-05, "loss": 0.0382, "step": 1970 }, { "grad_norm": 0.6985982060432434, "learning_rate": 5.4993408304056425e-05, "loss": 0.0444, "step": 1980 }, { "grad_norm": 0.6775141358375549, "learning_rate": 5.458194144551768e-05, "loss": 0.0327, "step": 1990 }, { "grad_norm": 0.712411105632782, "learning_rate": 5.417016141736756e-05, "loss": 0.03, "step": 2000 }, { "grad_norm": 0.5959153175354004, "learning_rate": 5.375809636422399e-05, "loss": 0.029, "step": 2010 }, { "grad_norm": 0.7271257042884827, "learning_rate": 5.334577445018599e-05, "loss": 0.0344, "step": 2020 }, { "grad_norm": 0.6667616367340088, "learning_rate": 5.293322385690867e-05, "loss": 0.0371, "step": 2030 }, { "grad_norm": 0.5672518014907837, "learning_rate": 5.252047278167709e-05, "loss": 0.0396, "step": 2040 }, { "grad_norm": 0.6331052184104919, "learning_rate": 5.210754943547893e-05, "loss": 0.0335, "step": 2050 }, { "grad_norm": 0.6720868945121765, "learning_rate": 5.169448204107643e-05, "loss": 0.0297, "step": 2060 }, { "grad_norm": 0.5979540944099426, "learning_rate": 5.128129883107729e-05, "loss": 0.0299, "step": 2070 }, { "grad_norm": 0.5410195589065552, "learning_rate": 5.086802804600505e-05, "loss": 0.0274, "step": 2080 }, { "grad_norm": 0.4880181849002838, "learning_rate": 5.045469793236892e-05, "loss": 0.0294, "step": 2090 }, { "grad_norm": 0.5917567014694214, "learning_rate": 5.00413367407331e-05, "loss": 0.0283, "step": 2100 }, { "grad_norm": 0.7039130330085754, "learning_rate": 4.9627972723785964e-05, "loss": 0.029, "step": 2110 }, { "grad_norm": 0.5862762928009033, "learning_rate": 4.921463413440898e-05, "loss": 0.0275, "step": 2120 }, { "grad_norm": 0.6282902956008911, "learning_rate": 4.8801349223745654e-05, "loss": 0.031, "step": 2130 }, { "grad_norm": 0.6603245139122009, "learning_rate": 4.838814623927067e-05, "loss": 0.0314, "step": 2140 }, { "grad_norm": 0.7133777141571045, "learning_rate": 4.797505342285912e-05, "loss": 0.0387, "step": 2150 }, { "grad_norm": 0.5425176024436951, "learning_rate": 4.756209900885628e-05, "loss": 0.0305, "step": 2160 }, { "grad_norm": 0.505120575428009, "learning_rate": 4.714931122214781e-05, "loss": 0.0271, "step": 2170 }, { "grad_norm": 0.9349302649497986, "learning_rate": 4.673671827623058e-05, "loss": 0.0342, "step": 2180 }, { "grad_norm": 0.7071316838264465, "learning_rate": 4.632434837128443e-05, "loss": 0.0289, "step": 2190 }, { "grad_norm": 0.5970743894577026, "learning_rate": 4.591222969224453e-05, "loss": 0.0297, "step": 2200 }, { "grad_norm": 0.5889542698860168, "learning_rate": 4.550039040687518e-05, "loss": 0.0272, "step": 2210 }, { "grad_norm": 0.5532009601593018, "learning_rate": 4.508885866384446e-05, "loss": 0.0267, "step": 2220 }, { "grad_norm": 0.6706215739250183, "learning_rate": 4.4677662590800355e-05, "loss": 0.0318, "step": 2230 }, { "grad_norm": 0.5676529407501221, "learning_rate": 4.426683029244825e-05, "loss": 0.0262, "step": 2240 }, { "grad_norm": 0.6173540949821472, "learning_rate": 4.385638984863e-05, "loss": 0.0324, "step": 2250 }, { "grad_norm": 0.6744049787521362, "learning_rate": 4.3446369312404745e-05, "loss": 0.0309, "step": 2260 }, { "grad_norm": 0.5476619005203247, "learning_rate": 4.3036796708131474e-05, "loss": 0.0268, "step": 2270 }, { "grad_norm": 0.6796436905860901, "learning_rate": 4.262770002955363e-05, "loss": 0.033, "step": 2280 }, { "grad_norm": 0.6637139916419983, "learning_rate": 4.221910723788578e-05, "loss": 0.0299, "step": 2290 }, { "grad_norm": 0.5590459108352661, "learning_rate": 4.1811046259902474e-05, "loss": 0.0251, "step": 2300 }, { "grad_norm": 0.5378193855285645, "learning_rate": 4.140354498602952e-05, "loss": 0.0355, "step": 2310 }, { "grad_norm": 0.6256827116012573, "learning_rate": 4.099663126843769e-05, "loss": 0.0249, "step": 2320 }, { "grad_norm": 0.6720025539398193, "learning_rate": 4.059033291913902e-05, "loss": 0.0357, "step": 2330 }, { "grad_norm": 0.5933183431625366, "learning_rate": 4.0184677708086014e-05, "loss": 0.0268, "step": 2340 }, { "grad_norm": 0.6078234314918518, "learning_rate": 3.977969336127348e-05, "loss": 0.0322, "step": 2350 }, { "grad_norm": 0.5983296632766724, "learning_rate": 3.937540755884357e-05, "loss": 0.0268, "step": 2360 }, { "grad_norm": 0.6281983256340027, "learning_rate": 3.897184793319384e-05, "loss": 0.0278, "step": 2370 }, { "grad_norm": 0.6707501411437988, "learning_rate": 3.856904206708863e-05, "loss": 0.0253, "step": 2380 }, { "grad_norm": 0.6647341847419739, "learning_rate": 3.8167017491773847e-05, "loss": 0.0312, "step": 2390 }, { "grad_norm": 0.8275750875473022, "learning_rate": 3.776580168509516e-05, "loss": 0.0316, "step": 2400 }, { "grad_norm": 0.5873740315437317, "learning_rate": 3.736542206962e-05, "loss": 0.0255, "step": 2410 }, { "grad_norm": 0.6340767741203308, "learning_rate": 3.696590601076326e-05, "loss": 0.0265, "step": 2420 }, { "grad_norm": 0.641845166683197, "learning_rate": 3.656728081491686e-05, "loss": 0.0247, "step": 2430 }, { "grad_norm": 0.603389322757721, "learning_rate": 3.6169573727583405e-05, "loss": 0.0288, "step": 2440 }, { "grad_norm": 0.5162407755851746, "learning_rate": 3.5772811931514036e-05, "loss": 0.0254, "step": 2450 }, { "grad_norm": 0.6272436380386353, "learning_rate": 3.5377022544850505e-05, "loss": 0.0308, "step": 2460 }, { "grad_norm": 0.7291092276573181, "learning_rate": 3.498223261927158e-05, "loss": 0.0266, "step": 2470 }, { "grad_norm": 0.6241388320922852, "learning_rate": 3.4588469138144295e-05, "loss": 0.0274, "step": 2480 }, { "grad_norm": 0.6476150751113892, "learning_rate": 3.419575901467952e-05, "loss": 0.0216, "step": 2490 }, { "grad_norm": 0.5328429341316223, "learning_rate": 3.380412909009254e-05, "loss": 0.0293, "step": 2500 }, { "grad_norm": 0.6065444946289062, "learning_rate": 3.3413606131768475e-05, "loss": 0.027, "step": 2510 }, { "grad_norm": 0.45379891991615295, "learning_rate": 3.302421683143279e-05, "loss": 0.0249, "step": 2520 }, { "grad_norm": 0.4548630714416504, "learning_rate": 3.2635987803326896e-05, "loss": 0.0222, "step": 2530 }, { "grad_norm": 0.5352298617362976, "learning_rate": 3.224894558238918e-05, "loss": 0.0278, "step": 2540 }, { "grad_norm": 0.5491150617599487, "learning_rate": 3.18631166224413e-05, "loss": 0.0323, "step": 2550 }, { "grad_norm": 0.6421895027160645, "learning_rate": 3.147852729438017e-05, "loss": 0.0269, "step": 2560 }, { "grad_norm": 0.49433931708335876, "learning_rate": 3.109520388437548e-05, "loss": 0.0248, "step": 2570 }, { "grad_norm": 0.5705923438072205, "learning_rate": 3.0713172592073116e-05, "loss": 0.0273, "step": 2580 }, { "grad_norm": 0.6241349577903748, "learning_rate": 3.0332459528804457e-05, "loss": 0.0272, "step": 2590 }, { "grad_norm": 0.5651924014091492, "learning_rate": 2.9953090715801634e-05, "loss": 0.0241, "step": 2600 }, { "grad_norm": 0.5384116768836975, "learning_rate": 2.9575092082419086e-05, "loss": 0.0227, "step": 2610 }, { "grad_norm": 0.509711742401123, "learning_rate": 2.9198489464361288e-05, "loss": 0.0247, "step": 2620 }, { "grad_norm": 0.49270015954971313, "learning_rate": 2.8823308601916948e-05, "loss": 0.0221, "step": 2630 }, { "grad_norm": 0.5138627886772156, "learning_rate": 2.8449575138199613e-05, "loss": 0.0203, "step": 2640 }, { "grad_norm": 0.6082766056060791, "learning_rate": 2.807731461739509e-05, "loss": 0.0263, "step": 2650 }, { "grad_norm": 0.6013418436050415, "learning_rate": 2.7706552483015485e-05, "loss": 0.0346, "step": 2660 }, { "grad_norm": 0.46414029598236084, "learning_rate": 2.733731407616018e-05, "loss": 0.0275, "step": 2670 }, { "grad_norm": 0.5626088380813599, "learning_rate": 2.6969624633783806e-05, "loss": 0.0296, "step": 2680 }, { "grad_norm": 0.646644115447998, "learning_rate": 2.660350928697134e-05, "loss": 0.0236, "step": 2690 }, { "grad_norm": 0.5199466347694397, "learning_rate": 2.6238993059220395e-05, "loss": 0.0278, "step": 2700 }, { "grad_norm": 0.4700985848903656, "learning_rate": 2.5876100864730933e-05, "loss": 0.0259, "step": 2710 }, { "grad_norm": 0.460985004901886, "learning_rate": 2.5514857506702405e-05, "loss": 0.0236, "step": 2720 }, { "grad_norm": 0.5058575868606567, "learning_rate": 2.5155287675638474e-05, "loss": 0.0245, "step": 2730 }, { "grad_norm": 0.4717751443386078, "learning_rate": 2.4797415947659457e-05, "loss": 0.0251, "step": 2740 }, { "grad_norm": 0.4365053176879883, "learning_rate": 2.4441266782822588e-05, "loss": 0.0196, "step": 2750 }, { "grad_norm": 0.5330107808113098, "learning_rate": 2.4086864523450183e-05, "loss": 0.0224, "step": 2760 }, { "grad_norm": 0.4463423192501068, "learning_rate": 2.3734233392465903e-05, "loss": 0.023, "step": 2770 }, { "grad_norm": 0.5517666935920715, "learning_rate": 2.3383397491739145e-05, "loss": 0.0236, "step": 2780 }, { "grad_norm": 0.5296660661697388, "learning_rate": 2.3034380800437678e-05, "loss": 0.021, "step": 2790 }, { "grad_norm": 0.4861418306827545, "learning_rate": 2.2687207173388743e-05, "loss": 0.0231, "step": 2800 }, { "grad_norm": 0.46637606620788574, "learning_rate": 2.234190033944858e-05, "loss": 0.0249, "step": 2810 }, { "grad_norm": 0.5016855597496033, "learning_rate": 2.1998483899880596e-05, "loss": 0.0211, "step": 2820 }, { "grad_norm": 0.4817173182964325, "learning_rate": 2.1656981326742266e-05, "loss": 0.022, "step": 2830 }, { "grad_norm": 0.4342748522758484, "learning_rate": 2.1317415961280824e-05, "loss": 0.0236, "step": 2840 }, { "grad_norm": 0.6415548920631409, "learning_rate": 2.097981101233794e-05, "loss": 0.023, "step": 2850 }, { "grad_norm": 0.6101650595664978, "learning_rate": 2.0644189554763417e-05, "loss": 0.0237, "step": 2860 }, { "grad_norm": 0.5148629546165466, "learning_rate": 2.0310574527838072e-05, "loss": 0.0218, "step": 2870 }, { "grad_norm": 0.48258063197135925, "learning_rate": 1.9978988733705807e-05, "loss": 0.0208, "step": 2880 }, { "grad_norm": 0.37547311186790466, "learning_rate": 1.9649454835815202e-05, "loss": 0.0205, "step": 2890 }, { "grad_norm": 0.4704474210739136, "learning_rate": 1.932199535737045e-05, "loss": 0.0222, "step": 2900 }, { "grad_norm": 0.5294396281242371, "learning_rate": 1.8996632679791914e-05, "loss": 0.0342, "step": 2910 }, { "grad_norm": 0.4381456971168518, "learning_rate": 1.8673389041186418e-05, "loss": 0.0211, "step": 2920 }, { "grad_norm": 0.42719462513923645, "learning_rate": 1.8352286534827274e-05, "loss": 0.0216, "step": 2930 }, { "grad_norm": 0.4013920724391937, "learning_rate": 1.803334710764426e-05, "loss": 0.0216, "step": 2940 }, { "grad_norm": 0.37747734785079956, "learning_rate": 1.7716592558723556e-05, "loss": 0.0205, "step": 2950 }, { "grad_norm": 0.5202946066856384, "learning_rate": 1.7402044537817824e-05, "loss": 0.0269, "step": 2960 }, { "grad_norm": 0.41279396414756775, "learning_rate": 1.7089724543866465e-05, "loss": 0.0251, "step": 2970 }, { "grad_norm": 0.40571072697639465, "learning_rate": 1.6779653923526188e-05, "loss": 0.0196, "step": 2980 }, { "grad_norm": 0.34041446447372437, "learning_rate": 1.6471853869712023e-05, "loss": 0.0179, "step": 2990 }, { "grad_norm": 0.42061710357666016, "learning_rate": 1.6166345420148787e-05, "loss": 0.0244, "step": 3000 }, { "grad_norm": 0.5158095955848694, "learning_rate": 1.5863149455933158e-05, "loss": 0.0216, "step": 3010 }, { "grad_norm": 0.41170936822891235, "learning_rate": 1.5562286700106558e-05, "loss": 0.0267, "step": 3020 }, { "grad_norm": 0.45399728417396545, "learning_rate": 1.526377771623869e-05, "loss": 0.0199, "step": 3030 }, { "grad_norm": 0.3245198726654053, "learning_rate": 1.496764290702209e-05, "loss": 0.0177, "step": 3040 }, { "grad_norm": 0.37760722637176514, "learning_rate": 1.4673902512877585e-05, "loss": 0.0236, "step": 3050 }, { "grad_norm": 0.38196253776550293, "learning_rate": 1.438257661057093e-05, "loss": 0.0233, "step": 3060 }, { "grad_norm": 0.45368850231170654, "learning_rate": 1.4093685111840566e-05, "loss": 0.0258, "step": 3070 }, { "grad_norm": 0.5389854907989502, "learning_rate": 1.380724776203668e-05, "loss": 0.0217, "step": 3080 }, { "grad_norm": 0.4301796555519104, "learning_rate": 1.3523284138771642e-05, "loss": 0.0218, "step": 3090 }, { "grad_norm": 0.3713514804840088, "learning_rate": 1.3241813650581902e-05, "loss": 0.0224, "step": 3100 }, { "grad_norm": 0.3217933773994446, "learning_rate": 1.2962855535601438e-05, "loss": 0.0255, "step": 3110 }, { "grad_norm": 0.2873435318470001, "learning_rate": 1.2686428860246852e-05, "loss": 0.0195, "step": 3120 }, { "grad_norm": 0.3933936059474945, "learning_rate": 1.241255251791421e-05, "loss": 0.0232, "step": 3130 }, { "grad_norm": 0.3772847652435303, "learning_rate": 1.2141245227687731e-05, "loss": 0.0225, "step": 3140 }, { "grad_norm": 0.4199870824813843, "learning_rate": 1.1872525533060269e-05, "loss": 0.0219, "step": 3150 }, { "grad_norm": 0.426413893699646, "learning_rate": 1.1606411800666028e-05, "loss": 0.0194, "step": 3160 }, { "grad_norm": 0.34924307465553284, "learning_rate": 1.134292221902511e-05, "loss": 0.0235, "step": 3170 }, { "grad_norm": 0.355236679315567, "learning_rate": 1.1082074797300413e-05, "loss": 0.0197, "step": 3180 }, { "grad_norm": 0.38667434453964233, "learning_rate": 1.0823887364066737e-05, "loss": 0.0214, "step": 3190 }, { "grad_norm": 0.3902348279953003, "learning_rate": 1.0568377566092164e-05, "loss": 0.0252, "step": 3200 } ], "logging_steps": 10, "max_steps": 4000, "num_input_tokens_seen": 0, "num_train_epochs": 9223372036854775807, "save_steps": 3200, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 0.0, "train_batch_size": 32, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:89d4749c27db01e379cc701cdfe960f3fbc269590c753390dd3d9aea34b59f35size 8017123456789101112131415161718192021{ "task": "a18cr4", "frames": 48286, "source": "/mnt/nas/cross/Team/RobotAgent/Personal/baijiaqi/humanoid-benchmark-work/preflight-20261104T1648Z/policies-20261109/models/groot-n17-base", "recipe": "full fine-tune (tune_llm, tune_visual, projector, diffusion, vlln), fixed steps, 2 nodes x 8 x 32, no accumulation", "per_gpu_batch": 32, "gradient_accumulation_steps": 1, "num_nodes": 2, "world_size": 16, "global_batch": 512, "max_steps": 4000, "learning_rate": 0.0001, "warmup_ratio": 0.05, "lr_schedule": "linear warmup 5 %, cosine to 0", "save_steps": 3200, "save_list": [ 3200, 4000 ], "epochs_equivalent": 42.41}1{"project": "finetune-gr00t-n1d7", "run_id": "production"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960"""Put the full gated nvidia/Cosmos-Reason2-2B (pinned 9ce19a1) into the shared HF hub cache $G/hf-home/hub.
GR00T N1.7 builds its backbone with Qwen3VLForConditionalGeneration.from_pretrained("nvidia/Cosmos-Reason2-2B") andits processor with Qwen3VLProcessor.from_pretrained(same name) before loading the GR00T checkpoint, so every node needsthe whole repo resolvable by name. groot_node.sh runs with HF_HUB_OFFLINE=1, so nodes read this cache and never needthe token. refs/main is pinned to the verified revision.
Usage (token from stdin, kept in-process only): $G/envs/groot-py312/bin/python cache_cosmos_reason2.py $G/hf-home/hub < /root/.hb-secrets/hf_token"""import hashlibimport jsonimport osimport sysimport time
from huggingface_hub import HfApi, snapshot_download
REPO = "nvidia/Cosmos-Reason2-2B"REV = "9ce19a195e423419c349abfc86fd07178b230561"cache = os.path.abspath(sys.argv[1])token = sys.stdin.readline().strip()if not token.startswith("hf_"): raise SystemExit("token format rejected")api = HfApi(endpoint="https://huggingface.co", token=token)info = api.model_info(REPO, revision=REV, files_metadata=True)assert info.sha == REV, info.shat0 = time.monotonic()for attempt in range(1, 21): try: path = snapshot_download(REPO, revision=REV, cache_dir=cache, token=token, max_workers=8) break except Exception as error: # transient stalls if any(k in str(error).lower() for k in ("gated", "401", "403")): raise print(f"retry {attempt}: {type(error).__name__}: {str(error)[:200]}", flush=True) time.sleep(10)else: raise SystemExit("download did not finish")token = Nonecount, size = 0, 0for s in info.siblings: f = os.path.join(path, s.rfilename) assert os.path.isfile(f), s.rfilename if s.size is not None: assert os.path.getsize(f) == s.size, s.rfilename if s.lfs is not None: h = hashlib.sha256() with open(f, "rb") as stream: for chunk in iter(lambda: stream.read(1 << 22), b""): h.update(chunk) assert h.hexdigest() == s.lfs.sha256, s.rfilename count += 1 size += s.size or 0refs = os.path.join(cache, "models--" + REPO.replace("/", "--"), "refs")os.makedirs(refs, exist_ok=True)with open(os.path.join(refs, "main"), "w") as f: f.write(REV)print("CACHE_OK", json.dumps({"repo": REPO, "revision": REV, "snapshot": path, "files": count, "bytes": size, "seconds": round(time.monotonic() - t0, 1)}), flush=True)1234567891011121314151617181920212223242526"""CPU check that GR00T's Cosmos-Reason2-2B pieces load offline from $G/hf-home exactly as groot_node.sh will.
Usage: HF_HOME=$G/hf-home HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 $G/envs/groot-py312/bin/python check_reason2_offline.py"""import jsonimport osimport sysfrom pathlib import Path
import torch
sys.path.insert(0, str(Path(__file__).resolve().parent))import hb_offline_fix # noqa: E402,F401from transformers import AutoConfig, Qwen3VLForConditionalGeneration, Qwen3VLProcessor
assert os.environ.get("HF_HUB_OFFLINE") == "1", "run with HF_HUB_OFFLINE=1"name = "nvidia/Cosmos-Reason2-2B"torch.set_num_threads(8)proc = Qwen3VLProcessor.from_pretrained(name, trust_remote_code=True)cfg = AutoConfig.from_pretrained(name, trust_remote_code=True)ids = proc.tokenizer("pick up the trash and drop it in the bin")["input_ids"]model = Qwen3VLForConditionalGeneration.from_pretrained(name, torch_dtype=torch.bfloat16)n = sum(p.numel() for p in model.parameters())print("REASON2_OFFLINE_OK", json.dumps({"processor": type(proc).__name__, "tokens": len(ids), "model_type": cfg.model_type, "params_M": round(n / 1e6, 1), "llm_layers": len(model.model.language_model.layers)}), flush=True)123456789101112131415161718192021222324252627"""G1 feedback76 / H16 GR00T modality config (copy of HumanWAM configs/humanwam/groot/feedback76_h16.py @ c76527b).
The matching modality.json is generated per dataset from the recorded joint names (prepare_groot_data.py);HumanWAM's feedback76_modality.json has right_arm at observation.state[29:36] (left-hand fingers), which is wrongfor our G1 exports (right arm is [22:29])."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
feedback76_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["ego_view", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["motion_token", "left_hand_joints", "right_hand_joints"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(feedback76_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324"""G1 joint47 / H40 stride-2 GR00T modality config (2026-11-18 user: joint-angle action experiment, aligned withHumanWAM joint47 v2): action rows at source offsets 0,2,...,78 of body29 | Inspire left6 | right6 | root rotation6D(current-heading relative, hb_j47.py). State44 and cameras as feedback76."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
g1_joint47_h40 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["ego_view", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(0, 80, 2)), modality_keys=["body29", "left_hand_target", "right_hand_target", "root_rot6d"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(4)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(g1_joint47_h40, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139"""Per-node GR00T relay: per-layout batch-size probe (largest that fits), then 20-epoch production per task.
Run on every node (nohup), node rank from the DLC env RANK: python groot_chain.py [task ...]Default tasks: b6 a3 a7 a18 (basket postponed). A phase succeeds only if all 4 node launchers exit 0.
Batch (user rule: as large as memory allows, 2026-11-10): descending CANDIDATES, 4 steps each on all 32 GPUs; acandidate fits when all launchers exit 0 AND the peak reserved memory of every rank (written by hb_launch.py tologs/peak-<phase>-rank<r>.json) is <= MAX_FRAC of the GPU. Node 0 alone judges each probe and writes a verdict filethe other nodes wait for, so all nodes take the same decision. One decision per robot layout (g1 / h2).Outputs: $G/groot-runs-bmax/ (the earlier per-GPU-64 runs stay in $G/groot-runs/)."""import fcntlimport jsonimport mathimport osimport shutilimport subprocessimport sysimport timefrom pathlib import Path
H = Path(__file__).resolve().parentG = H.parentRUNS = G / os.environ.get("HB_GROOT_RUNS_NAME", "groot-runs-bmax")NODE = int(os.environ["RANK"])TASKS = sys.argv[1:] or ["b6", "a3", "a7", "a18"] # basket postponed (user plan 2026-11-10)CANDIDATES = [320, 288, 256, 224, 192, 160, 128, 96, 64, 48, 32]MAX_FRAC = 0.92EPOCHS = 20PORT_BASE = int(os.environ.get("HB_GROOT_PORT_BASE", "32500")) # probe PORT_BASE+i, production PORT_BASE+50+kRUNS.mkdir(parents=True, exist_ok=True)os.environ["HB_GROOT_RUNS"] = str(RUNS) # read by groot_node.shlock = (RUNS / f"chain-node-{NODE}.lock").open("a")fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB)
def log(msg): line = f"{time.strftime('%Y-%m-%d %H:%M:%S')} node{NODE} {msg}" print(line, flush=True) with (RUNS / f"chain-node-{NODE}.log").open("a") as f: f.write(line + "\n")
def run_phase(task, phase, bs, steps, save, port): logs = RUNS / task / "logs" exits = [logs / f"{phase}-node-{r}.exit" for r in range(4)] if all(p.is_file() for p in exits): return all(p.read_text().strip() == "0" for p in exits) subprocess.run(["bash", str(H / "groot_node.sh"), task, phase, str(bs), str(steps), str(save), str(port)]) deadline = time.monotonic() + 600 while not all(p.is_file() for p in exits): if time.monotonic() > deadline: log(f"{task}/{phase}: timed out waiting for peer exit files") return False time.sleep(5) ok = all(p.read_text().strip() == "0" for p in exits) log(f"{task}/{phase}: bs={bs} steps={steps} -> {'OK' if ok else 'FAIL'}") return ok
def peak_frac(task, phase): """Max over ranks of peak reserved / total; None when no rank reported.""" fracs = [] for f in (RUNS / task / "logs").glob(f"peak-{phase}-rank*.json"): try: d = json.loads(f.read_text()) fracs.append(d["peak_reserved_gb"] / d["total_gb"]) except (ValueError, KeyError, OSError): continue return (max(fracs), len(fracs)) if fracs else (None, 0)
def probe_verdict(task, cand, port): phase = f"probe-bs{cand}" verdict = RUNS / task / "logs" / f"{phase}.verdict.json" ok = run_phase(task, phase, cand, 4, 1000000, port) if NODE == 0 and not verdict.is_file(): time.sleep(10) # let peak files from the other nodes become visible on NAS frac, n = peak_frac(task, phase) if ok else (None, 0) fits = bool(ok and frac is not None and frac <= MAX_FRAC) verdict.write_text(json.dumps({"per_gpu_batch": cand, "ran_ok": ok, "peak_frac": frac, "ranks_reported": n, "max_frac": MAX_FRAC, "fits": fits}) + "\n") deadline = time.monotonic() + 600 while not verdict.is_file(): if time.monotonic() > deadline: log(f"{task}/{phase}: no verdict from node 0") return False time.sleep(5) v = json.loads(verdict.read_text()) log(f"{task}/{phase}: verdict {v}") return v["fits"]
def prune_resume_state(out): """Keep weights of every checkpoint but resume state (DeepSpeed optimizer shards, scheduler, RNG) only in the latest.""" ckpts = sorted((p for p in out.glob("checkpoint-*") if p.name.split("-")[-1].isdigit()), key=lambda p: int(p.name.split("-")[-1])) for c in ckpts[:-1]: for p in list(c.glob("global_step*")) + list(c.glob("optimizer*.pt")) + list(c.glob("scheduler.pt")) \ + list(c.glob("rng_state*.pth")) + list(c.glob("latest")) + list(c.glob("zero_to_fp32.py")): if p.is_dir(): shutil.rmtree(p, ignore_errors=True) else: p.unlink(missing_ok=True) log(f"{c.name}: resume state dropped (weights kept)")
def batch_for(task): layout = "h2" if task in ("a17", "a18") else "g1" decision = RUNS / f"batch-decision-{layout}.json" if decision.is_file(): return json.loads(decision.read_text())["per_gpu_batch"] for i, cand in enumerate(CANDIDATES): if probe_verdict(task, cand, PORT_BASE + i + (20 if layout == "h2" else 0)): if NODE == 0: decision.write_text(json.dumps({"per_gpu_batch": cand, "global_batch": cand * 32, "probe_task": task, "layout": layout, "candidates": CANDIDATES, "max_frac": MAX_FRAC}) + "\n") return cand time.sleep(20) log(f"{layout}: no batch size fit; stopping") sys.exit(1)
for k, task in enumerate(TASKS): bs = batch_for(task) log(f"{task}: per-GPU batch {bs} (global {bs * 32})") receipt = json.loads((G / "groot-data" / task / "hb-dataset-receipt.json").read_text()) steps = math.ceil(EPOCHS * receipt["frames"] / (bs * 32)) save = math.ceil(steps / 2) if not run_phase(task, "production", bs, steps, save, PORT_BASE + 50 + k): log(f"{task}: production failed; stopping chain") sys.exit(1) if NODE == 0: prune_resume_state(RUNS / task / "production") (RUNS / task / "production-complete.json").write_text(json.dumps( {"task": task, "frames": receipt["frames"], "epochs": EPOCHS, "per_gpu_batch": bs, "global_batch": bs * 32, "max_steps": steps, "save_steps": save}) + "\n")log("all tasks done")123456789101112131415161718192021222324"""A18 H2 (Sharpa hands) GR00T modality config, same protocol as the A18 Delta-flow run(schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projectedgravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2_body31_hand44_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["body_target", "left_hand_target", "right_hand_target"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324"""2026-11-15 user: action horizon 32 copy of h2_body31_hand44_h16.py. A18 H2 (Sharpa hands) GR00T modality config, same protocol as the A18 Delta-flow run(schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projectedgravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2_body31_hand44_h32 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(32)), modality_keys=["body_target", "left_hand_target", "right_hand_target"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2_body31_hand44_h32, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)12345678910111213141516171819202122232425"""A14 v2 H2 (Sharpa hands) GR00T modality config (H2 training guide hb_training/docs/h2/a14_training_guide.md 4.1):cameras head + chest, state78 = 75 joints + projected gravity, action82 = action.body_target (31) + action.hands (44)+ action.planner (7, the SONIC planner command), horizon 16, absolute targets. Identical to h2_body31_hand44_h16.pyexcept the added `planner` action modality."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2_body31_hand44_planner7_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["body_target", "left_hand_target", "right_hand_target", "planner"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(4)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2_body31_hand44_planner7_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)123456789101112131415161718192021222324"""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(schema a18-h2-sharpa-body31-hand44-state78-chunk16-v1): cameras head+chest, state = 75 joints + projectedgravity, action = action.body_target (31) + action.hands (44), horizon 16, absolute targets."""from gr00t.configs.data.embodiment_configs import register_modality_configfrom gr00t.data.embodiment_tags import EmbodimentTagfrom gr00t.data.types import ActionConfig, ActionFormat, ActionRepresentation, ActionType, ModalityConfig
h2w3_body31_hand44_h16 = { "video": ModalityConfig(delta_indices=[0], modality_keys=["head", "chest", "wrist"]), "state": ModalityConfig( delta_indices=[0], modality_keys=["left_leg", "right_leg", "waist", "left_arm", "right_arm", "head", "left_hand", "right_hand", "projected_gravity"], ), "action": ModalityConfig( delta_indices=list(range(16)), modality_keys=["body_target", "left_hand_target", "right_hand_target"], action_configs=[ActionConfig(rep=ActionRepresentation.ABSOLUTE, type=ActionType.NON_EEF, format=ActionFormat.DEFAULT) for _ in range(3)], ), "language": ModalityConfig(delta_indices=[0], modality_keys=["annotation.human.task_description"]),}
register_modality_config(h2w3_body31_hand44_h16, embodiment_tag=EmbodimentTag.NEW_EMBODIMENT)a18-pour-water/b512-trim3f/step-003200/code/hb_groot/cache_cosmos_reason2.pyAdded+60
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/check_reason2_offline.pyAdded+26
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/g1_feedback76_h16.pyAdded+27
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/g1_joint47_h40.pyAdded+24
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/groot_chain.pyAdded+139
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2_body31_hand44_h16.pyAdded+24
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2_body31_hand44_h32.pyAdded+24
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2_body31_hand44_planner7_h16.pyAdded+25
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/h2w3_body31_hand44_h16.pyAdded+24
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_aug_v2.pyAdded+163
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_inloop_eval.pyAdded+347
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_j47.pyAdded+39
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_launch.pyAdded+121
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_launch_v.pyAdded+102
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/hb_offline_fix.pyAdded+24
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/prepare_groot_data.pyAdded+212
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/prepare_groot_j47.pyAdded+127
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/upload_groot_j47.pyAdded+66
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/verify_groot_cpu.pyAdded+57
a18-pour-water/b512-trim3f/step-003200/code/hb_groot/verify_j47_cpu.pyAdded+59
a18-pour-water/b512-trim3f/step-003200/config.jsonAdded+90
a18-pour-water/b512-trim3f/step-003200/dataset_meta/hb-dataset-receipt.jsonAdded+47
a18-pour-water/b512-trim3f/step-003200/dataset_meta/modality.jsonAdded+79
a18-pour-water/b512-trim3f/step-003200/embodiment_id.jsonAdded+57
a18-pour-water/b512-trim3f/step-003200/experiment_cfg/conf.yamlAdded+235
a18-pour-water/b512-trim3f/step-003200/experiment_cfg/config.yamlAdded+233
a18-pour-water/b512-trim3f/step-003200/experiment_cfg/dataset_statistics.jsonAdded+1095
a18-pour-water/b512-trim3f/step-003200/experiment_cfg/final_model_config.jsonAdded+58
a18-pour-water/b512-trim3f/step-003200/experiment_cfg/final_processor_config.jsonAdded
a18-pour-water/b512-trim3f/step-003200/loss_curve.csvAdded+401
a18-pour-water/b512-trim3f/step-003200/model-00001-of-00002.safetensorsAdded+3
a18-pour-water/b512-trim3f/step-003200/model-00002-of-00002.safetensorsAdded+3
a18-pour-water/b512-trim3f/step-003200/model.safetensors.index.jsonAdded
a18-pour-water/b512-trim3f/step-003200/processor_config.jsonAdded+1138
a18-pour-water/b512-trim3f/step-003200/protocol.jsonAdded+120
a18-pour-water/b512-trim3f/step-003200/statistics.jsonAdded
a18-pour-water/b512-trim3f/step-003200/train.logAdded
a18-pour-water/b512-trim3f/step-003200/trainer_state.jsonAdded+1954
a18-pour-water/b512-trim3f/step-003200/training_args.binAdded+3
a18-pour-water/b512-trim3f/step-003200/training_plan.jsonAdded+21
a18-pour-water/b512-trim3f/step-003200/wandb_config.jsonAdded+1
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/cache_cosmos_reason2.pyAdded+60
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/check_reason2_offline.pyAdded+26
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/g1_feedback76_h16.pyAdded+27
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/g1_joint47_h40.pyAdded+24
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/groot_chain.pyAdded+139
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2_body31_hand44_h16.pyAdded+24
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2_body31_hand44_h32.pyAdded+24
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2_body31_hand44_planner7_h16.pyAdded+25
a18-pour-water/b512-trim3f/step-004000/code/hb_groot/h2w3_body31_hand44_h16.pyAdded+24