|
Download debug/536/lora_train/README.md from prlq/mobilemanipbench-data: direct link, hf CLI and curl.
- Browser
- Download file 1.99 kB
-
https://huggingface.co/datasets/prlq/mobilemanipbench-data/resolve/main/debug/536/lora_train/README.md
- Command line
-
hf download hf://datasets/prlq/mobilemanipbench-data/debug/536/lora_train/README.md
-
curl -L -o README.md https://huggingface.co/datasets/prlq/mobilemanipbench-data/resolve/main/debug/536/lora_train/README.md
1.99 kB
| # Per-cell pi0.5 LoRA training package (536 / nova, 2026-11-16) | |
| Same recipe as the two N025 LoRAs running on 536 (single L40S: batch 32, 3.0 s/step, 10K steps ~8.3 h). | |
| ## Data | |
| `mmb/n025_saw/` here = the converted LeRobot v2.1 dataset of N025 sawyer_umi: dr_off (50, original) + dr_on_perturb (51, new) = 101 episodes, 141,414 frames, | |
| made with `canonical_action_v2/convert_merge.py <raw> <out> --v2` (raw = HF `N025/sawyer_umi/{dr_off,dr_on_perturb}/...`). Put it at `$HF_LEROBOT_HOME/mmb/n025_saw`. | |
| Other cells: same conversion on `<TASK>/<robot>/dr_off` + `<TASK>/<robot>/dr_on_perturb` (run from the canonical_action_v2 dir so `import canonical_action` works). | |
| ## Config | |
| `python add_lora_config2.py <openpi>/src/openpi/training/config.py n025_saw` adds TrainConfig `pi05_mmb_v3_lora_n025_saw`. EDIT the `CK = ...` line first to your | |
| pi05_v3/80000 path (it loads `<CK>/params`, stats from `<CK>/assets/mmb/v2t`). LoRA: paligemma gemma_2b_lora + action expert gemma_300m_lora (backbone frozen), | |
| batch 32, cosine 500 warm-up -> 2.5e-5 -> 2.5e-6 over 10K, no EMA, save every 2K (keep all). | |
| ## Train (4 GPUs = data parallel over the visible devices; global batch stays 32) | |
| ``` | |
| export HF_LEROBOT_HOME=<dir with mmb/n025_saw> OPENPI_DATA_HOME=<openpi data> OPENPI_SKIP_IMAGE_KEYS=right_wrist_0_rgb XLA_PYTHON_CLIENT_MEM_FRACTION=0.92 | |
| cd <openpi> && uv run --no-sync python scripts/train.py pi05_mmb_v3_lora_n025_saw --exp-name n025_saw_10k --overwrite | |
| ``` | |
| Checkpoints: `<openpi>/checkpoints/pi05_mmb_v3_lora_n025_saw/n025_saw_10k/<step>/`. | |
| ## Serve / eval | |
| Serve with the usual pi05 server but `--config pi05_mmb_v3_lora_n025_saw --checkpoint <step dir>`; the server must look the per-robot stats up under the asset id | |
| `mmb/v2t` (536 patch in pi05_serve_mmb_policy.py: also try `cfg.data.assets.asset_id`). Eval: N025 sawyer_umi, seeds 90001-90005, `--visual-dr off`, nexec 5 | |
| (baseline 80K: 0/5 on these seeds), eval code = mobile-ready 7fc2f64009 + the velocity (cs0) and wall-clock patches. | |