LGG100 commited on
Commit
3acefc3
·
verified ·
1 Parent(s): b774c81

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +10 -0
  2. README.md +107 -0
  3. imagewam/configs/data/rm65_4tasks_trim.yaml +177 -0
  4. imagewam/configs/task/rm65_4tasks_trim_flux2_klein_4b.yaml +71 -0
  5. imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/4209cad0df0b8634a81bafffdb6d0cba5ba39be09c2c2c27bab26530d7535150.qwen3_flux2_len128.pt +3 -0
  6. imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/559944487d779991b5397cf75bf04cfef53b82b81a5dda9e7c9aa384c0ac4cc0.qwen3_flux2_len128.pt +3 -0
  7. imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/8eb884336568f01c3644e5f49f3e24f5d3b2a967a793ddd0f726c264b80d5474.qwen3_flux2_len128.pt +3 -0
  8. imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/b1c871416f464976be1046bef84d85ecd57dc6c75bcf04ad7c62263833374ab8.qwen3_flux2_len128.pt +3 -0
  9. imagewam/runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03/checkpoints/weights/step_006000.pt +3 -0
  10. imagewam/runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03/config.yaml +371 -0
  11. imagewam/runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03/dataset_stats.json +1062 -0
  12. imagewam/scripts/rm65/run_train_rm65_4tasks_trim.sh +101 -0
  13. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/_CHECKPOINT_METADATA +1 -0
  14. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/assets/rm65/4tasks_v1_trim/norm_stats.json +80 -0
  15. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/_METADATA +1 -0
  16. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/_sharding +1 -0
  17. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/array_metadatas/process_0 +1 -0
  18. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/d/0cd8ac5577e7944068f6e6974cb7bb0a +0 -0
  19. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/manifest.ocdbt +0 -0
  20. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/0142bc15f6939338b6e5adc975f24636 +0 -0
  21. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/25f9d93df7adefdd09f13709ad7405ac +3 -0
  22. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/530bcf4c80475910f788fc4e0549e9db +3 -0
  23. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/6093a840c30fa64e9625b72899965ef4 +0 -0
  24. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/672505ea0f45854a51522b6f72c74956 +3 -0
  25. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/843484256f847393a1fad4f4be6cc579 +3 -0
  26. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/8533c4eac50e34df8425eefdffd94e26 +0 -0
  27. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/bc79931d9f67d3d5681a71493cfe31e3 +3 -0
  28. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/c95ff8bf848a5b7950899927920aa250 +0 -0
  29. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/fcce80bee76d672f607056f601c435a9 +0 -0
  30. openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/manifest.ocdbt +0 -0
  31. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/_CHECKPOINT_METADATA +1 -0
  32. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/assets/rm65/4tasks_v1_trim/norm_stats.json +80 -0
  33. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/_METADATA +1 -0
  34. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/_sharding +1 -0
  35. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/array_metadatas/process_0 +1 -0
  36. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/d/e610643a131a0630d9536f1fb53ebfde +0 -0
  37. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/manifest.ocdbt +0 -0
  38. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/226ae31e99c7333a61450a00ba995095 +3 -0
  39. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/25c15778c6ec0c2abc8de29f5e2e2ff9 +0 -0
  40. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/8bed6baef79be862046a0e3271c1595b +0 -0
  41. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/965786e7a16a28ab7bfade6250af4dbc +3 -0
  42. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/a1b59a1f3c82e649f8737c81e7144c71 +3 -0
  43. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/b4b2026c2109777c015c6d32cb3f100e +0 -0
  44. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/be600bb25bbb4a56f17d7e8ac6a7d170 +3 -0
  45. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/f65dc4a06590f10c9806e235cda540c2 +3 -0
  46. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/fbc96d675129f98b3f7f0a09a0629280 +0 -0
  47. openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/manifest.ocdbt +0 -0
  48. openpi/code/rm65_config_excerpt.py +88 -0
  49. openpi/code/scripts/merge_datasets.py +169 -0
  50. openpi/code/scripts/trim_static_frames.py +152 -0
.gitattributes CHANGED
@@ -33,3 +33,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/530bcf4c80475910f788fc4e0549e9db filter=lfs diff=lfs merge=lfs -text
37
+ openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/be600bb25bbb4a56f17d7e8ac6a7d170 filter=lfs diff=lfs merge=lfs -text
38
+ openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/bc79931d9f67d3d5681a71493cfe31e3 filter=lfs diff=lfs merge=lfs -text
39
+ openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/f65dc4a06590f10c9806e235cda540c2 filter=lfs diff=lfs merge=lfs -text
40
+ openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/965786e7a16a28ab7bfade6250af4dbc filter=lfs diff=lfs merge=lfs -text
41
+ openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/843484256f847393a1fad4f4be6cc579 filter=lfs diff=lfs merge=lfs -text
42
+ openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/a1b59a1f3c82e649f8737c81e7144c71 filter=lfs diff=lfs merge=lfs -text
43
+ openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/672505ea0f45854a51522b6f72c74956 filter=lfs diff=lfs merge=lfs -text
44
+ openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/25f9d93df7adefdd09f13709ad7405ac filter=lfs diff=lfs merge=lfs -text
45
+ openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/226ae31e99c7333a61450a00ba995095 filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ tags: [robotics, rm65, openpi, pi05, imagewam]
4
+ ---
5
+ # RealMan RM65 right-arm policies: pi0.5 (openpi) and ImageWAM (private)
6
+
7
+ This repo holds two policies finetuned on the same RealMan RM65 right-arm dataset. The dataset has
8
+ 4 pick-and-hold tasks, 187 episodes and 58,399 frames. Each policy comes with its two latest checkpoints.
9
+
10
+ | model | training run | checkpoints | size each |
11
+ |---|---|---|---|
12
+ | pi0.5 (openpi) | `pi05_rm65_4tasks_trim`, 30k steps | `25000`, `29999` (final) | 6.7G (params only, no optimizer state) |
13
+ | ImageWAM FLUX.2-klein-4B | `rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03`, 10 epochs | `step_006000.pt`, `step_006020.pt` (final) | 17.8G |
14
+
15
+ ## Robot interface (both models)
16
+
17
+ - **State and action:** each is `float32[7]` = `right_q1..right_q6` (joint angles, rad) + `right_gripper`
18
+ (0 = closed, 100 = open). Actions are **absolute** joint targets, not deltas.
19
+ - **Cameras:** `top` (head) and `wrist` (right wrist), both 640x480 RGB, recorded at 30 fps.
20
+ - **Prompts:** use the exact strings the models were trained on. Each one names the object to pick:
21
+ - `Pick up the rightmost yellow Lay's canister with the right arm and retract while keeping it grasped.`
22
+ - `Pick up the rightmost Nongfu Spring water bottle with the right arm, retract, and hold it without releasing it.`
23
+ - `Pick up the rightmost hand soap bottle, retract the arm, and hold the bottle without releasing it.`
24
+ - `Pick up the rightmost Coca-Cola container, retract the arm, and hold it without releasing it.`
25
+
26
+ ## Training data
27
+
28
+ The training data merges the 4 per-task deliveries (`rm65_4tasks_187_20260921_delivery`: yellow / nongfu /
29
+ handsoap / cocacola) and then trims them:
30
+
31
+ - **Head:** the static frames at the start of every episode are dropped.
32
+ - **Tail:** the static frames at the end are cut to 10.
33
+ - **Middle:** short pauses inside an episode are kept.
34
+ - **Result:** 66,121 frames down to 58,399.
35
+
36
+ To rebuild the dataset, run these two scripts in order:
37
+ 1. `openpi/code/scripts/merge_datasets.py`
38
+ 2. `openpi/code/scripts/trim_static_frames.py`
39
+
40
+ ## openpi pi0.5 — `openpi/`
41
+
42
+ - **Checkpoints:** `checkpoints/pi05_rm65_4tasks_trim/<step>/` contains `params/` and
43
+ `assets/rm65/4tasks_v1_trim/norm_stats.json`. The norm stats must stay next to the params they came with.
44
+ - **Code** (`code/`):
45
+ - **`rm65_config_excerpt.py`** holds `LeRobotRM65DataConfig` plus the `pi05_rm65_4tasks_trim` TrainConfig.
46
+ Add both to `src/openpi/training/config.py`.
47
+ - **`b601_policy.py`** provides the input/output transforms. RM65 has the same 7-dim, two-camera layout
48
+ as B601, so they are reused unchanged.
49
+ - **Model and training setup:**
50
+ - pi0.5 base, `action_horizon=30` (1 s of actions at 30 fps).
51
+ - SigLIP trained fully, the Gemma-2B LLM with LoRA, the action expert fully.
52
+ - Batch 32, 30k steps.
53
+ - **Serving:**
54
+
55
+ uv run scripts/serve_policy.py policy:checkpoint \
56
+ --policy.config=pi05_rm65_4tasks_trim \
57
+ --policy.dir=<this repo>/openpi/checkpoints/pi05_rm65_4tasks_trim/29999
58
+
59
+ - **Inference input:** `observation/top`, `observation/wrist` (HxWx3 uint8), `observation/state` (7) and `prompt`.
60
+ - **Inference output:** `actions` of shape [30, 7].
61
+
62
+ ## ImageWAM — `imagewam/`
63
+
64
+ The layout mirrors the ImageWAM repo root, so you can copy this directory over `<IW>/ImageWAM/`:
65
+
66
+ - **Weights and stats:**
67
+ - `runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03/checkpoints/weights/step_*.pt` are the
68
+ full model weights, with LoRA merged.
69
+ - **`dataset_stats.json`** in the same run directory holds the normalization stats. It must always be
70
+ paired with the checkpoints from **this run**.
71
+ - `config.yaml` in the same run directory is the resolved training config. Its absolute paths point
72
+ to the original machine.
73
+ - **Configs and launch script:**
74
+ - `configs/data/rm65_4tasks_trim.yaml`
75
+ - `configs/task/rm65_4tasks_trim_flux2_klein_4b.yaml`
76
+ - `scripts/rm65/run_train_rm65_4tasks_trim.sh`
77
+ - **Text cache:** `dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/` holds the Qwen3 embeddings of the 4 prompts,
78
+ so you don't need to run Qwen3 again for them.
79
+
80
+ **How RM65 maps onto the model:** the base checkpoint is the RoboTwin 14-dim joint-space model, with layout
81
+ `[arm 6, gripper] x 2`. RM65 occupies the **left-arm slot**:
82
+
83
+ - **Action and state:** the 7 dims sit at `[0:7]` of the model's 14 dims. `[7:14]` is zero padding and is
84
+ masked out of the loss. Take `action[..., :7]` from the model output.
85
+ - **Cameras:** the robotwin 288x256 layout has three slots, filled like this:
86
+ - `cam_high` <- `top`
87
+ - `cam_left` <- `wrist`
88
+ - `cam_right` <- a black (all-zero) frame
89
+ - **Action chunk:** 16 steps at 30 fps.
90
+
91
+ **Training setup:**
92
+ - LoRA with rank 16 on the video expert; the action expert is trained fully.
93
+ - Learning rate 5e-5.
94
+ - Effective batch 96, 10 epochs.
95
+ - The loss is upweighted around gripper open/close transitions.
96
+
97
+ **Serving:** the ImageWAM repo only ships a G1 serving script (`scripts/g1/serve_imagewam_g1.py`,
98
+ which is 16-dim and G1-specific). An RM65 server has not been written yet. It has to reproduce the camera
99
+ and dimension mapping above.
100
+
101
+ ## Not included
102
+
103
+ - **FLUX.2 base weights** (needed to build ImageWAM):
104
+ - `flux-2-klein-base-4b.safetensors` from black-forest-labs/FLUX.2-klein-base-4B
105
+ - `ae.safetensors` from black-forest-labs/FLUX.2-dev (gated)
106
+ - **pi0.5 base weights:** only needed for retraining, from `gs://openpi-assets/checkpoints/pi05_base`.
107
+ - **The dataset itself.**
imagewam/configs/data/rm65_4tasks_trim.yaml ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # RealMan RM65 right-arm, 4-task (rm65/4tasks_v1_trim) data config for FLUX.2 ImageWAM.
2
+ #
3
+ # Finetunes the RoboTwin FLUX.2-klein-4B release checkpoint, so the shape settings mirror
4
+ # the data config that base was trained with (checkpoints/imagewam_release/robotwin/
5
+ # flux2_klein_4b/config.yaml): 3 camera slots in the robotwin compact_288x256 layout,
6
+ # 14-dim joint-space action/state, z-score normalization.
7
+ #
8
+ # RM65 is a single 6-DoF arm, action/state float32[7] = right_q1..q6 (rad) + right_gripper
9
+ # (0 = closed .. 100 = open). That is exactly one RoboTwin arm (6 joints + gripper), so
10
+ # instead of rewriting the base's action layers the 7 dims are placed in the base's
11
+ # LEFT-arm slot [0:7] and the right-arm slot [7:14] is zero-padded:
12
+ # - ConcatLeftAlign(target 14) puts the 7 dims at [0:7] and marks [7:14] in
13
+ # action_dim_is_pad / proprio_dim_is_pad; the action loss drops those dims.
14
+ # - Normalization runs on the raw 7 dims before padding, so the pad never gets stats.
15
+ # The cameras follow the same slot: the wrist camera goes into cam_left (the left-arm
16
+ # wrist slot), and the missing third camera (cam_right) is zero-filled by the processor
17
+ # (num_output_cameras: 3 > 2 input cameras):
18
+ # cam_high <- observation.images.top
19
+ # cam_left <- observation.images.wrist
20
+ # cam_right <- zeros
21
+ #
22
+ # Dataset: rm65/4tasks_v1_trim, built by openpi-fintune/scripts/trim_static_frames.py from
23
+ # the 4 merged deliveries (yellow / nongfu / handsoap / cocacola): 187 episodes,
24
+ # 58,399 frames, 4 tasks, 30 fps, av1. The static head of every episode is dropped and
25
+ # the static tail cut to 10 frames. Kept rows keep their original `timestamp`, and the
26
+ # video frame is decoded at that timestamp from the untouched per-episode mp4, so no
27
+ # nonidle_filter is needed on top.
28
+ #
29
+ # `pretrained_norm_stats` is null: RoboTwin's stats describe a different robot, so stats
30
+ # are recomputed here and written to the run dir.
31
+ # Paths are overridden by scripts/rm65/run_train_rm65_4tasks_trim.sh.
32
+
33
+ train:
34
+ _target_: imagewam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
35
+ dataset_dirs:
36
+ - /shared/user64/workspace/yuhao/pi/data/rm65/4tasks_v1_trim
37
+ shape_meta:
38
+ images:
39
+ - key: cam_high
40
+ lerobot_key: observation.images.top
41
+ raw_shape: [3, 480, 640]
42
+ shape: [3, 240, 320]
43
+ - key: cam_left
44
+ lerobot_key: observation.images.wrist
45
+ raw_shape: [3, 480, 640]
46
+ shape: [3, 240, 320]
47
+ action:
48
+ - key: default
49
+ lerobot_key: action
50
+ raw_shape: 7
51
+ shape: 7
52
+ state:
53
+ - key: default
54
+ lerobot_key: observation.state
55
+ raw_shape: 7
56
+ shape: 7
57
+ num_frames: 17
58
+ global_sample_stride: 1
59
+ sample_index_stride: 1
60
+ action_video_freq_ratio: 1 # 16 action steps, video endpoints only
61
+ video_size: [288, 256]
62
+ camera_key: null
63
+ val_set_proportion: 0.01
64
+ is_training_set: true
65
+ pretrained_norm_stats: null
66
+ skip_padding_as_possible: false
67
+ concat_multi_camera: "robotwin"
68
+ robotwin_camera_layout: "compact_288x256"
69
+ endpoint_frames_only: true
70
+ nonidle_filter_path: null
71
+ video_augmentation:
72
+ _target_: imagewam.datasets.lerobot.transforms.image.VideoAugmentation
73
+ p: 0.5
74
+ augment_types: [corrupt_only, color_only, both]
75
+ color_jitter:
76
+ brightness: 0.2
77
+ contrast: 0.2
78
+ saturation: 0.2
79
+ hue: 0.03
80
+ gamma:
81
+ range: [0.9, 1.1]
82
+ gaussian_noise:
83
+ std: 0.01
84
+ random_resized_crop:
85
+ scale: [0.95, 1.0]
86
+ ratio: preserve
87
+ rotate:
88
+ degrees: 5.0
89
+ fill: mean
90
+ require_text_cache: false
91
+ # Written into this repo, not next to the episodes: the dataset root is shared with
92
+ # openpi and is treated as read-only.
93
+ qwen_text_cache_dir: ../dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b
94
+ qwen_context_len: 128
95
+ qwen_text_cache_format: qwen3_flux2
96
+ processor:
97
+ _target_: imagewam.datasets.lerobot.processors.imagewam_processor.ImageWAMProcessor
98
+ shape_meta: ${data.train.shape_meta}
99
+ num_obs_steps: ${data.train.num_frames}
100
+ image_obs_steps: 2
101
+ num_output_cameras: 3
102
+ action_output_dim: 14
103
+ proprio_output_dim: 14
104
+
105
+ # action & state normalization
106
+ action_state_transforms: null
107
+ use_stepwise_action_norm: False
108
+ norm_default_mode: "z-score"
109
+ norm_exception_mode: null
110
+
111
+ action_state_merger:
112
+ _target_: imagewam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
113
+ action_target_dim: 14
114
+ state_target_dim: 14
115
+
116
+ # 夹爪开合关键帧 loss 加权:对原始 action 的维 6(right_gripper)二值化后检测双向跃变,
117
+ # 窗口内 loss ×key_weight。RM65 夹爪 action 只取 0 / 100 两个值,阈值取中点 50。
118
+ gripper_keyframe_weight:
119
+ _target_: imagewam.datasets.lerobot.transforms.gripper_keyframe_weight.GripperKeyframeWeight
120
+ gripper_dims: [6]
121
+ thresholds: [50.0]
122
+ pre: 4
123
+ post: 4
124
+ key_weight: 3.0
125
+ base_weight: 1.0
126
+
127
+ train_transforms:
128
+ - _target_: imagewam.datasets.lerobot.transforms.image.ToTensor
129
+ - _target_: torchvision.transforms.Resize
130
+ size: [240, 320]
131
+ val_transforms:
132
+ - _target_: imagewam.datasets.lerobot.transforms.image.ToTensor
133
+ - _target_: torchvision.transforms.Resize
134
+ size: [240, 320]
135
+ text_embedding_cache_dir: null
136
+ context_len: 128
137
+
138
+ val:
139
+ _target_: imagewam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
140
+ dataset_dirs: ${data.train.dataset_dirs}
141
+ shape_meta: ${data.train.shape_meta}
142
+ num_frames: ${data.train.num_frames}
143
+ global_sample_stride: ${data.train.global_sample_stride}
144
+ sample_index_stride: ${data.train.sample_index_stride}
145
+ action_video_freq_ratio: ${data.train.action_video_freq_ratio}
146
+ video_size: ${data.train.video_size}
147
+ camera_key: null
148
+ val_set_proportion: ${data.train.val_set_proportion}
149
+ is_training_set: false
150
+ pretrained_norm_stats: null
151
+ skip_padding_as_possible: false
152
+ concat_multi_camera: ${data.train.concat_multi_camera}
153
+ robotwin_camera_layout: ${data.train.robotwin_camera_layout}
154
+ endpoint_frames_only: ${data.train.endpoint_frames_only}
155
+ nonidle_filter_path: ${data.train.nonidle_filter_path}
156
+ video_augmentation: null
157
+ require_text_cache: ${data.train.require_text_cache}
158
+ qwen_text_cache_dir: ${data.train.qwen_text_cache_dir}
159
+ qwen_context_len: ${data.train.qwen_context_len}
160
+ qwen_text_cache_format: ${data.train.qwen_text_cache_format}
161
+ processor:
162
+ _target_: imagewam.datasets.lerobot.processors.imagewam_processor.ImageWAMProcessor
163
+ shape_meta: ${data.train.shape_meta}
164
+ num_obs_steps: ${data.train.num_frames}
165
+ image_obs_steps: ${data.train.processor.image_obs_steps}
166
+ num_output_cameras: ${data.train.processor.num_output_cameras}
167
+ action_output_dim: ${data.train.processor.action_output_dim}
168
+ proprio_output_dim: ${data.train.processor.proprio_output_dim}
169
+ action_state_transforms: ${data.train.processor.action_state_transforms}
170
+ use_stepwise_action_norm: ${data.train.processor.use_stepwise_action_norm}
171
+ norm_default_mode: ${data.train.processor.norm_default_mode}
172
+ norm_exception_mode: ${data.train.processor.norm_exception_mode}
173
+ action_state_merger: ${data.train.processor.action_state_merger}
174
+ train_transforms: ${data.train.processor.train_transforms}
175
+ val_transforms: ${data.train.processor.val_transforms}
176
+ text_embedding_cache_dir: null
177
+ context_len: ${data.train.context_len}
imagewam/configs/task/rm65_4tasks_trim_flux2_klein_4b.yaml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # @package _global_
2
+
3
+ # RealMan RM65 right-arm 4-task (rm65/4tasks_v1_trim) finetune of the RoboTwin
4
+ # FLUX.2-klein-4B release checkpoint (checkpoints/imagewam_release/robotwin/flux2_klein_4b).
5
+ #
6
+ # Why RoboTwin instead of the InternData-A1-EE base used by the G1 EEF tasks: RM65 data
7
+ # is joint space, and the RoboTwin base is 14-dim joint space [arm 6, gripper] x 2. RM65's
8
+ # 7 dims fill the base's left-arm slot and the rest is padded (see
9
+ # configs/data/rm65_4tasks_trim.yaml), so the base is loaded straight through `resume` at
10
+ # action_dim=14 with no dimension surgery (contrast with the G1 joint tasks, which expand
11
+ # RoboTwin to 16 via scripts/g1/expand_action_dim_checkpoint.py).
12
+ #
13
+ # Training mode: LoRA on the video expert, full training on the action expert, same as the
14
+ # G1 finetunes.
15
+ #
16
+ # Scale: 187 episodes, 58,399 frames, 4 tasks.
17
+ # effective batch = 4 GPU x batch_size 2 x grad_accum 12 = 96, ~608 step/epoch, ~6080 steps.
18
+
19
+ defaults:
20
+ - override /data: rm65_4tasks_trim
21
+ - override /model: imagewam_flux2_klein_4b_base
22
+ - _self_
23
+
24
+ model:
25
+ proprio_dim: ${data.train.processor.proprio_output_dim}
26
+ qwen_context_len: ${data.train.qwen_context_len}
27
+ flux2_lora_config:
28
+ enabled: true
29
+ rank: 16
30
+ alpha: 16.0
31
+ dropout: 0.0
32
+ save_lora_merged: true
33
+ save_trainable_only: false
34
+ target_suffixes:
35
+ - qkv
36
+ - proj
37
+ - linear1
38
+ - linear2
39
+ - img_mlp.0
40
+ - img_mlp.2
41
+ - txt_mlp.0
42
+ - txt_mlp.2
43
+
44
+ batch_size: 2
45
+ num_workers: 8
46
+ prefetch_factor: 2
47
+ persistent_workers: true
48
+ keep_latest_state_only: true
49
+
50
+ lr_scheduler_type: "cosine"
51
+ learning_rate: 5e-5
52
+ num_epochs: 10
53
+ max_steps: null
54
+ log_every: 10
55
+ save_every: 1000
56
+ eval_every: 500
57
+ eval_num_samples: 4
58
+
59
+ gradient_accumulation_steps: 12
60
+ weight_decay: 1e-2
61
+ mixed_precision: "bf16"
62
+ resume: null
63
+
64
+ wandb:
65
+ enabled: true
66
+ project: imagewam
67
+ name: rm65_4tasks_trim_flux2_klein_4b
68
+ # configs/train.yaml hardcodes the upstream author's wandb entity, which this machine
69
+ # cannot write to; offline keeps local logs (`wandb sync` later), see
70
+ # g1_stack_cube_eef_flux2_klein_4b.yaml.
71
+ mode: offline
imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/4209cad0df0b8634a81bafffdb6d0cba5ba39be09c2c2c27bab26530d7535150.qwen3_flux2_len128.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abc674583b92af56cbe9188785406edf11202f6a5604810c78fc4527131e4a12
3
+ size 1969349
imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/559944487d779991b5397cf75bf04cfef53b82b81a5dda9e7c9aa384c0ac4cc0.qwen3_flux2_len128.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fad7620ab764cfc2c78adfab90d0e205394c89cc0ffaacd378da70eb132bacd3
3
+ size 1969349
imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/8eb884336568f01c3644e5f49f3e24f5d3b2a967a793ddd0f726c264b80d5474.qwen3_flux2_len128.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc56dc73af8741f83033197bbe5aa96469ff4a70b9d07b654b756e37f767fe14
3
+ size 1969349
imagewam/dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b/b1c871416f464976be1046bef84d85ecd57dc6c75bcf04ad7c62263833374ab8.qwen3_flux2_len128.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d18d8ac1781b19e7257409e63121a13b0358fde0f87071051c0307191900041d
3
+ size 1969349
imagewam/runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03/checkpoints/weights/step_006000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2cdf9e4585ced24348c9f1b0559cdccb128f3d085bf85db6e79633ca7cafc87
3
+ size 17773048563
imagewam/runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03/config.yaml ADDED
@@ -0,0 +1,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ output_dir: ./runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03
2
+ batch_size: 2
3
+ num_workers: 8
4
+ prefetch_factor: 2
5
+ persistent_workers: true
6
+ lr_scheduler_type: cosine
7
+ learning_rate: 5.0e-05
8
+ warmup_steps: null
9
+ num_epochs: 10
10
+ max_steps: null
11
+ log_every: 10
12
+ save_every: 1000
13
+ keep_latest_state_only: true
14
+ eval_every: 500
15
+ eval_num_inference_steps: 10
16
+ eval_num_samples: 4
17
+ rank_timer_every: 10
18
+ rank_timer_sync_cuda: true
19
+ qwen_cache_batch_size: 32
20
+ qwen_cache_overwrite: false
21
+ qwen_cache_save_workers: 8
22
+ flux2_qwen3_model_spec: null
23
+ precache_arrow: true
24
+ precache_num_workers: 4
25
+ build_lerobot_meta_cache: true
26
+ build_norm_stats: true
27
+ precache_fuse_norm_stats: true
28
+ force_rebuild_norm_stats: false
29
+ norm_stats_use_arrow_cache: true
30
+ norm_stats_bulk_read_arrow: true
31
+ norm_stats_cache_enabled: true
32
+ norm_stats_cache_dir: null
33
+ precache_profile: false
34
+ precache_profile_min_sec: 0.0
35
+ gradient_accumulation_steps: 12
36
+ mixed_precision: bf16
37
+ seed: 42
38
+ max_grad_norm: 1.0
39
+ weight_decay: 0.01
40
+ resume: /shared/user64/workspace/yuhao/imagewam/checkpoints/imagewam_release/robotwin/flux2_klein_4b/model.pt
41
+ wandb:
42
+ enabled: true
43
+ workspace: arisilin
44
+ project: imagewam
45
+ name: rm65_4tasks_trim_flux2_klein_4b
46
+ group: null
47
+ mode: offline
48
+ data:
49
+ train:
50
+ _target_: imagewam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
51
+ dataset_dirs:
52
+ - /shared/user64/workspace/yuhao/pi/data/rm65/4tasks_v1_trim
53
+ shape_meta:
54
+ images:
55
+ - key: cam_high
56
+ lerobot_key: observation.images.top
57
+ raw_shape:
58
+ - 3
59
+ - 480
60
+ - 640
61
+ shape:
62
+ - 3
63
+ - 240
64
+ - 320
65
+ - key: cam_left
66
+ lerobot_key: observation.images.wrist
67
+ raw_shape:
68
+ - 3
69
+ - 480
70
+ - 640
71
+ shape:
72
+ - 3
73
+ - 240
74
+ - 320
75
+ action:
76
+ - key: default
77
+ lerobot_key: action
78
+ raw_shape: 7
79
+ shape: 7
80
+ state:
81
+ - key: default
82
+ lerobot_key: observation.state
83
+ raw_shape: 7
84
+ shape: 7
85
+ num_frames: 17
86
+ global_sample_stride: 1
87
+ sample_index_stride: 1
88
+ action_video_freq_ratio: 1
89
+ video_size:
90
+ - 288
91
+ - 256
92
+ camera_key: null
93
+ val_set_proportion: 0.01
94
+ is_training_set: true
95
+ pretrained_norm_stats: null
96
+ skip_padding_as_possible: false
97
+ concat_multi_camera: robotwin
98
+ robotwin_camera_layout: compact_288x256
99
+ endpoint_frames_only: true
100
+ nonidle_filter_path: null
101
+ video_augmentation:
102
+ _target_: imagewam.datasets.lerobot.transforms.image.VideoAugmentation
103
+ p: 0.5
104
+ augment_types:
105
+ - corrupt_only
106
+ - color_only
107
+ - both
108
+ color_jitter:
109
+ brightness: 0.2
110
+ contrast: 0.2
111
+ saturation: 0.2
112
+ hue: 0.03
113
+ gamma:
114
+ range:
115
+ - 0.9
116
+ - 1.1
117
+ gaussian_noise:
118
+ std: 0.01
119
+ random_resized_crop:
120
+ scale:
121
+ - 0.95
122
+ - 1.0
123
+ ratio: preserve
124
+ rotate:
125
+ degrees: 5.0
126
+ fill: mean
127
+ require_text_cache: false
128
+ qwen_text_cache_dir: /shared/user64/workspace/yuhao/imagewam/ImageWAM/../dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b
129
+ qwen_context_len: 128
130
+ qwen_text_cache_format: qwen3_flux2
131
+ processor:
132
+ _target_: imagewam.datasets.lerobot.processors.imagewam_processor.ImageWAMProcessor
133
+ shape_meta:
134
+ images:
135
+ - key: cam_high
136
+ lerobot_key: observation.images.top
137
+ raw_shape:
138
+ - 3
139
+ - 480
140
+ - 640
141
+ shape:
142
+ - 3
143
+ - 240
144
+ - 320
145
+ - key: cam_left
146
+ lerobot_key: observation.images.wrist
147
+ raw_shape:
148
+ - 3
149
+ - 480
150
+ - 640
151
+ shape:
152
+ - 3
153
+ - 240
154
+ - 320
155
+ action:
156
+ - key: default
157
+ lerobot_key: action
158
+ raw_shape: 7
159
+ shape: 7
160
+ state:
161
+ - key: default
162
+ lerobot_key: observation.state
163
+ raw_shape: 7
164
+ shape: 7
165
+ num_obs_steps: 17
166
+ image_obs_steps: 2
167
+ num_output_cameras: 3
168
+ action_output_dim: 14
169
+ proprio_output_dim: 14
170
+ action_state_transforms: null
171
+ use_stepwise_action_norm: false
172
+ norm_default_mode: z-score
173
+ norm_exception_mode: null
174
+ action_state_merger:
175
+ _target_: imagewam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
176
+ action_target_dim: 14
177
+ state_target_dim: 14
178
+ gripper_keyframe_weight:
179
+ _target_: imagewam.datasets.lerobot.transforms.gripper_keyframe_weight.GripperKeyframeWeight
180
+ gripper_dims:
181
+ - 6
182
+ thresholds:
183
+ - 50.0
184
+ pre: 4
185
+ post: 4
186
+ key_weight: 3.0
187
+ base_weight: 1.0
188
+ train_transforms:
189
+ - _target_: imagewam.datasets.lerobot.transforms.image.ToTensor
190
+ - _target_: torchvision.transforms.Resize
191
+ size:
192
+ - 240
193
+ - 320
194
+ val_transforms:
195
+ - _target_: imagewam.datasets.lerobot.transforms.image.ToTensor
196
+ - _target_: torchvision.transforms.Resize
197
+ size:
198
+ - 240
199
+ - 320
200
+ text_embedding_cache_dir: null
201
+ context_len: 128
202
+ val:
203
+ _target_: imagewam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
204
+ dataset_dirs:
205
+ - /shared/user64/workspace/yuhao/pi/data/rm65/4tasks_v1_trim
206
+ shape_meta:
207
+ images:
208
+ - key: cam_high
209
+ lerobot_key: observation.images.top
210
+ raw_shape:
211
+ - 3
212
+ - 480
213
+ - 640
214
+ shape:
215
+ - 3
216
+ - 240
217
+ - 320
218
+ - key: cam_left
219
+ lerobot_key: observation.images.wrist
220
+ raw_shape:
221
+ - 3
222
+ - 480
223
+ - 640
224
+ shape:
225
+ - 3
226
+ - 240
227
+ - 320
228
+ action:
229
+ - key: default
230
+ lerobot_key: action
231
+ raw_shape: 7
232
+ shape: 7
233
+ state:
234
+ - key: default
235
+ lerobot_key: observation.state
236
+ raw_shape: 7
237
+ shape: 7
238
+ num_frames: 17
239
+ global_sample_stride: 1
240
+ sample_index_stride: 1
241
+ action_video_freq_ratio: 1
242
+ video_size:
243
+ - 288
244
+ - 256
245
+ camera_key: null
246
+ val_set_proportion: 0.01
247
+ is_training_set: false
248
+ pretrained_norm_stats: null
249
+ skip_padding_as_possible: false
250
+ concat_multi_camera: robotwin
251
+ robotwin_camera_layout: compact_288x256
252
+ endpoint_frames_only: true
253
+ nonidle_filter_path: null
254
+ video_augmentation: null
255
+ require_text_cache: false
256
+ qwen_text_cache_dir: /shared/user64/workspace/yuhao/imagewam/ImageWAM/../dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b
257
+ qwen_context_len: 128
258
+ qwen_text_cache_format: qwen3_flux2
259
+ processor:
260
+ _target_: imagewam.datasets.lerobot.processors.imagewam_processor.ImageWAMProcessor
261
+ shape_meta:
262
+ images:
263
+ - key: cam_high
264
+ lerobot_key: observation.images.top
265
+ raw_shape:
266
+ - 3
267
+ - 480
268
+ - 640
269
+ shape:
270
+ - 3
271
+ - 240
272
+ - 320
273
+ - key: cam_left
274
+ lerobot_key: observation.images.wrist
275
+ raw_shape:
276
+ - 3
277
+ - 480
278
+ - 640
279
+ shape:
280
+ - 3
281
+ - 240
282
+ - 320
283
+ action:
284
+ - key: default
285
+ lerobot_key: action
286
+ raw_shape: 7
287
+ shape: 7
288
+ state:
289
+ - key: default
290
+ lerobot_key: observation.state
291
+ raw_shape: 7
292
+ shape: 7
293
+ num_obs_steps: 17
294
+ image_obs_steps: 2
295
+ num_output_cameras: 3
296
+ action_output_dim: 14
297
+ proprio_output_dim: 14
298
+ action_state_transforms: null
299
+ use_stepwise_action_norm: false
300
+ norm_default_mode: z-score
301
+ norm_exception_mode: null
302
+ action_state_merger:
303
+ _target_: imagewam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
304
+ action_target_dim: 14
305
+ state_target_dim: 14
306
+ train_transforms:
307
+ - _target_: imagewam.datasets.lerobot.transforms.image.ToTensor
308
+ - _target_: torchvision.transforms.Resize
309
+ size:
310
+ - 240
311
+ - 320
312
+ val_transforms:
313
+ - _target_: imagewam.datasets.lerobot.transforms.image.ToTensor
314
+ - _target_: torchvision.transforms.Resize
315
+ size:
316
+ - 240
317
+ - 320
318
+ text_embedding_cache_dir: null
319
+ context_len: 128
320
+ model:
321
+ _target_: imagewam.runtime.create_imagewam_flux2_klein
322
+ flux2_src_path: /shared/user64/workspace/yuhao/imagewam/ImageWAM/third_party/flux2
323
+ flux2_model_path: /shared/user64/workspace/yuhao/imagewam/checkpoints/flux2/FLUX.2-klein-base-4B/flux-2-klein-base-4b.safetensors
324
+ ae_model_path: /shared/user64/workspace/yuhao/imagewam/checkpoints/flux2/FLUX.2-dev/ae.safetensors
325
+ variant: klein-base-4b
326
+ qwen3_model_spec: Qwen/Qwen3-4B
327
+ qwen_context_len: 128
328
+ load_text_encoder: false
329
+ proprio_dim: 14
330
+ mot_checkpoint_mixed_attn: true
331
+ mot_gqa_implementation: repeat
332
+ mot_force_flash_attention: false
333
+ pack_proprio_after_text: true
334
+ action_dit_pretrained_path: /shared/user64/workspace/yuhao/imagewam/checkpoints/action_dit_flux2_4b_robotwin14_init.pt
335
+ flux2_lora_config:
336
+ enabled: true
337
+ rank: 16
338
+ alpha: 16.0
339
+ dropout: 0.0
340
+ save_lora_merged: true
341
+ save_trainable_only: false
342
+ target_suffixes:
343
+ - qkv
344
+ - proj
345
+ - linear1
346
+ - linear2
347
+ - img_mlp.0
348
+ - img_mlp.2
349
+ - txt_mlp.0
350
+ - txt_mlp.2
351
+ action_dit_config:
352
+ action_dim: 14
353
+ hidden_dim: 1024
354
+ num_heads: 24
355
+ attn_head_dim: 128
356
+ num_layers_double: 5
357
+ num_layers_single: 20
358
+ mlp_ratio: 4.0
359
+ max_action_horizon: 64
360
+ use_gradient_checkpointing: true
361
+ video_scheduler:
362
+ train_shift: 5.0
363
+ infer_shift: 5.0
364
+ num_train_timesteps: 1000
365
+ action_scheduler:
366
+ train_shift: 5.0
367
+ infer_shift: 5.0
368
+ num_train_timesteps: 1000
369
+ loss:
370
+ lambda_video: 0.5
371
+ lambda_action: 1.0
imagewam/runs/rm65_4tasks_trim_flux2_klein_4b/2026-09-25_07-56-03/dataset_stats.json ADDED
@@ -0,0 +1,1062 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "default": {
4
+ "stepwise_min": [
5
+ [
6
+ -1.1002380847930908,
7
+ 0.619714081287384,
8
+ -1.3607109785079956,
9
+ -2.650806188583374,
10
+ 0.3905523419380188,
11
+ -1.1792666912078857,
12
+ 0.0
13
+ ]
14
+ ],
15
+ "stepwise_max": [
16
+ [
17
+ 0.2612757980823517,
18
+ 1.969796061515808,
19
+ 1.8688286542892456,
20
+ -0.3856130540370941,
21
+ 1.8521260023117065,
22
+ 1.5649319887161255,
23
+ 100.0
24
+ ]
25
+ ],
26
+ "global_min": [
27
+ -1.1002380847930908,
28
+ 0.619714081287384,
29
+ -1.3607109785079956,
30
+ -2.650806188583374,
31
+ 0.3905523419380188,
32
+ -1.1792666912078857,
33
+ 0.0
34
+ ],
35
+ "global_max": [
36
+ 0.2612757980823517,
37
+ 1.969796061515808,
38
+ 1.8688286542892456,
39
+ -0.3856130540370941,
40
+ 1.8521260023117065,
41
+ 1.5649319887161255,
42
+ 100.0
43
+ ],
44
+ "stepwise_q01": [
45
+ [
46
+ -1.10020112991333,
47
+ 0.6211256980895996,
48
+ -1.354007601737976,
49
+ -2.649688720703125,
50
+ 0.3905872404575348,
51
+ -1.1791284084320068,
52
+ 0.0
53
+ ]
54
+ ],
55
+ "stepwise_q99": [
56
+ [
57
+ 0.2612496316432953,
58
+ 1.9691593647003174,
59
+ 1.868074893951416,
60
+ -0.38566821813583374,
61
+ 1.8521084785461426,
62
+ 1.5628485679626465,
63
+ 100.0
64
+ ]
65
+ ],
66
+ "global_q01": [
67
+ -1.10020112991333,
68
+ 0.6211256980895996,
69
+ -1.354007601737976,
70
+ -2.649688720703125,
71
+ 0.3905872404575348,
72
+ -1.1791284084320068,
73
+ 0.0
74
+ ],
75
+ "global_q99": [
76
+ 0.2612496316432953,
77
+ 1.9691593647003174,
78
+ 1.868074893951416,
79
+ -0.38566821813583374,
80
+ 1.8521084785461426,
81
+ 1.5628485679626465,
82
+ 100.0
83
+ ],
84
+ "stepwise_mean": [
85
+ [
86
+ -0.4055716395378113,
87
+ 1.367707371711731,
88
+ 0.7634584307670593,
89
+ -1.507643461227417,
90
+ 1.154456377029419,
91
+ 0.4760046601295471,
92
+ 53.31482696533203
93
+ ]
94
+ ],
95
+ "stepwise_std": [
96
+ [
97
+ 0.41561296582221985,
98
+ 0.2222568690776825,
99
+ 0.43371573090553284,
100
+ 0.514720618724823,
101
+ 0.3438335955142975,
102
+ 0.5212164521217346,
103
+ 49.97016525268555
104
+ ]
105
+ ],
106
+ "global_mean": [
107
+ -0.4055716395378113,
108
+ 1.367707371711731,
109
+ 0.7634584307670593,
110
+ -1.507643461227417,
111
+ 1.154456377029419,
112
+ 0.4760046601295471,
113
+ 53.31482696533203
114
+ ],
115
+ "global_std": [
116
+ 0.41561296582221985,
117
+ 0.2222568690776825,
118
+ 0.43371573090553284,
119
+ 0.514720618724823,
120
+ 0.3438335955142975,
121
+ 0.5212164521217346,
122
+ 49.97016525268555
123
+ ]
124
+ }
125
+ },
126
+ "action": {
127
+ "default": {
128
+ "stepwise_min": [
129
+ [
130
+ -1.131421446800232,
131
+ 0.5447410345077515,
132
+ -1.4655026197433472,
133
+ -2.6565349102020264,
134
+ 0.37302088737487793,
135
+ -1.2153890132904053,
136
+ 0.0
137
+ ],
138
+ [
139
+ -1.131421446800232,
140
+ 0.5447410345077515,
141
+ -1.4655026197433472,
142
+ -2.6565349102020264,
143
+ 0.37302088737487793,
144
+ -1.2153890132904053,
145
+ 0.0
146
+ ],
147
+ [
148
+ -1.131421446800232,
149
+ 0.5447410345077515,
150
+ -1.4655026197433472,
151
+ -2.6565349102020264,
152
+ 0.37302088737487793,
153
+ -1.2153890132904053,
154
+ 0.0
155
+ ],
156
+ [
157
+ -1.131421446800232,
158
+ 0.5447410345077515,
159
+ -1.4655026197433472,
160
+ -2.6565349102020264,
161
+ 0.37302088737487793,
162
+ -1.2153890132904053,
163
+ 0.0
164
+ ],
165
+ [
166
+ -1.131421446800232,
167
+ 0.5447410345077515,
168
+ -1.4655026197433472,
169
+ -2.6565349102020264,
170
+ 0.37302088737487793,
171
+ -1.2153890132904053,
172
+ 0.0
173
+ ],
174
+ [
175
+ -1.131421446800232,
176
+ 0.5447410345077515,
177
+ -1.4655026197433472,
178
+ -2.6565349102020264,
179
+ 0.37302088737487793,
180
+ -1.2153890132904053,
181
+ 0.0
182
+ ],
183
+ [
184
+ -1.131421446800232,
185
+ 0.5447410345077515,
186
+ -1.4655026197433472,
187
+ -2.6565349102020264,
188
+ 0.37302088737487793,
189
+ -1.2153890132904053,
190
+ 0.0
191
+ ],
192
+ [
193
+ -1.131421446800232,
194
+ 0.5447410345077515,
195
+ -1.4655026197433472,
196
+ -2.6565349102020264,
197
+ 0.37302088737487793,
198
+ -1.2153890132904053,
199
+ 0.0
200
+ ],
201
+ [
202
+ -1.131421446800232,
203
+ 0.5447410345077515,
204
+ -1.4655026197433472,
205
+ -2.6565349102020264,
206
+ 0.37302088737487793,
207
+ -1.2153890132904053,
208
+ 0.0
209
+ ],
210
+ [
211
+ -1.131421446800232,
212
+ 0.5447410345077515,
213
+ -1.4655026197433472,
214
+ -2.6565349102020264,
215
+ 0.37302088737487793,
216
+ -1.2153890132904053,
217
+ 0.0
218
+ ],
219
+ [
220
+ -1.131421446800232,
221
+ 0.5447410345077515,
222
+ -1.4655026197433472,
223
+ -2.6565349102020264,
224
+ 0.37302088737487793,
225
+ -1.2153890132904053,
226
+ 0.0
227
+ ],
228
+ [
229
+ -1.131421446800232,
230
+ 0.5447410345077515,
231
+ -1.4655026197433472,
232
+ -2.6565349102020264,
233
+ 0.37302088737487793,
234
+ -1.2153890132904053,
235
+ 0.0
236
+ ],
237
+ [
238
+ -1.131421446800232,
239
+ 0.5447410345077515,
240
+ -1.4655026197433472,
241
+ -2.6565349102020264,
242
+ 0.37302088737487793,
243
+ -1.2153890132904053,
244
+ 0.0
245
+ ],
246
+ [
247
+ -1.131421446800232,
248
+ 0.5447410345077515,
249
+ -1.4655026197433472,
250
+ -2.6565349102020264,
251
+ 0.37302088737487793,
252
+ -1.2153890132904053,
253
+ 0.0
254
+ ],
255
+ [
256
+ -1.131421446800232,
257
+ 0.5447410345077515,
258
+ -1.4655026197433472,
259
+ -2.6565349102020264,
260
+ 0.37302088737487793,
261
+ -1.2153890132904053,
262
+ 0.0
263
+ ],
264
+ [
265
+ -1.131421446800232,
266
+ 0.5447410345077515,
267
+ -1.4655026197433472,
268
+ -2.6565349102020264,
269
+ 0.37302088737487793,
270
+ -1.2153890132904053,
271
+ 0.0
272
+ ]
273
+ ],
274
+ "stepwise_max": [
275
+ [
276
+ 0.47714152932167053,
277
+ 2.0157346725463867,
278
+ 1.9173988103866577,
279
+ -0.37115994095802307,
280
+ 1.8889750242233276,
281
+ 1.5875554084777832,
282
+ 100.0
283
+ ],
284
+ [
285
+ 0.47714152932167053,
286
+ 2.0157346725463867,
287
+ 1.9173988103866577,
288
+ -0.37115994095802307,
289
+ 1.8889750242233276,
290
+ 1.5875554084777832,
291
+ 100.0
292
+ ],
293
+ [
294
+ 0.47714152932167053,
295
+ 2.0157346725463867,
296
+ 1.9173988103866577,
297
+ -0.37115994095802307,
298
+ 1.8889750242233276,
299
+ 1.5875554084777832,
300
+ 100.0
301
+ ],
302
+ [
303
+ 0.47714152932167053,
304
+ 2.0157346725463867,
305
+ 1.9173988103866577,
306
+ -0.37115994095802307,
307
+ 1.8889750242233276,
308
+ 1.5875554084777832,
309
+ 100.0
310
+ ],
311
+ [
312
+ 0.47714152932167053,
313
+ 2.0157346725463867,
314
+ 1.9173988103866577,
315
+ -0.37115994095802307,
316
+ 1.8889750242233276,
317
+ 1.5875554084777832,
318
+ 100.0
319
+ ],
320
+ [
321
+ 0.47714152932167053,
322
+ 2.0157346725463867,
323
+ 1.9173988103866577,
324
+ -0.37115994095802307,
325
+ 1.8889750242233276,
326
+ 1.5875554084777832,
327
+ 100.0
328
+ ],
329
+ [
330
+ 0.47714152932167053,
331
+ 2.0157346725463867,
332
+ 1.9173988103866577,
333
+ -0.37115994095802307,
334
+ 1.8889750242233276,
335
+ 1.5875554084777832,
336
+ 100.0
337
+ ],
338
+ [
339
+ 0.47714152932167053,
340
+ 2.0157346725463867,
341
+ 1.9173988103866577,
342
+ -0.37115994095802307,
343
+ 1.8889750242233276,
344
+ 1.5875554084777832,
345
+ 100.0
346
+ ],
347
+ [
348
+ 0.47714152932167053,
349
+ 2.0157346725463867,
350
+ 1.9173988103866577,
351
+ -0.37115994095802307,
352
+ 1.8889750242233276,
353
+ 1.5875554084777832,
354
+ 100.0
355
+ ],
356
+ [
357
+ 0.47714152932167053,
358
+ 2.0157346725463867,
359
+ 1.9173988103866577,
360
+ -0.37115994095802307,
361
+ 1.8889750242233276,
362
+ 1.5875554084777832,
363
+ 100.0
364
+ ],
365
+ [
366
+ 0.47714152932167053,
367
+ 2.0157346725463867,
368
+ 1.9173988103866577,
369
+ -0.37115994095802307,
370
+ 1.8889750242233276,
371
+ 1.5875554084777832,
372
+ 100.0
373
+ ],
374
+ [
375
+ 0.47714152932167053,
376
+ 2.0157346725463867,
377
+ 1.9173988103866577,
378
+ -0.37115994095802307,
379
+ 1.8889750242233276,
380
+ 1.5875554084777832,
381
+ 100.0
382
+ ],
383
+ [
384
+ 0.47714152932167053,
385
+ 2.0157346725463867,
386
+ 1.9173988103866577,
387
+ -0.37115994095802307,
388
+ 1.8889750242233276,
389
+ 1.5875554084777832,
390
+ 100.0
391
+ ],
392
+ [
393
+ 0.47714152932167053,
394
+ 2.0157346725463867,
395
+ 1.9173988103866577,
396
+ -0.37115994095802307,
397
+ 1.8889750242233276,
398
+ 1.5875554084777832,
399
+ 100.0
400
+ ],
401
+ [
402
+ 0.47714152932167053,
403
+ 2.0157346725463867,
404
+ 1.9173988103866577,
405
+ -0.37115994095802307,
406
+ 1.8889750242233276,
407
+ 1.5875554084777832,
408
+ 100.0
409
+ ],
410
+ [
411
+ 0.47714152932167053,
412
+ 2.0157346725463867,
413
+ 1.9173988103866577,
414
+ -0.37115994095802307,
415
+ 1.8889750242233276,
416
+ 1.5875554084777832,
417
+ 100.0
418
+ ]
419
+ ],
420
+ "global_min": [
421
+ -1.131421446800232,
422
+ 0.5447410345077515,
423
+ -1.4655026197433472,
424
+ -2.6565349102020264,
425
+ 0.37302088737487793,
426
+ -1.2153890132904053,
427
+ 0.0
428
+ ],
429
+ "global_max": [
430
+ 0.47714152932167053,
431
+ 2.0157346725463867,
432
+ 1.9173988103866577,
433
+ -0.37115994095802307,
434
+ 1.8889750242233276,
435
+ 1.5875554084777832,
436
+ 100.0
437
+ ],
438
+ "stepwise_q01": [
439
+ [
440
+ -1.1234992742538452,
441
+ 0.5465866327285767,
442
+ -1.4512237310409546,
443
+ -2.6561882495880127,
444
+ 0.37375399470329285,
445
+ -1.2099779844284058,
446
+ 0.0
447
+ ],
448
+ [
449
+ -1.1234992742538452,
450
+ 0.5465866327285767,
451
+ -1.4512237310409546,
452
+ -2.6561882495880127,
453
+ 0.37375399470329285,
454
+ -1.2099779844284058,
455
+ 0.0
456
+ ],
457
+ [
458
+ -1.1234992742538452,
459
+ 0.5465866327285767,
460
+ -1.4512237310409546,
461
+ -2.6561882495880127,
462
+ 0.37375399470329285,
463
+ -1.2099779844284058,
464
+ 0.0
465
+ ],
466
+ [
467
+ -1.1234992742538452,
468
+ 0.5465866327285767,
469
+ -1.4512237310409546,
470
+ -2.6561882495880127,
471
+ 0.37375399470329285,
472
+ -1.2099779844284058,
473
+ 0.0
474
+ ],
475
+ [
476
+ -1.1234992742538452,
477
+ 0.5465866327285767,
478
+ -1.4512237310409546,
479
+ -2.6561882495880127,
480
+ 0.37375399470329285,
481
+ -1.2099779844284058,
482
+ 0.0
483
+ ],
484
+ [
485
+ -1.1234992742538452,
486
+ 0.5465866327285767,
487
+ -1.4512237310409546,
488
+ -2.6561882495880127,
489
+ 0.37375399470329285,
490
+ -1.2099779844284058,
491
+ 0.0
492
+ ],
493
+ [
494
+ -1.1234992742538452,
495
+ 0.5465866327285767,
496
+ -1.4512237310409546,
497
+ -2.6561882495880127,
498
+ 0.37375399470329285,
499
+ -1.2099779844284058,
500
+ 0.0
501
+ ],
502
+ [
503
+ -1.1234992742538452,
504
+ 0.5465866327285767,
505
+ -1.4512237310409546,
506
+ -2.6561882495880127,
507
+ 0.37375399470329285,
508
+ -1.2099779844284058,
509
+ 0.0
510
+ ],
511
+ [
512
+ -1.1234992742538452,
513
+ 0.5465866327285767,
514
+ -1.4512237310409546,
515
+ -2.6561882495880127,
516
+ 0.37375399470329285,
517
+ -1.2099779844284058,
518
+ 0.0
519
+ ],
520
+ [
521
+ -1.1234992742538452,
522
+ 0.5465866327285767,
523
+ -1.4512237310409546,
524
+ -2.6561882495880127,
525
+ 0.37375399470329285,
526
+ -1.2099779844284058,
527
+ 0.0
528
+ ],
529
+ [
530
+ -1.1234992742538452,
531
+ 0.5465866327285767,
532
+ -1.4512237310409546,
533
+ -2.6561882495880127,
534
+ 0.37375399470329285,
535
+ -1.2099779844284058,
536
+ 0.0
537
+ ],
538
+ [
539
+ -1.1234992742538452,
540
+ 0.5465866327285767,
541
+ -1.4512237310409546,
542
+ -2.6561882495880127,
543
+ 0.37375399470329285,
544
+ -1.2099779844284058,
545
+ 0.0
546
+ ],
547
+ [
548
+ -1.1234992742538452,
549
+ 0.5465866327285767,
550
+ -1.4512237310409546,
551
+ -2.6561882495880127,
552
+ 0.37375399470329285,
553
+ -1.2099779844284058,
554
+ 0.0
555
+ ],
556
+ [
557
+ -1.1234992742538452,
558
+ 0.5465866327285767,
559
+ -1.4512237310409546,
560
+ -2.6561882495880127,
561
+ 0.37375399470329285,
562
+ -1.2099779844284058,
563
+ 0.0
564
+ ],
565
+ [
566
+ -1.1234992742538452,
567
+ 0.5465866327285767,
568
+ -1.4512237310409546,
569
+ -2.6561882495880127,
570
+ 0.37375399470329285,
571
+ -1.2099779844284058,
572
+ 0.0
573
+ ],
574
+ [
575
+ -1.1234992742538452,
576
+ 0.5465866327285767,
577
+ -1.4512237310409546,
578
+ -2.6561882495880127,
579
+ 0.37375399470329285,
580
+ -1.2099779844284058,
581
+ 0.0
582
+ ]
583
+ ],
584
+ "stepwise_q99": [
585
+ [
586
+ 0.4733147919178009,
587
+ 2.003934621810913,
588
+ 1.913605809211731,
589
+ -0.38113221526145935,
590
+ 1.888350248336792,
591
+ 1.5870753526687622,
592
+ 100.0
593
+ ],
594
+ [
595
+ 0.4733147919178009,
596
+ 2.003934621810913,
597
+ 1.913605809211731,
598
+ -0.38113221526145935,
599
+ 1.888350248336792,
600
+ 1.5870753526687622,
601
+ 100.0
602
+ ],
603
+ [
604
+ 0.4733147919178009,
605
+ 2.003934621810913,
606
+ 1.913605809211731,
607
+ -0.38113221526145935,
608
+ 1.888350248336792,
609
+ 1.5870753526687622,
610
+ 100.0
611
+ ],
612
+ [
613
+ 0.4733147919178009,
614
+ 2.003934621810913,
615
+ 1.913605809211731,
616
+ -0.38113221526145935,
617
+ 1.888350248336792,
618
+ 1.5870753526687622,
619
+ 100.0
620
+ ],
621
+ [
622
+ 0.4733147919178009,
623
+ 2.003934621810913,
624
+ 1.913605809211731,
625
+ -0.38113221526145935,
626
+ 1.888350248336792,
627
+ 1.5870753526687622,
628
+ 100.0
629
+ ],
630
+ [
631
+ 0.4733147919178009,
632
+ 2.003934621810913,
633
+ 1.913605809211731,
634
+ -0.38113221526145935,
635
+ 1.888350248336792,
636
+ 1.5870753526687622,
637
+ 100.0
638
+ ],
639
+ [
640
+ 0.4733147919178009,
641
+ 2.003934621810913,
642
+ 1.913605809211731,
643
+ -0.38113221526145935,
644
+ 1.888350248336792,
645
+ 1.5870753526687622,
646
+ 100.0
647
+ ],
648
+ [
649
+ 0.4733147919178009,
650
+ 2.003934621810913,
651
+ 1.913605809211731,
652
+ -0.38113221526145935,
653
+ 1.888350248336792,
654
+ 1.5870753526687622,
655
+ 100.0
656
+ ],
657
+ [
658
+ 0.4733147919178009,
659
+ 2.003934621810913,
660
+ 1.913605809211731,
661
+ -0.38113221526145935,
662
+ 1.888350248336792,
663
+ 1.5870753526687622,
664
+ 100.0
665
+ ],
666
+ [
667
+ 0.4733147919178009,
668
+ 2.003934621810913,
669
+ 1.913605809211731,
670
+ -0.38113221526145935,
671
+ 1.888350248336792,
672
+ 1.5870753526687622,
673
+ 100.0
674
+ ],
675
+ [
676
+ 0.4733147919178009,
677
+ 2.003934621810913,
678
+ 1.913605809211731,
679
+ -0.38113221526145935,
680
+ 1.888350248336792,
681
+ 1.5870753526687622,
682
+ 100.0
683
+ ],
684
+ [
685
+ 0.4733147919178009,
686
+ 2.003934621810913,
687
+ 1.913605809211731,
688
+ -0.38113221526145935,
689
+ 1.888350248336792,
690
+ 1.5870753526687622,
691
+ 100.0
692
+ ],
693
+ [
694
+ 0.4733147919178009,
695
+ 2.003934621810913,
696
+ 1.913605809211731,
697
+ -0.38113221526145935,
698
+ 1.888350248336792,
699
+ 1.5870753526687622,
700
+ 100.0
701
+ ],
702
+ [
703
+ 0.4733147919178009,
704
+ 2.003934621810913,
705
+ 1.913605809211731,
706
+ -0.38113221526145935,
707
+ 1.888350248336792,
708
+ 1.5870753526687622,
709
+ 100.0
710
+ ],
711
+ [
712
+ 0.4733147919178009,
713
+ 2.003934621810913,
714
+ 1.913605809211731,
715
+ -0.38113221526145935,
716
+ 1.888350248336792,
717
+ 1.5870753526687622,
718
+ 100.0
719
+ ],
720
+ [
721
+ 0.4733147919178009,
722
+ 2.003934621810913,
723
+ 1.913605809211731,
724
+ -0.38113221526145935,
725
+ 1.888350248336792,
726
+ 1.5870753526687622,
727
+ 100.0
728
+ ]
729
+ ],
730
+ "global_q01": [
731
+ -1.1234992742538452,
732
+ 0.5465866327285767,
733
+ -1.4512237310409546,
734
+ -2.6561882495880127,
735
+ 0.37375399470329285,
736
+ -1.2099779844284058,
737
+ 0.0
738
+ ],
739
+ "global_q99": [
740
+ 0.4733147919178009,
741
+ 2.003934621810913,
742
+ 1.913605809211731,
743
+ -0.38113221526145935,
744
+ 1.888350248336792,
745
+ 1.5870753526687622,
746
+ 100.0
747
+ ],
748
+ "stepwise_mean": [
749
+ [
750
+ -0.40218979120254517,
751
+ 1.366448998451233,
752
+ 0.7740227580070496,
753
+ -1.506816029548645,
754
+ 1.1548317670822144,
755
+ 0.48579129576683044,
756
+ 53.314823150634766
757
+ ],
758
+ [
759
+ -0.4020868241786957,
760
+ 1.3665825128555298,
761
+ 0.7740072011947632,
762
+ -1.506820559501648,
763
+ 1.154834508895874,
764
+ 0.4861409366130829,
765
+ 52.986717224121094
766
+ ],
767
+ [
768
+ -0.4019829332828522,
769
+ 1.366716742515564,
770
+ 0.7739895582199097,
771
+ -1.506824254989624,
772
+ 1.154837965965271,
773
+ 0.48648950457572937,
774
+ 52.65860366821289
775
+ ],
776
+ [
777
+ -0.40187719464302063,
778
+ 1.3668543100357056,
779
+ 0.7739637494087219,
780
+ -1.5068268775939941,
781
+ 1.1548435688018799,
782
+ 0.48683401942253113,
783
+ 52.33050537109375
784
+ ],
785
+ [
786
+ -0.4017687141895294,
787
+ 1.3669904470443726,
788
+ 0.7739416360855103,
789
+ -1.5068278312683105,
790
+ 1.1548497676849365,
791
+ 0.4871804714202881,
792
+ 52.00239181518555
793
+ ],
794
+ [
795
+ -0.40165838599205017,
796
+ 1.3671298027038574,
797
+ 0.7739128470420837,
798
+ -1.5068278312683105,
799
+ 1.1548584699630737,
800
+ 0.4875229597091675,
801
+ 51.67428207397461
802
+ ],
803
+ [
804
+ -0.40154579281806946,
805
+ 1.3672685623168945,
806
+ 0.773884117603302,
807
+ -1.5068268775939941,
808
+ 1.154868721961975,
809
+ 0.48786601424217224,
810
+ 51.34617233276367
811
+ ],
812
+ [
813
+ -0.4014301896095276,
814
+ 1.3674125671386719,
815
+ 0.7738425731658936,
816
+ -1.5068230628967285,
817
+ 1.1548829078674316,
818
+ 0.4882016181945801,
819
+ 51.018062591552734
820
+ ],
821
+ [
822
+ -0.40131089091300964,
823
+ 1.3675622940063477,
824
+ 0.7737869620323181,
825
+ -1.5068166255950928,
826
+ 1.1549016237258911,
827
+ 0.4885294735431671,
828
+ 50.6899528503418
829
+ ],
830
+ [
831
+ -0.40118804574012756,
832
+ 1.36771821975708,
833
+ 0.7737151980400085,
834
+ -1.50680673122406,
835
+ 1.154926061630249,
836
+ 0.48884809017181396,
837
+ 50.361846923828125
838
+ ],
839
+ [
840
+ -0.40106213092803955,
841
+ 1.3678781986236572,
842
+ 0.7736300230026245,
843
+ -1.5067932605743408,
844
+ 1.1549543142318726,
845
+ 0.4891602396965027,
846
+ 50.03374099731445
847
+ ],
848
+ [
849
+ -0.40093153715133667,
850
+ 1.3680424690246582,
851
+ 0.7735351324081421,
852
+ -1.5067766904830933,
853
+ 1.154987096786499,
854
+ 0.4894666373729706,
855
+ 49.705631256103516
856
+ ],
857
+ [
858
+ -0.40079763531684875,
859
+ 1.368208885192871,
860
+ 0.7734330296516418,
861
+ -1.5067572593688965,
862
+ 1.155022144317627,
863
+ 0.4897681474685669,
864
+ 49.37752151489258
865
+ ],
866
+ [
867
+ -0.4006597697734833,
868
+ 1.3683816194534302,
869
+ 0.7733154892921448,
870
+ -1.506732702255249,
871
+ 1.1550605297088623,
872
+ 0.49005934596061707,
873
+ 49.049415588378906
874
+ ],
875
+ [
876
+ -0.4005171060562134,
877
+ 1.3685643672943115,
878
+ 0.7731740474700928,
879
+ -1.506703495979309,
880
+ 1.155107021331787,
881
+ 0.49033835530281067,
882
+ 48.721309661865234
883
+ ],
884
+ [
885
+ -0.40036845207214355,
886
+ 1.3687560558319092,
887
+ 0.7730117440223694,
888
+ -1.5066686868667603,
889
+ 1.1551613807678223,
890
+ 0.4906056523323059,
891
+ 48.3931999206543
892
+ ]
893
+ ],
894
+ "stepwise_std": [
895
+ [
896
+ 0.4327355921268463,
897
+ 0.2356889694929123,
898
+ 0.45770174264907837,
899
+ 0.5211266279220581,
900
+ 0.3537985682487488,
901
+ 0.5293993353843689,
902
+ 49.97016525268555
903
+ ],
904
+ [
905
+ 0.43285658955574036,
906
+ 0.23575304448604584,
907
+ 0.4575728476047516,
908
+ 0.5211104154586792,
909
+ 0.35381147265434265,
910
+ 0.5292556881904602,
911
+ 49.99089050292969
912
+ ],
913
+ [
914
+ 0.43297845125198364,
915
+ 0.23581714928150177,
916
+ 0.457444965839386,
917
+ 0.5210942625999451,
918
+ 0.3538253605365753,
919
+ 0.5291110873222351,
920
+ 50.00944900512695
921
+ ],
922
+ [
923
+ 0.43310195207595825,
924
+ 0.23588420450687408,
925
+ 0.45732516050338745,
926
+ 0.5210784673690796,
927
+ 0.3538411259651184,
928
+ 0.528967022895813,
929
+ 50.025840759277344
930
+ ],
931
+ [
932
+ 0.4332278072834015,
933
+ 0.23594802618026733,
934
+ 0.4571947753429413,
935
+ 0.5210630893707275,
936
+ 0.3538568615913391,
937
+ 0.5288187265396118,
938
+ 50.040061950683594
939
+ ],
940
+ [
941
+ 0.4333552122116089,
942
+ 0.23601122200489044,
943
+ 0.45706355571746826,
944
+ 0.5210480093955994,
945
+ 0.3538748621940613,
946
+ 0.5286698341369629,
947
+ 50.0521354675293
948
+ ],
949
+ [
950
+ 0.4334847629070282,
951
+ 0.2360697239637375,
952
+ 0.45692333579063416,
953
+ 0.5210330486297607,
954
+ 0.35389432311058044,
955
+ 0.52851802110672,
956
+ 50.06203842163086
957
+ ],
958
+ [
959
+ 0.43361666798591614,
960
+ 0.23612524569034576,
961
+ 0.4567815661430359,
962
+ 0.5210187435150146,
963
+ 0.3539167046546936,
964
+ 0.5283655524253845,
965
+ 50.06977844238281
966
+ ],
967
+ [
968
+ 0.4337516725063324,
969
+ 0.23617896437644958,
970
+ 0.4566412568092346,
971
+ 0.5210055708885193,
972
+ 0.3539414405822754,
973
+ 0.5282132029533386,
974
+ 50.07536315917969
975
+ ],
976
+ [
977
+ 0.4338892996311188,
978
+ 0.23622912168502808,
979
+ 0.45649799704551697,
980
+ 0.5209932923316956,
981
+ 0.35397040843963623,
982
+ 0.528059720993042,
983
+ 50.07879638671875
984
+ ],
985
+ [
986
+ 0.43402907252311707,
987
+ 0.2362746298313141,
988
+ 0.4563489556312561,
989
+ 0.5209818482398987,
990
+ 0.35400065779685974,
991
+ 0.5279049873352051,
992
+ 50.08006286621094
993
+ ],
994
+ [
995
+ 0.4341725707054138,
996
+ 0.23631539940834045,
997
+ 0.4561904966831207,
998
+ 0.5209711194038391,
999
+ 0.3540341556072235,
1000
+ 0.5277472138404846,
1001
+ 50.07917785644531
1002
+ ],
1003
+ [
1004
+ 0.4343186616897583,
1005
+ 0.23634861409664154,
1006
+ 0.45601117610931396,
1007
+ 0.5209611654281616,
1008
+ 0.3540678322315216,
1009
+ 0.5275831818580627,
1010
+ 50.076133728027344
1011
+ ],
1012
+ [
1013
+ 0.43446722626686096,
1014
+ 0.23637652397155762,
1015
+ 0.45581957697868347,
1016
+ 0.5209526419639587,
1017
+ 0.3541007936000824,
1018
+ 0.5274155735969543,
1019
+ 50.0709342956543
1020
+ ],
1021
+ [
1022
+ 0.43461862206459045,
1023
+ 0.23640376329421997,
1024
+ 0.45563292503356934,
1025
+ 0.5209453701972961,
1026
+ 0.35413870215415955,
1027
+ 0.527248740196228,
1028
+ 50.06357192993164
1029
+ ],
1030
+ [
1031
+ 0.4347744584083557,
1032
+ 0.2364252209663391,
1033
+ 0.45543548464775085,
1034
+ 0.5209402441978455,
1035
+ 0.35417959094047546,
1036
+ 0.5270791053771973,
1037
+ 50.05405044555664
1038
+ ]
1039
+ ],
1040
+ "global_mean": [
1041
+ -0.4013359546661377,
1042
+ 1.3675321340560913,
1043
+ 0.7736979126930237,
1044
+ -1.5067905187606812,
1045
+ 1.154932975769043,
1046
+ 0.4883001744747162,
1047
+ 50.85401153564453
1048
+ ],
1049
+ "global_std": [
1050
+ 0.4337120056152344,
1051
+ 0.23611678183078766,
1052
+ 0.45666226744651794,
1053
+ 0.521020233631134,
1054
+ 0.3539533317089081,
1055
+ 0.5282748937606812,
1056
+ 50.07276153564453
1057
+ ]
1058
+ }
1059
+ },
1060
+ "num_episodes": 185,
1061
+ "num_transition": 57716
1062
+ }
imagewam/scripts/rm65/run_train_rm65_4tasks_trim.sh ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ # RealMan RM65 right-arm 4-task (rm65/4tasks_v1_trim) finetune of the RoboTwin
5
+ # FLUX.2-klein-4B release checkpoint.
6
+ #
7
+ # Differs from scripts/g1/run_train_g1_stack_cubes.sh in three ways:
8
+ # 1. The base is the RoboTwin release checkpoint itself at action_dim=14, not the
9
+ # 16-dim expanded G1_INIT_CKPT: RM65's 7 dims fill RoboTwin's left-arm slot and the
10
+ # rest is padded (configs/data/rm65_4tasks_trim.yaml). The ActionDiT init is
11
+ # therefore built at action_dim=14.
12
+ # 2. The dataset lives outside this tree (on /shared/user64, shared with openpi), so it
13
+ # is treated as read-only: the Qwen3 text cache is written into this repo's dataset dir.
14
+ # 3. All 4 instructions are new, so the Qwen3 cache is computed automatically when its
15
+ # directory is empty (force a recompute with PRECOMPUTE_QWEN3_CACHE=true).
16
+
17
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
18
+ # shellcheck source=../common.sh
19
+ source "${SCRIPT_DIR}/../common.sh"
20
+ imagewam_init "${SCRIPT_DIR}/../.."
21
+
22
+ GPU_PER_NODE="${GPU_PER_NODE:-1}"
23
+ ZERO_STAGE="${ZERO_STAGE:-1}"
24
+ TASK_NAME="rm65_4tasks_trim_flux2_klein_4b"
25
+ MODEL_CONFIG="configs/model/imagewam_flux2_klein_4b_base.yaml"
26
+
27
+ imagewam_require_env FLUX2_SRC
28
+ imagewam_require_env FLUX2_MODEL_PATH
29
+ imagewam_require_env FLUX2_AE_MODEL_PATH
30
+
31
+ # Dataset root for this task. Read-only: nothing is written under it.
32
+ RM65_ROOT="${RM65_ROOT:-/shared/user64/workspace/yuhao/pi/data/rm65/4tasks_v1_trim}"
33
+ # Text cache goes into this repo's dataset dir, not the shared dataset root.
34
+ QWEN_CACHE_DIR="${QWEN_CACHE_DIR:-${REPO_ROOT}/../dataset/rm65_4tasks_trim/flux2_qwen3_cache_4b}"
35
+ FLUX2_QWEN3_MODEL_SPEC="${FLUX2_QWEN3_MODEL_SPEC:-Qwen/Qwen3-4B}"
36
+ # RoboTwin release checkpoint (14-dim joint space; loaded verbatim via `resume`).
37
+ RM65_INIT_CKPT="${RM65_INIT_CKPT:-${MODEL_ROOT:-${REPO_ROOT}/checkpoints}/imagewam_release/robotwin/flux2_klein_4b/model.pt}"
38
+ # ActionDiT init at action_dim=14. Shapes only; overwritten by `resume`.
39
+ ACTION_INIT="${ACTION_INIT:-${MODEL_ROOT:-${REPO_ROOT}/checkpoints}/action_dit_flux2_4b_robotwin14_init.pt}"
40
+
41
+ if [ ! -f "${RM65_INIT_CKPT}" ]; then
42
+ echo "Missing base checkpoint: ${RM65_INIT_CKPT}" >&2
43
+ exit 2
44
+ fi
45
+ if [ ! -f "${RM65_ROOT}/meta/info.json" ]; then
46
+ echo "Missing dataset: ${RM65_ROOT}" >&2
47
+ echo "Build it with openpi-fintune/scripts/merge_datasets.py + trim_static_frames.py." >&2
48
+ exit 2
49
+ fi
50
+
51
+ export PYTHONPATH="${REPO_ROOT}/src:${FLUX2_SRC}/src:${FLUX2_SRC}${PYTHONPATH:+:${PYTHONPATH}}"
52
+ export ZERO_STAGE
53
+
54
+ mkdir -p "${QWEN_CACHE_DIR}"
55
+
56
+ DATASET_OVERRIDES=(
57
+ "data.train.dataset_dirs=[${RM65_ROOT}]"
58
+ "data.train.qwen_text_cache_dir=${QWEN_CACHE_DIR}"
59
+ )
60
+
61
+ imagewam_print_config TASK_NAME RM65_ROOT RM65_INIT_CKPT FLUX2_SRC FLUX2_MODEL_PATH \
62
+ FLUX2_AE_MODEL_PATH QWEN_CACHE_DIR ACTION_INIT GPU_PER_NODE ZERO_STAGE
63
+
64
+ # 1. ActionDiT initialisation (action_dim=14).
65
+ if [ "${REBUILD_ACTION_INIT:-false}" = "true" ] || [ ! -f "${ACTION_INIT}" ]; then
66
+ imagewam_run imagewam_python scripts/flux2/preprocess_action_dit_flux2.py \
67
+ --model-config "${MODEL_CONFIG}" \
68
+ --flux2-src-path "${FLUX2_SRC}" \
69
+ --flux2-model-path "${FLUX2_MODEL_PATH}" \
70
+ --variant klein-base-4b \
71
+ --action-dim 14 \
72
+ --output "${ACTION_INIT}" \
73
+ --apply-alpha-scaling true
74
+ fi
75
+
76
+ # 2. Qwen3 text embedding cache. Required before any sample can be drawn, because
77
+ # RobotVideoDataset reads the cache whenever qwen_text_cache_dir is set.
78
+ if [ "${PRECOMPUTE_QWEN3_CACHE:-false}" = "true" ] || [ -z "$(ls -A "${QWEN_CACHE_DIR}")" ]; then
79
+ imagewam_run torchrun --standalone --nproc_per_node="${QWEN_CACHE_NPROC:-1}" \
80
+ scripts/flux2/precompute_flux2_qwen3_embeds.py \
81
+ task="${TASK_NAME}" \
82
+ qwen_cache_batch_size="${QWEN_CACHE_BATCH_SIZE:-8}" \
83
+ qwen_cache_save_workers="${QWEN_CACHE_SAVE_WORKERS:-4}" \
84
+ qwen_cache_overwrite="${QWEN_CACHE_OVERWRITE:-false}" \
85
+ model.variant=klein-base-4b \
86
+ model.qwen3_model_spec="${FLUX2_QWEN3_MODEL_SPEC}" \
87
+ model.flux2_model_path="${FLUX2_MODEL_PATH}" \
88
+ model.ae_model_path="${FLUX2_AE_MODEL_PATH}" \
89
+ flux2_qwen3_model_spec="${FLUX2_QWEN3_MODEL_SPEC}" \
90
+ "${DATASET_OVERRIDES[@]}"
91
+ fi
92
+
93
+ # 3. Training.
94
+ TASK="${TASK_NAME}" imagewam_run bash scripts/flux2/train_flux2_klein_imagewam.sh "${GPU_PER_NODE}" \
95
+ "${DATASET_OVERRIDES[@]}" \
96
+ "model.flux2_model_path=${FLUX2_MODEL_PATH}" \
97
+ "model.ae_model_path=${FLUX2_AE_MODEL_PATH}" \
98
+ "model.qwen3_model_spec=${FLUX2_QWEN3_MODEL_SPEC}" \
99
+ "model.action_dit_pretrained_path=${ACTION_INIT}" \
100
+ "resume=${RM65_INIT_CKPT}" \
101
+ "$@"
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/_CHECKPOINT_METADATA ADDED
@@ -0,0 +1 @@
 
 
1
+ {"item_handlers": {"assets": "openpi.training.checkpoints.CallbackHandler", "params": "orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler", "train_state": "orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler"}, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1790344018790056026, "commit_timestamp_nsecs": 1790344101401360609, "custom_metadata": {}}
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/assets/rm65/4tasks_v1_trim/norm_stats.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "norm_stats": {
3
+ "state": {
4
+ "mean": [
5
+ -0.409750759601593,
6
+ 1.3662880659103394,
7
+ 0.7612037062644958,
8
+ -1.4930087327957153,
9
+ 1.149019718170166,
10
+ 0.46189895272254944,
11
+ 53.88911819458008
12
+ ],
13
+ "std": [
14
+ 0.4165157377719879,
15
+ 0.22506451606750488,
16
+ 0.43782690167427063,
17
+ 0.522697925567627,
18
+ 0.3444087505340576,
19
+ 0.5309966802597046,
20
+ 49.84851837158203
21
+ ],
22
+ "q01": [
23
+ -1.0531297045386805,
24
+ 0.7838840500074804,
25
+ -0.39637044419501943,
26
+ -2.551590729381487,
27
+ 0.4551538976353758,
28
+ -1.0030891360439242,
29
+ -1e-10
30
+ ],
31
+ "q99": [
32
+ 0.20381991231656804,
33
+ 1.8083262567565686,
34
+ 1.5471665069427205,
35
+ -0.47939204971559013,
36
+ 1.696906879658781,
37
+ 1.4057684653689329,
38
+ 99.98000000009996
39
+ ]
40
+ },
41
+ "actions": {
42
+ "mean": [
43
+ -0.40519973635673523,
44
+ 1.3669183254241943,
45
+ 0.7708451747894287,
46
+ -1.492232322692871,
47
+ 1.149193286895752,
48
+ 0.4756605625152588,
49
+ 49.24359130859375
50
+ ],
51
+ "std": [
52
+ 0.4345667362213135,
53
+ 0.2386302947998047,
54
+ 0.4585062563419342,
55
+ 0.5284347534179688,
56
+ 0.354095995426178,
57
+ 0.5372209548950195,
58
+ 49.99427795410156
59
+ ],
60
+ "q01": [
61
+ -1.0606446759420682,
62
+ 0.7624480928670695,
63
+ -0.39244628614266963,
64
+ -2.5683194364814876,
65
+ 0.4488185941273004,
66
+ -1.0152587816618766,
67
+ -1e-10
68
+ ],
69
+ "q99": [
70
+ 0.2403610593070864,
71
+ 1.8286242818624323,
72
+ 1.619703484617617,
73
+ -0.46531738959911584,
74
+ 1.7191881609739013,
75
+ 1.414894032184543,
76
+ 99.98000000009996
77
+ ]
78
+ }
79
+ }
80
+ }
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/_METADATA ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tree_metadata": {"('params', 'PaliGemma', 'img', 'Transformer', 'encoder_norm', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoder_norm", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoder_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoder_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_0', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 2152]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 4304]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_1', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 2152, 1152]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'key', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 16, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72, 1152]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'query', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 16, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'value', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 16, 72]}}, "('params', 'PaliGemma', 'img', 'embedding', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576]}}, "('params', 'PaliGemma', 'img', 'embedding', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [7, 14, 3, 1152]}}, "('params', 'PaliGemma', 'img', 'head', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1024]}}, "('params', 'PaliGemma', 'img', 'head', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576, 2048]}}, "('params', 'PaliGemma', 'img', 'pos_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "pos_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1, 128, 1152]}}, "('params', 'PaliGemma', 'llm', 'embedder', 'input_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "embedder", "key_type": 2}, {"key": "input_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [128576, 2048]}}, "('params', 'PaliGemma', 'llm', 'final_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1024]}}, "('params', 'PaliGemma', 'llm', 'final_norm_1', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1536]}}, "('params', 'PaliGemma', 'llm', 'final_norm_1', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 256, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 16, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 256, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 256, 1024]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 2048, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 16, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 2048, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 1024, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 2048, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 16, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 2048, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 1024, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 2048, 16384]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum_lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum_lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 2048, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum_lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum_lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 16, 16384]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 16384, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear_lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear_lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 16384, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear_lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear_lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 16, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1024, 4096]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 4096, 1024]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm_1', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm_1', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 1024, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm_1', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm_1', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 1024, 3072]}}, "('params', 'action_in_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512]}}, "('params', 'action_in_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [16, 1024]}}, "('params', 'action_out_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [16]}}, "('params', 'action_out_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 32]}}, "('params', 'time_mlp_in', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_in", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512]}}, "('params', 'time_mlp_in', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_in", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 1024]}}, "('params', 'time_mlp_out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512]}}, "('params', 'time_mlp_out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 1024]}}}, "use_zarr3": false, "store_array_data_equal_to_fill_value": true, "custom_metadata": null}
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/_sharding ADDED
@@ -0,0 +1 @@
 
 
1
+ {"cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2Rlcl9ub3JtLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2Rlcl9ub3JtLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8wLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8wLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8xLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcucG9zX2VtYmVkZGluZy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZW1iZWRkZXIuaW5wdXRfZW1iZWRkaW5nLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybV8xLkRlbnNlXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybV8xLkRlbnNlXzAua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtX2xvcmFfYS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtX2xvcmFfYi52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXIudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXJfbG9yYV9hLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXJfbG9yYV9iLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmdhdGluZ19laW5zdW0udmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmxpbmVhci52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLmxvcmFfYS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLmxvcmFfYi52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLmxvcmFfYS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLmxvcmFfYi52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0ubG9yYV9hLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0ubG9yYV9iLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0udy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW1fMS53LnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybV8xLkRlbnNlXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybV8xLkRlbnNlXzAua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybV8xLkRlbnNlXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybV8xLkRlbnNlXzAua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX291dC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX291dC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX2luLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX2luLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}"}
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/array_metadatas/process_0 ADDED
@@ -0,0 +1 @@
 
 
1
+ {"array_metadatas": [{"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoder_norm.bias.value", "write_shape": [576], "chunk_shape": [576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoder_norm.scale.value", "write_shape": [576], "chunk_shape": [576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_0.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_0.scale.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_1.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_1.scale.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_0.bias.value", "write_shape": [27, 2152], "chunk_shape": [27, 2152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_0.kernel.value", "write_shape": [27, 576, 4304], "chunk_shape": [27, 576, 4304], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_1.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_1.kernel.value", "write_shape": [27, 2152, 1152], "chunk_shape": [27, 2152, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.key.bias.value", "write_shape": [27, 8, 72], "chunk_shape": [27, 8, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.key.kernel.value", "write_shape": [27, 576, 16, 72], "chunk_shape": [27, 576, 16, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.out.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.out.kernel.value", "write_shape": [27, 8, 72, 1152], "chunk_shape": [27, 8, 72, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.query.bias.value", "write_shape": [27, 8, 72], "chunk_shape": [27, 8, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.query.kernel.value", "write_shape": [27, 576, 16, 72], "chunk_shape": [27, 576, 16, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.value.bias.value", "write_shape": [27, 8, 72], "chunk_shape": [27, 8, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.value.kernel.value", "write_shape": [27, 576, 16, 72], "chunk_shape": [27, 576, 16, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.embedding.bias.value", "write_shape": [576], "chunk_shape": [576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.embedding.kernel.value", "write_shape": [7, 14, 3, 1152], "chunk_shape": [7, 14, 3, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.head.bias.value", "write_shape": [1024], "chunk_shape": [1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.head.kernel.value", "write_shape": [576, 2048], "chunk_shape": [576, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.pos_embedding.value", "write_shape": [1, 128, 1152], "chunk_shape": [1, 128, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.embedder.input_embedding.value", "write_shape": [128576, 2048], "chunk_shape": [128576, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.final_norm.scale.value", "write_shape": [1024], "chunk_shape": [1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.final_norm_1.Dense_0.bias.value", "write_shape": [1536], "chunk_shape": [1536], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.final_norm_1.Dense_0.kernel.value", "write_shape": [512, 3072], "chunk_shape": [512, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum.lora_a.value", "write_shape": [9, 8, 256, 16], "chunk_shape": [9, 8, 256, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum.lora_b.value", "write_shape": [9, 8, 16, 2048], "chunk_shape": [9, 8, 16, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum.w.value", "write_shape": [9, 8, 256, 2048], "chunk_shape": [9, 8, 256, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum_1.w.value", "write_shape": [9, 8, 256, 1024], "chunk_shape": [9, 8, 256, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum.lora_a.value", "write_shape": [9, 2, 1, 2048, 16], "chunk_shape": [9, 2, 1, 2048, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum.lora_b.value", "write_shape": [9, 2, 1, 16, 256], "chunk_shape": [9, 2, 1, 16, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum.w.value", "write_shape": [9, 2, 1, 2048, 256], "chunk_shape": [9, 2, 1, 2048, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum_1.w.value", "write_shape": [9, 2, 1, 1024, 256], "chunk_shape": [9, 2, 1, 1024, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum.lora_a.value", "write_shape": [9, 8, 2048, 16], "chunk_shape": [9, 8, 2048, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum.lora_b.value", "write_shape": [9, 8, 16, 256], "chunk_shape": [9, 8, 16, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum.w.value", "write_shape": [9, 8, 2048, 256], "chunk_shape": [9, 8, 2048, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum_1.w.value", "write_shape": [9, 8, 1024, 256], "chunk_shape": [9, 8, 1024, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.gating_einsum.value", "write_shape": [9, 2, 2048, 16384], "chunk_shape": [9, 2, 2048, 16384], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.gating_einsum_lora_a.value", "write_shape": [9, 2, 2048, 16], "chunk_shape": [9, 2, 2048, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.gating_einsum_lora_b.value", "write_shape": [9, 2, 16, 16384], "chunk_shape": [9, 2, 16, 16384], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.linear.value", "write_shape": [9, 16384, 2048], "chunk_shape": [9, 16384, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.linear_lora_a.value", "write_shape": [9, 16384, 16], "chunk_shape": [9, 16384, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.linear_lora_b.value", "write_shape": [9, 16, 2048], "chunk_shape": [9, 16, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp_1.gating_einsum.value", "write_shape": [9, 2, 1024, 4096], "chunk_shape": [9, 2, 1024, 4096], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp_1.linear.value", "write_shape": [9, 4096, 1024], "chunk_shape": [9, 4096, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_attention_norm.scale.value", "write_shape": [9, 2048], "chunk_shape": [9, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_attention_norm_1.Dense_0.bias.value", "write_shape": [9, 3072], "chunk_shape": [9, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_attention_norm_1.Dense_0.kernel.value", "write_shape": [9, 1024, 3072], "chunk_shape": [9, 1024, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_ffw_norm.scale.value", "write_shape": [9, 2048], "chunk_shape": [9, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_ffw_norm_1.Dense_0.bias.value", "write_shape": [9, 3072], "chunk_shape": [9, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_ffw_norm_1.Dense_0.kernel.value", "write_shape": [9, 1024, 3072], "chunk_shape": [9, 1024, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_in_proj.bias.value", "write_shape": [512], "chunk_shape": [512], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_in_proj.kernel.value", "write_shape": [16, 1024], "chunk_shape": [16, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_out_proj.bias.value", "write_shape": [16], "chunk_shape": [16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_out_proj.kernel.value", "write_shape": [512, 32], "chunk_shape": [512, 32], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_in.bias.value", "write_shape": [512], "chunk_shape": [512], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_in.kernel.value", "write_shape": [512, 1024], "chunk_shape": [512, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_out.bias.value", "write_shape": [512], "chunk_shape": [512], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_out.kernel.value", "write_shape": [512, 1024], "chunk_shape": [512, 1024], "ext_metadata": null}}]}
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/d/0cd8ac5577e7944068f6e6974cb7bb0a ADDED
Binary file (2.91 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/manifest.ocdbt ADDED
Binary file (118 Bytes). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/0142bc15f6939338b6e5adc975f24636 ADDED
Binary file (5.69 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/25f9d93df7adefdd09f13709ad7405ac ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7940fbcac75dba8531d622ad94b7d91f830c0edc786bae834223a5f77783273c
3
+ size 2382306282
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/530bcf4c80475910f788fc4e0549e9db ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d64f6fd5e3a4addd1ca579575db8ba7eae8e15ca213cf8cb9459778b0ece86f7
3
+ size 4825414
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/6093a840c30fa64e9625b72899965ef4 ADDED
Binary file (1.28 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/672505ea0f45854a51522b6f72c74956 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:337f488e887dcae899a00081f5826e9a8793b0d431afca4417119685941e07b2
3
+ size 1789342724
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/843484256f847393a1fad4f4be6cc579 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bba891f28c71e5eabc18d0ef842ab8c566cc7724ee774ea1de974c87c736c01
3
+ size 2836847227
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/8533c4eac50e34df8425eefdffd94e26 ADDED
Binary file (1.32 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/bc79931d9f67d3d5681a71493cfe31e3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbbb74627b315ac9d94aac14908843959bee3d86eeb7727f8caba85df2cb63df
3
+ size 154813450
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/c95ff8bf848a5b7950899927920aa250 ADDED
Binary file (219 Bytes). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/d/fcce80bee76d672f607056f601c435a9 ADDED
Binary file (2.9 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/25000/params/ocdbt.process_0/manifest.ocdbt ADDED
Binary file (438 Bytes). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/_CHECKPOINT_METADATA ADDED
@@ -0,0 +1 @@
 
 
1
+ {"item_handlers": {"assets": "openpi.training.checkpoints.CallbackHandler", "params": "orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler", "train_state": "orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler"}, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1790349015365642202, "commit_timestamp_nsecs": 1790349128507329631, "custom_metadata": {}}
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/assets/rm65/4tasks_v1_trim/norm_stats.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "norm_stats": {
3
+ "state": {
4
+ "mean": [
5
+ -0.409750759601593,
6
+ 1.3662880659103394,
7
+ 0.7612037062644958,
8
+ -1.4930087327957153,
9
+ 1.149019718170166,
10
+ 0.46189895272254944,
11
+ 53.88911819458008
12
+ ],
13
+ "std": [
14
+ 0.4165157377719879,
15
+ 0.22506451606750488,
16
+ 0.43782690167427063,
17
+ 0.522697925567627,
18
+ 0.3444087505340576,
19
+ 0.5309966802597046,
20
+ 49.84851837158203
21
+ ],
22
+ "q01": [
23
+ -1.0531297045386805,
24
+ 0.7838840500074804,
25
+ -0.39637044419501943,
26
+ -2.551590729381487,
27
+ 0.4551538976353758,
28
+ -1.0030891360439242,
29
+ -1e-10
30
+ ],
31
+ "q99": [
32
+ 0.20381991231656804,
33
+ 1.8083262567565686,
34
+ 1.5471665069427205,
35
+ -0.47939204971559013,
36
+ 1.696906879658781,
37
+ 1.4057684653689329,
38
+ 99.98000000009996
39
+ ]
40
+ },
41
+ "actions": {
42
+ "mean": [
43
+ -0.40519973635673523,
44
+ 1.3669183254241943,
45
+ 0.7708451747894287,
46
+ -1.492232322692871,
47
+ 1.149193286895752,
48
+ 0.4756605625152588,
49
+ 49.24359130859375
50
+ ],
51
+ "std": [
52
+ 0.4345667362213135,
53
+ 0.2386302947998047,
54
+ 0.4585062563419342,
55
+ 0.5284347534179688,
56
+ 0.354095995426178,
57
+ 0.5372209548950195,
58
+ 49.99427795410156
59
+ ],
60
+ "q01": [
61
+ -1.0606446759420682,
62
+ 0.7624480928670695,
63
+ -0.39244628614266963,
64
+ -2.5683194364814876,
65
+ 0.4488185941273004,
66
+ -1.0152587816618766,
67
+ -1e-10
68
+ ],
69
+ "q99": [
70
+ 0.2403610593070864,
71
+ 1.8286242818624323,
72
+ 1.619703484617617,
73
+ -0.46531738959911584,
74
+ 1.7191881609739013,
75
+ 1.414894032184543,
76
+ 99.98000000009996
77
+ ]
78
+ }
79
+ }
80
+ }
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/_METADATA ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tree_metadata": {"('params', 'PaliGemma', 'img', 'Transformer', 'encoder_norm', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoder_norm", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoder_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoder_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_0', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_0", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'LayerNorm_1', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "LayerNorm_1", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 2152]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 4304]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_1', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MlpBlock_0', 'Dense_1', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MlpBlock_0", "key_type": 2}, {"key": "Dense_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 2152, 1152]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'key', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 16, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72, 1152]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'query', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 16, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'value', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 8, 72]}}, "('params', 'PaliGemma', 'img', 'Transformer', 'encoderblock', 'MultiHeadDotProductAttention_0', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "Transformer", "key_type": 2}, {"key": "encoderblock", "key_type": 2}, {"key": "MultiHeadDotProductAttention_0", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [27, 576, 16, 72]}}, "('params', 'PaliGemma', 'img', 'embedding', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576]}}, "('params', 'PaliGemma', 'img', 'embedding', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [7, 14, 3, 1152]}}, "('params', 'PaliGemma', 'img', 'head', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1024]}}, "('params', 'PaliGemma', 'img', 'head', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "head", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [576, 2048]}}, "('params', 'PaliGemma', 'img', 'pos_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "img", "key_type": 2}, {"key": "pos_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1, 128, 1152]}}, "('params', 'PaliGemma', 'llm', 'embedder', 'input_embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "embedder", "key_type": 2}, {"key": "input_embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [128576, 2048]}}, "('params', 'PaliGemma', 'llm', 'final_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1024]}}, "('params', 'PaliGemma', 'llm', 'final_norm_1', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [1536]}}, "('params', 'PaliGemma', 'llm', 'final_norm_1', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "final_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 256, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 16, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 256, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'attn_vec_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "attn_vec_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 256, 1024]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 2048, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 16, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 2048, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'kv_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "kv_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1, 1024, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 2048, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 16, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 2048, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'attn', 'q_einsum_1', 'w', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attn", "key_type": 2}, {"key": "q_einsum_1", "key_type": 2}, {"key": "w", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 8, 1024, 256]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 2048, 16384]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum_lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum_lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 2048, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'gating_einsum_lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "gating_einsum_lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 16, 16384]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 16384, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear_lora_a', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear_lora_a", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 16384, 16]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp', 'linear_lora_b', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "linear_lora_b", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 16, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'gating_einsum', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "gating_einsum", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2, 1024, 4096]}}, "('params', 'PaliGemma', 'llm', 'layers', 'mlp_1', 'linear', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp_1", "key_type": 2}, {"key": "linear", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 4096, 1024]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm_1', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_attention_norm_1', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_attention_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 1024, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 2048]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm_1', 'Dense_0', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 3072]}}, "('params', 'PaliGemma', 'llm', 'layers', 'pre_ffw_norm_1', 'Dense_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "PaliGemma", "key_type": 2}, {"key": "llm", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "pre_ffw_norm_1", "key_type": 2}, {"key": "Dense_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [9, 1024, 3072]}}, "('params', 'action_in_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512]}}, "('params', 'action_in_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_in_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [16, 1024]}}, "('params', 'action_out_proj', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [16]}}, "('params', 'action_out_proj', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "action_out_proj", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 32]}}, "('params', 'time_mlp_in', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_in", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512]}}, "('params', 'time_mlp_in', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_in", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 1024]}}, "('params', 'time_mlp_out', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_out", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512]}}, "('params', 'time_mlp_out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "time_mlp_out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": false, "write_shape": [512, 1024]}}}, "use_zarr3": false, "store_array_data_equal_to_fill_value": true, "custom_metadata": null}
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/_sharding ADDED
@@ -0,0 +1 @@
 
 
1
+ {"cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2Rlcl9ub3JtLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2Rlcl9ub3JtLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC52YWx1ZS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5rZXkua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5vdXQua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk11bHRpSGVhZERvdFByb2R1Y3RBdHRlbnRpb25fMC5xdWVyeS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMS5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLk1scEJsb2NrXzAuRGVuc2VfMS5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8wLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8wLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8xLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuVHJhbnNmb3JtZXIuZW5jb2RlcmJsb2NrLkxheWVyTm9ybV8xLnNjYWxlLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuZW1iZWRkaW5nLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcuaGVhZC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5pbWcucG9zX2VtYmVkZGluZy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZW1iZWRkZXIuaW5wdXRfZW1iZWRkaW5nLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybV8xLkRlbnNlXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0uZmluYWxfbm9ybV8xLkRlbnNlXzAua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtX2xvcmFfYS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5nYXRpbmdfZWluc3VtX2xvcmFfYi52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXIudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXJfbG9yYV9hLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scC5saW5lYXJfbG9yYV9iLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmdhdGluZ19laW5zdW0udmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLm1scF8xLmxpbmVhci52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLmxvcmFfYS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLmxvcmFfYi52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4uYXR0bl92ZWNfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLmxvcmFfYS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLmxvcmFfYi52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtLncudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ua3ZfZWluc3VtXzEudy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0ubG9yYV9hLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0ubG9yYV9iLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW0udy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLmF0dG4ucV9laW5zdW1fMS53LnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybV8xLkRlbnNlXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9hdHRlbnRpb25fbm9ybV8xLkRlbnNlXzAua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybS5zY2FsZS52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybV8xLkRlbnNlXzAuYmlhcy52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLlBhbGlHZW1tYS5sbG0ubGF5ZXJzLnByZV9mZndfbm9ybV8xLkRlbnNlXzAua2VybmVsLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9pbl9wcm9qLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLmFjdGlvbl9vdXRfcHJvai5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX291dC5iaWFzLnZhbHVl":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX291dC5rZXJuZWwudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX2luLmJpYXMudmFsdWU=":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}","cGFyYW1zLnRpbWVfbWxwX2luLmtlcm5lbC52YWx1ZQ==":"{\"sharding_type\": \"NamedSharding\", \"shape\": [2, 1], \"axis_names\": [\"batch\", \"fsdp\"], \"partition_spec\": [], \"device_mesh\": {\"mesh\": [[{\"id\": 0}], [{\"id\": 1}]]}}"}
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/array_metadatas/process_0 ADDED
@@ -0,0 +1 @@
 
 
1
+ {"array_metadatas": [{"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoder_norm.bias.value", "write_shape": [576], "chunk_shape": [576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoder_norm.scale.value", "write_shape": [576], "chunk_shape": [576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_0.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_0.scale.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_1.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.LayerNorm_1.scale.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_0.bias.value", "write_shape": [27, 2152], "chunk_shape": [27, 2152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_0.kernel.value", "write_shape": [27, 576, 4304], "chunk_shape": [27, 576, 4304], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_1.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MlpBlock_0.Dense_1.kernel.value", "write_shape": [27, 2152, 1152], "chunk_shape": [27, 2152, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.key.bias.value", "write_shape": [27, 8, 72], "chunk_shape": [27, 8, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.key.kernel.value", "write_shape": [27, 576, 16, 72], "chunk_shape": [27, 576, 16, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.out.bias.value", "write_shape": [27, 576], "chunk_shape": [27, 576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.out.kernel.value", "write_shape": [27, 8, 72, 1152], "chunk_shape": [27, 8, 72, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.query.bias.value", "write_shape": [27, 8, 72], "chunk_shape": [27, 8, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.query.kernel.value", "write_shape": [27, 576, 16, 72], "chunk_shape": [27, 576, 16, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.value.bias.value", "write_shape": [27, 8, 72], "chunk_shape": [27, 8, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.Transformer.encoderblock.MultiHeadDotProductAttention_0.value.kernel.value", "write_shape": [27, 576, 16, 72], "chunk_shape": [27, 576, 16, 72], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.embedding.bias.value", "write_shape": [576], "chunk_shape": [576], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.embedding.kernel.value", "write_shape": [7, 14, 3, 1152], "chunk_shape": [7, 14, 3, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.head.bias.value", "write_shape": [1024], "chunk_shape": [1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.head.kernel.value", "write_shape": [576, 2048], "chunk_shape": [576, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.img.pos_embedding.value", "write_shape": [1, 128, 1152], "chunk_shape": [1, 128, 1152], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.embedder.input_embedding.value", "write_shape": [128576, 2048], "chunk_shape": [128576, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.final_norm.scale.value", "write_shape": [1024], "chunk_shape": [1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.final_norm_1.Dense_0.bias.value", "write_shape": [1536], "chunk_shape": [1536], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.final_norm_1.Dense_0.kernel.value", "write_shape": [512, 3072], "chunk_shape": [512, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum.lora_a.value", "write_shape": [9, 8, 256, 16], "chunk_shape": [9, 8, 256, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum.lora_b.value", "write_shape": [9, 8, 16, 2048], "chunk_shape": [9, 8, 16, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum.w.value", "write_shape": [9, 8, 256, 2048], "chunk_shape": [9, 8, 256, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.attn_vec_einsum_1.w.value", "write_shape": [9, 8, 256, 1024], "chunk_shape": [9, 8, 256, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum.lora_a.value", "write_shape": [9, 2, 1, 2048, 16], "chunk_shape": [9, 2, 1, 2048, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum.lora_b.value", "write_shape": [9, 2, 1, 16, 256], "chunk_shape": [9, 2, 1, 16, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum.w.value", "write_shape": [9, 2, 1, 2048, 256], "chunk_shape": [9, 2, 1, 2048, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.kv_einsum_1.w.value", "write_shape": [9, 2, 1, 1024, 256], "chunk_shape": [9, 2, 1, 1024, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum.lora_a.value", "write_shape": [9, 8, 2048, 16], "chunk_shape": [9, 8, 2048, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum.lora_b.value", "write_shape": [9, 8, 16, 256], "chunk_shape": [9, 8, 16, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum.w.value", "write_shape": [9, 8, 2048, 256], "chunk_shape": [9, 8, 2048, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.attn.q_einsum_1.w.value", "write_shape": [9, 8, 1024, 256], "chunk_shape": [9, 8, 1024, 256], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.gating_einsum.value", "write_shape": [9, 2, 2048, 16384], "chunk_shape": [9, 2, 2048, 16384], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.gating_einsum_lora_a.value", "write_shape": [9, 2, 2048, 16], "chunk_shape": [9, 2, 2048, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.gating_einsum_lora_b.value", "write_shape": [9, 2, 16, 16384], "chunk_shape": [9, 2, 16, 16384], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.linear.value", "write_shape": [9, 16384, 2048], "chunk_shape": [9, 16384, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.linear_lora_a.value", "write_shape": [9, 16384, 16], "chunk_shape": [9, 16384, 16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp.linear_lora_b.value", "write_shape": [9, 16, 2048], "chunk_shape": [9, 16, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp_1.gating_einsum.value", "write_shape": [9, 2, 1024, 4096], "chunk_shape": [9, 2, 1024, 4096], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.mlp_1.linear.value", "write_shape": [9, 4096, 1024], "chunk_shape": [9, 4096, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_attention_norm.scale.value", "write_shape": [9, 2048], "chunk_shape": [9, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_attention_norm_1.Dense_0.bias.value", "write_shape": [9, 3072], "chunk_shape": [9, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_attention_norm_1.Dense_0.kernel.value", "write_shape": [9, 1024, 3072], "chunk_shape": [9, 1024, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_ffw_norm.scale.value", "write_shape": [9, 2048], "chunk_shape": [9, 2048], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_ffw_norm_1.Dense_0.bias.value", "write_shape": [9, 3072], "chunk_shape": [9, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.PaliGemma.llm.layers.pre_ffw_norm_1.Dense_0.kernel.value", "write_shape": [9, 1024, 3072], "chunk_shape": [9, 1024, 3072], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_in_proj.bias.value", "write_shape": [512], "chunk_shape": [512], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_in_proj.kernel.value", "write_shape": [16, 1024], "chunk_shape": [16, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_out_proj.bias.value", "write_shape": [16], "chunk_shape": [16], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.action_out_proj.kernel.value", "write_shape": [512, 32], "chunk_shape": [512, 32], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_in.bias.value", "write_shape": [512], "chunk_shape": [512], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_in.kernel.value", "write_shape": [512, 1024], "chunk_shape": [512, 1024], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_out.bias.value", "write_shape": [512], "chunk_shape": [512], "ext_metadata": null}}, {"array_metadata": {"param_name": "params.time_mlp_out.kernel.value", "write_shape": [512, 1024], "chunk_shape": [512, 1024], "ext_metadata": null}}]}
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/d/e610643a131a0630d9536f1fb53ebfde ADDED
Binary file (2.95 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/manifest.ocdbt ADDED
Binary file (118 Bytes). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/226ae31e99c7333a61450a00ba995095 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcfb8454905cc76169b5705a9a836432cbaae7fbe3f2719d7aebacc026a86c8e
3
+ size 2213147808
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/25c15778c6ec0c2abc8de29f5e2e2ff9 ADDED
Binary file (5.22 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/8bed6baef79be862046a0e3271c1595b ADDED
Binary file (1.32 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/965786e7a16a28ab7bfade6250af4dbc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1afeba7b8f34e2ba32ae1ffb324c72dd16bebc8149b328e9eb2b750ed269679
3
+ size 2306356994
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/a1b59a1f3c82e649f8737c81e7144c71 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf4a21b1a3bb0fbba8bca2c5817756824c53690bf00d49d45efed4cffcc539f6
3
+ size 1620392329
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/b4b2026c2109777c015c6d32cb3f100e ADDED
Binary file (219 Bytes). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/be600bb25bbb4a56f17d7e8ac6a7d170 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08029d1cf8a1e37e28ad0d3cc36397785414415fb9763d617e78044595f1314f
3
+ size 82879978
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/f65dc4a06590f10c9806e235cda540c2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8658f4f777b612c7550b5139dfafd93da181bddb8067d26bd0e4e7afed89f408
3
+ size 945351240
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/d/fbc96d675129f98b3f7f0a09a0629280 ADDED
Binary file (5.66 kB). View file
 
openpi/checkpoints/pi05_rm65_4tasks_trim/29999/params/ocdbt.process_0/manifest.ocdbt ADDED
Binary file (401 Bytes). View file
 
openpi/code/rm65_config_excerpt.py ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # RM65 excerpt of openpi-fintune src/openpi/training/config.py.
2
+ # Paste LeRobotRM65DataConfig next to the other DataConfigFactory classes and the TrainConfig into _CONFIGS.
3
+ # Requires openpi.policies.b601_policy (included under code/src/openpi/policies/).
4
+
5
+ # ---- DataConfigFactory (module level) ----
6
+ @dataclasses.dataclass(frozen=True)
7
+ class LeRobotRM65DataConfig(DataConfigFactory):
8
+ """Data config for fine-tuning on the RealMan RM65 right-arm LeRobot v2.1 dataset.
9
+
10
+ Same layout as B601 -- 7-dim state/action (right_q1..q6 in rad, right_gripper 0=closed..100=open)
11
+ and two cameras (top, wrist) -- so the B601 policy transforms are reused as-is. Unlike B601,
12
+ observation.state and action share one coordinate convention, so the joint actions can be
13
+ trained as deltas relative to the current state.
14
+ """
15
+
16
+ # Injected as the prompt for every sample. Leave None to take the prompt from the dataset's tasks.jsonl.
17
+ default_prompt: str | None = None
18
+ # Train the 6 joints as deltas relative to the current state; the gripper stays absolute.
19
+ use_delta_joint_actions: bool = False
20
+
21
+ @override
22
+ def create(self, assets_dirs: pathlib.Path, model_config: _model.BaseModelConfig) -> DataConfig:
23
+ repack_transform = _transforms.Group(
24
+ inputs=[
25
+ _transforms.RepackTransform(
26
+ {
27
+ "observation/top": "observation.images.top",
28
+ "observation/wrist": "observation.images.wrist",
29
+ "observation/state": "observation.state",
30
+ "actions": "action",
31
+ "prompt": "prompt",
32
+ }
33
+ )
34
+ ]
35
+ )
36
+
37
+ data_transforms = _transforms.Group(
38
+ inputs=[b601_policy.B601Inputs(model_type=model_config.model_type)],
39
+ outputs=[b601_policy.B601Outputs()],
40
+ )
41
+ if self.use_delta_joint_actions:
42
+ delta_action_mask = _transforms.make_bool_mask(6, -1)
43
+ data_transforms = data_transforms.push(
44
+ inputs=[_transforms.DeltaActions(delta_action_mask)],
45
+ outputs=[_transforms.AbsoluteActions(delta_action_mask)],
46
+ )
47
+
48
+ model_transforms = ModelTransformFactory(default_prompt=self.default_prompt)(model_config)
49
+
50
+ return dataclasses.replace(
51
+ self.create_base_config(assets_dirs, model_config),
52
+ repack_transforms=repack_transform,
53
+ data_transforms=data_transforms,
54
+ model_transforms=model_transforms,
55
+ )
56
+
57
+
58
+
59
+ # ---- TrainConfig (entry of _CONFIGS) ----
60
+ # Same as pi05_rm65_4tasks, but on rm65/4tasks_v1_trim (scripts/trim_static_frames.py): the static head
61
+ # of every episode is dropped and the static tail is cut to 10 frames, 66,121 -> 58,399 frames.
62
+ # Short mid-episode pauses are kept.
63
+ TrainConfig(
64
+ name="pi05_rm65_4tasks_trim",
65
+ model=pi0_config.Pi0Config(
66
+ pi05=True,
67
+ action_horizon=30,
68
+ paligemma_variant="gemma_2b_lora",
69
+ ),
70
+ data=LeRobotRM65DataConfig(
71
+ repo_id="rm65/4tasks_v1_trim",
72
+ base_config=DataConfig(
73
+ local_root=pathlib.Path("/shared/user64/workspace/yuhao/pi/data"),
74
+ prompt_from_task=True,
75
+ action_sequence_keys=("action",),
76
+ ),
77
+ ),
78
+ weight_loader=weight_loaders.CheckpointWeightLoader("gs://openpi-assets/checkpoints/pi05_base/params"),
79
+ freeze_filter=pi0_config.Pi0Config(
80
+ pi05=True,
81
+ action_horizon=30,
82
+ paligemma_variant="gemma_2b_lora",
83
+ ).get_freeze_filter(),
84
+ num_train_steps=30_000,
85
+ batch_size=32,
86
+ num_workers=8,
87
+ ema_decay=None,
88
+ ),
openpi/code/scripts/merge_datasets.py ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Merge several LeRobot (v2.1) datasets into one, re-indexed and with a shared
2
+ task table. The multi-task counterpart of split_dataset.py.
3
+
4
+ Episodes are concatenated in the order the sources are given. Each episode is
5
+ re-numbered, its parquet's `episode_index` / `index` / `task_index` columns are
6
+ rewritten, and its videos are hard-linked (same filesystem) or copied. Task
7
+ strings are deduplicated across sources, so two datasets sharing a prompt share
8
+ one task_index.
9
+
10
+ Example:
11
+ python scripts/merge_datasets.py \
12
+ --srcs ~/workspace/yuhao/pi/data/item-classification-eef \
13
+ ~/workspace/yuhao/pi/data/sort-tools-eef \
14
+ ~/workspace/yuhao/pi/data/stack-cube-eef \
15
+ --out ~/workspace/yuhao/pi/data/g1-multitask-eef
16
+
17
+ Sources are left untouched. Only the metadata every LeRobot loader needs is
18
+ written (info/tasks/episodes/episodes_stats); consumer-specific extras that some
19
+ sources happen to carry (modality.json, stats.json, relative_stats.json) are NOT
20
+ merged, because they describe one source's statistics and would be wrong for the
21
+ union — regenerate them for the merged set if a downstream tool needs them.
22
+ """
23
+
24
+ import dataclasses
25
+ import json
26
+ import pathlib
27
+ import shutil
28
+
29
+ import numpy as np
30
+ import pyarrow as pa
31
+ import pyarrow.parquet as pq
32
+ import tyro
33
+
34
+
35
+ @dataclasses.dataclass
36
+ class Args:
37
+ # Source LeRobot dataset directories, concatenated in this order.
38
+ srcs: list[str]
39
+ # Output directory for the merged dataset.
40
+ out: str
41
+ # Copy videos instead of hard-linking them (needed across filesystems).
42
+ copy: bool = False
43
+
44
+
45
+ def _link_or_copy(src: pathlib.Path, dst: pathlib.Path, force_copy: bool) -> None:
46
+ dst.parent.mkdir(parents=True, exist_ok=True)
47
+ if force_copy:
48
+ shutil.copy2(src, dst)
49
+ return
50
+ try:
51
+ dst.hardlink_to(src)
52
+ except OSError: # different filesystem, or links unsupported
53
+ shutil.copy2(src, dst)
54
+
55
+
56
+ def _load_jsonl(path: pathlib.Path) -> dict:
57
+ return {json.loads(l)["episode_index"]: json.loads(l) for l in path.open()}
58
+
59
+
60
+ def _check_compatible(infos: list[dict], srcs: list[pathlib.Path]) -> None:
61
+ """Every field that must agree for the episodes to be interchangeable.
62
+
63
+ `features` is compared whole: it pins dtypes, shapes, joint/EEF column names
64
+ and the video codec settings in one go. A mismatch here means the merged
65
+ dataset would feed a model two different action spaces or two different
66
+ decoders, which no downstream loader would catch.
67
+ """
68
+ keys = ["codebase_version", "robot_type", "fps", "chunks_size",
69
+ "data_path", "video_path", "features"]
70
+ for key in keys:
71
+ values = [info.get(key) for info in infos]
72
+ if any(v != values[0] for v in values):
73
+ detail = "\n".join(f" {s.name}: {json.dumps(v)[:200]}"
74
+ for s, v in zip(srcs, values))
75
+ raise SystemExit(f"Sources disagree on info.json['{key}']:\n{detail}")
76
+
77
+
78
+ def main(args: Args) -> None:
79
+ srcs = [pathlib.Path(s).expanduser().resolve() for s in args.srcs]
80
+ out = pathlib.Path(args.out).expanduser().resolve()
81
+ if len(srcs) < 2:
82
+ raise SystemExit("Need at least two --srcs to merge.")
83
+ if out in srcs:
84
+ raise SystemExit("--out must differ from every source.")
85
+ if out.exists():
86
+ raise SystemExit(f"--out already exists: {out}")
87
+
88
+ infos = [json.loads((s / "meta/info.json").read_text()) for s in srcs]
89
+ _check_compatible(infos, srcs)
90
+ info = infos[0]
91
+ chunks_size = info["chunks_size"]
92
+ data_tmpl, video_tmpl = info["data_path"], info["video_path"]
93
+ video_keys = [k for k, v in info["features"].items() if v["dtype"] == "video"]
94
+
95
+ # Shared task table: first-seen order, deduplicated across sources.
96
+ task_ids: dict[str, int] = {}
97
+ remaps = []
98
+ for src in srcs:
99
+ remap = {}
100
+ for line in (src / "meta/tasks.jsonl").open():
101
+ row = json.loads(line)
102
+ remap[row["task_index"]] = task_ids.setdefault(row["task"], len(task_ids))
103
+ remaps.append(remap)
104
+
105
+ (out / "meta").mkdir(parents=True, exist_ok=True)
106
+ new_eps, new_stats = [], []
107
+ new_ep, running = 0, 0
108
+
109
+ for src, src_info, remap in zip(srcs, infos, remaps):
110
+ eps = _load_jsonl(src / "meta/episodes.jsonl")
111
+ stats = _load_jsonl(src / "meta/episodes_stats.jsonl")
112
+ n_eps = src_info["total_episodes"]
113
+ print(f"{src.name}: {n_eps} episodes, {src_info['total_frames']} frames "
114
+ f"-> episodes {new_ep}..{new_ep + n_eps - 1}")
115
+
116
+ for old in range(n_eps):
117
+ src_chunk, dst_chunk = old // chunks_size, new_ep // chunks_size
118
+ table = pq.read_table(
119
+ src / data_tmpl.format(episode_chunk=src_chunk, episode_index=old))
120
+ n = table.num_rows
121
+
122
+ for name, values in (
123
+ ("episode_index", pa.array([new_ep] * n, pa.int64())),
124
+ ("index", pa.array(np.arange(running, running + n), pa.int64())),
125
+ ("task_index", pa.array(
126
+ [remap[t] for t in table.column("task_index").to_pylist()], pa.int64())),
127
+ ):
128
+ table = table.set_column(table.schema.get_field_index(name), name, values)
129
+
130
+ dst_pq = out / data_tmpl.format(episode_chunk=dst_chunk, episode_index=new_ep)
131
+ dst_pq.parent.mkdir(parents=True, exist_ok=True)
132
+ pq.write_table(table, dst_pq)
133
+
134
+ for vk in video_keys:
135
+ _link_or_copy(
136
+ src / video_tmpl.format(episode_chunk=src_chunk, video_key=vk, episode_index=old),
137
+ out / video_tmpl.format(episode_chunk=dst_chunk, video_key=vk, episode_index=new_ep),
138
+ args.copy)
139
+
140
+ new_eps.append({**eps[old], "episode_index": new_ep})
141
+ new_stats.append({**stats[old], "episode_index": new_ep})
142
+ new_ep += 1
143
+ running += n
144
+
145
+ with (out / "meta/episodes.jsonl").open("w") as f:
146
+ f.writelines(json.dumps(e) + "\n" for e in new_eps)
147
+ with (out / "meta/episodes_stats.jsonl").open("w") as f:
148
+ f.writelines(json.dumps(s) + "\n" for s in new_stats)
149
+ with (out / "meta/tasks.jsonl").open("w") as f:
150
+ f.writelines(json.dumps({"task_index": i, "task": t}) + "\n"
151
+ for t, i in sorted(task_ids.items(), key=lambda kv: kv[1]))
152
+
153
+ (out / "meta/info.json").write_text(json.dumps({
154
+ **info,
155
+ "total_episodes": new_ep,
156
+ "total_frames": running,
157
+ "total_tasks": len(task_ids),
158
+ "total_videos": new_ep * len(video_keys),
159
+ "total_chunks": (new_ep - 1) // chunks_size + 1 if new_ep else 0,
160
+ "splits": {"train": f"0:{new_ep}"},
161
+ }, indent=4))
162
+
163
+ print(f"\nMerged -> {out}")
164
+ print(f" {new_ep} episodes, {running} frames, {len(task_ids)} tasks, "
165
+ f"{new_ep * len(video_keys)} videos")
166
+
167
+
168
+ if __name__ == "__main__":
169
+ main(tyro.cli(Args))
openpi/code/scripts/trim_static_frames.py ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Trim the static head and tail of every episode in a LeRobot (v2.1) dataset.
2
+
3
+ A frame is "moving" if either observation.state or action changes between it and
4
+ the next frame. Everything before the first moving frame is dropped, and the
5
+ static tail after the last moving frame is cut down to `--keep-tail` frames, so
6
+ the policy still sees the arm come to rest. Short pauses in the middle of an
7
+ episode are kept: cutting them would break the timing of the action chunks.
8
+
9
+ Videos are hard-linked, not re-encoded. Each kept row keeps its original
10
+ `timestamp` and `frame_index`, so LeRobot still decodes the matching frame from
11
+ the untouched per-episode mp4 (it only checks that timestamps within an episode
12
+ are 1/fps apart, not that they start at 0). `index` is renumbered globally and
13
+ episodes.jsonl / episodes_stats.jsonl are rewritten for the new lengths.
14
+
15
+ Example:
16
+ python scripts/trim_static_frames.py \
17
+ --src ~/workspace/yuhao/pi/data/rm65/4tasks_v1 \
18
+ --out ~/workspace/yuhao/pi/data/rm65/4tasks_v1_trim
19
+ """
20
+
21
+ import dataclasses
22
+ import json
23
+ import pathlib
24
+ import shutil
25
+
26
+ import numpy as np
27
+ import pyarrow as pa
28
+ import pyarrow.parquet as pq
29
+ import tyro
30
+
31
+
32
+ @dataclasses.dataclass
33
+ class Args:
34
+ # Source LeRobot v2.1 dataset directory.
35
+ src: str
36
+ # Output directory for the trimmed dataset.
37
+ out: str
38
+ # Static frames kept after the last moving frame.
39
+ keep_tail: int = 10
40
+ # Absolute change below which a state/action value counts as unchanged.
41
+ eps: float = 1e-6
42
+
43
+
44
+ def _link_or_copy(src: pathlib.Path, dst: pathlib.Path) -> None:
45
+ dst.parent.mkdir(parents=True, exist_ok=True)
46
+ try:
47
+ dst.hardlink_to(src)
48
+ except OSError: # different filesystem, or links unsupported
49
+ shutil.copy2(src, dst)
50
+
51
+
52
+ def _vector_stats(x: np.ndarray) -> dict:
53
+ return {
54
+ "min": x.min(0).tolist(),
55
+ "max": x.max(0).tolist(),
56
+ "mean": x.mean(0).tolist(),
57
+ "std": x.std(0).tolist(),
58
+ "count": [len(x)],
59
+ }
60
+
61
+
62
+ def main(args: Args) -> None:
63
+ src = pathlib.Path(args.src).expanduser().resolve()
64
+ out = pathlib.Path(args.out).expanduser().resolve()
65
+ if out == src:
66
+ raise SystemExit("--out must differ from --src.")
67
+ if out.exists():
68
+ raise SystemExit(f"--out already exists: {out}")
69
+
70
+ info = json.loads((src / "meta/info.json").read_text())
71
+ if info["codebase_version"] != "v2.1":
72
+ raise SystemExit(f"Expected a v2.1 dataset, got {info['codebase_version']}")
73
+ chunks_size = info["chunks_size"]
74
+ data_tmpl, video_tmpl = info["data_path"], info["video_path"]
75
+ video_keys = [k for k, v in info["features"].items() if v["dtype"] == "video"]
76
+
77
+ eps = [json.loads(l) for l in (src / "meta/episodes.jsonl").open()]
78
+ stats = {json.loads(l)["episode_index"]: json.loads(l) for l in (src / "meta/episodes_stats.jsonl").open()}
79
+
80
+ (out / "meta").mkdir(parents=True)
81
+ shutil.copy2(src / "meta/tasks.jsonl", out / "meta/tasks.jsonl")
82
+ new_eps, new_stats = [], []
83
+ running, dropped_head, dropped_tail = 0, 0, 0
84
+
85
+ for ep in eps:
86
+ ep_idx = ep["episode_index"]
87
+ chunk = ep_idx // chunks_size
88
+ table = pq.read_table(src / data_tmpl.format(episode_chunk=chunk, episode_index=ep_idx))
89
+ state = np.stack(table.column("observation.state").to_numpy(zero_copy_only=False))
90
+ action = np.stack(table.column("action").to_numpy(zero_copy_only=False))
91
+ n = len(state)
92
+
93
+ moving = (np.abs(np.diff(state, axis=0)).max(1) > args.eps) | (
94
+ np.abs(np.diff(action, axis=0)).max(1) > args.eps
95
+ )
96
+ if not moving.any():
97
+ raise SystemExit(f"Episode {ep_idx} never moves; refusing to trim it to nothing.")
98
+ start = int(np.argmax(moving)) # first frame that moves to the next one
99
+ last_move = n - 1 - int(np.argmax(moving[::-1])) # frame reached by the last movement
100
+ end = min(n, last_move + 1 + args.keep_tail)
101
+ dropped_head += start
102
+ dropped_tail += n - end
103
+
104
+ table = table.slice(start, end - start)
105
+ m = table.num_rows
106
+ table = table.set_column(
107
+ table.schema.get_field_index("index"), "index", pa.array(np.arange(running, running + m), pa.int64())
108
+ )
109
+ dst_pq = out / data_tmpl.format(episode_chunk=chunk, episode_index=ep_idx)
110
+ dst_pq.parent.mkdir(parents=True, exist_ok=True)
111
+ pq.write_table(table, dst_pq)
112
+
113
+ for vk in video_keys:
114
+ _link_or_copy(
115
+ src / video_tmpl.format(episode_chunk=chunk, video_key=vk, episode_index=ep_idx),
116
+ out / video_tmpl.format(episode_chunk=chunk, video_key=vk, episode_index=ep_idx),
117
+ )
118
+
119
+ # action_config frame ranges are relative to the episode start.
120
+ new_ep = {**ep, "length": m}
121
+ if "action_config" in ep:
122
+ new_ep["action_config"] = [
123
+ {**c, "start_frame": max(0, c["start_frame"] - start), "end_frame": min(m, c["end_frame"] - start)}
124
+ for c in ep["action_config"]
125
+ if c["end_frame"] > start and c["start_frame"] - start < m
126
+ ]
127
+ new_eps.append(new_ep)
128
+
129
+ # Recompute the per-episode stats that depend on the kept rows; video stats are kept as-is.
130
+ st = dict(stats[ep_idx]["stats"])
131
+ st["observation.state"] = _vector_stats(state[start:end])
132
+ st["action"] = _vector_stats(action[start:end])
133
+ for key in ("timestamp", "frame_index", "episode_index", "index", "task_index"):
134
+ col = table.column(key).to_numpy().astype(np.float64)[:, None]
135
+ st[key] = _vector_stats(col)
136
+ new_stats.append({"episode_index": ep_idx, "stats": st})
137
+ running += m
138
+
139
+ with (out / "meta/episodes.jsonl").open("w") as f:
140
+ f.writelines(json.dumps(e) + "\n" for e in new_eps)
141
+ with (out / "meta/episodes_stats.jsonl").open("w") as f:
142
+ f.writelines(json.dumps(s) + "\n" for s in new_stats)
143
+ (out / "meta/info.json").write_text(json.dumps({**info, "total_frames": running}, indent=4))
144
+
145
+ total = running + dropped_head + dropped_tail
146
+ print(f"Trimmed -> {out}")
147
+ print(f" {len(new_eps)} episodes, {total} -> {running} frames "
148
+ f"(dropped {dropped_head} head + {dropped_tail} tail, {1 - running / total:.1%})")
149
+
150
+
151
+ if __name__ == "__main__":
152
+ main(tyro.cli(Args))