diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/README.md b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/README.md new file mode 100644 index 0000000000000000000000000000000000000000..63a3be2a2b4a0d27f608045ab044917eee028ee6 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/README.md @@ -0,0 +1,8 @@ +# intercept QwenOFT H1 mean-profile VLA + +Training complete:5000 optimizer updates, seed0, globalbatch128, microbatch64 perGPU, accumulation1, gradientcheckpointingTrue, BF16/ZeRO2. Hardware:2 RTX PRO6000 Blackwell GPUs. Fixed mean99.05021289731565ms uses originalRTX3090 profile; all actual science/runtime settings and user-authorized throughput changes are recorded in config.full.yaml/launch_audit.json. Horizon1, native state/action dimensions7/7. + +Puretensor weights checkCPUweights_only/allfinite passed. Portable inferenceconfig, normalization/statistics, taskcontract, sourcecode/profile/data provenance included. Full optimizer recovery remains local. Finalofflinevalidation loss0.03070492297410965; this is not closed-loop task-performance acceptance. Latency-bench evaluation pending until all four models finish. + +Dataset:https://huggingface.co/datasets/latency-sensitive-bench/Standard-Pipeline/tree/bba7d56c0ad5bb2b6d6ed07adb70b4f1afd5d25a/mikasa_intercept_grab_fast/profile_latency/QwenOFT/mean_rtx3090_h1_s123_275ep_v1 +Training:https://wandb.ai/dongqianyu99-zhejiang-university/starvla_tasks/runs/mean3090-intercept-vla-blackwell-20260930 diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/checkpoints/model.pt b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/checkpoints/model.pt new file mode 100644 index 0000000000000000000000000000000000000000..3ef7cb3c4b792d51c56e083469fa697ba9b59231 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/checkpoints/model.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bea6746bf7973ff7d4e4e8a457a3bfbc0ce981c80fe5f7afadca651ec5ca85e +size 9785101729 diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/collection_quality_report.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/collection_quality_report.json new file mode 100644 index 0000000000000000000000000000000000000000..09b65848dcfa1e60483f8fc3831ea4da5dd4cc6c --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/collection_quality_report.json @@ -0,0 +1,306 @@ +{ + "episodes": 275, + "unique_seeds": 275, + "rows": 12211, + "length_min": 37, + "length_max": 55, + "all_success_once": true, + "state_dim": 7, + "action_dim": 7, + "rgb_shape": [ + 128, + 128, + 6 + ], + "finite_numeric": true, + "latency_raw_frames": 2, + "applied_command_matches_source_issued_action": true, + "action_horizon": 1, + "dagger": false, + "raw_bytes": 1204453838, + "episode_seeds": [ + 0, + 1, + 10, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 11, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 12, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 13, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 14, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 15, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 16, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 17, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 18, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 19, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 2, + 100, + 270, + 271, + 272, + 273, + 274, + 30, + 31, + 32, + 33, + 34, + 101, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 102, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 103, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 104, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 105, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 106, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 107, + 95, + 96, + 97, + 98, + 99, + 108, + 109, + 3, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 4, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 5, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 6, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 7, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 8, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 9, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179 + ], + "train_episodes": 250, + "val_episodes": 25, + "train_rows": 11119, + "val_rows": 1092, + "teacher_checkpoint": "/home/ubuntu/lzj/mean-profiling/intercept/teacher-publication/checkpoint.pt", + "teacher_sha256": "e47526f03fad3ed251dd78f3cacfba8aa8b60bd1578f40bd7a1393e17298e973", + "fixed_latency_ms": 99.05021289731565, + "conversion_complete": true +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/config.full.yaml b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0ae5fae4b9695c661e727b97479b0af44b22a4fe --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/config.full.yaml @@ -0,0 +1,102 @@ +run_id: intercept-qwenoft-mean-3090-h1-s0 +run_root_dir: /home/ubuntu/lzj/mean-profiling/intercept/vla +seed: 0 +wandb_name: intercept-qwenoft-mean-3090-h1-s0 +wandb_project: starvla_tasks +wandb_entity: dongqianyu99-zhejiang-university +wandb_group: mean-profiling-3090-blackwell +wandb_tags: +- intercept +- qwenoft +- mean-profile +- h1 +training_latency_condition: mean-profile +is_debug: false +version_id: '0.21' +framework: + name: QwenOFT + qwenvl: + base_vlm: /home/ubuntu/lzj/models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + state_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: l1 + state_encoding: continuous_projector + task_objective: null + action_env_dim: 7 + action_horizon: 1 +datasets: + vla_data: + dataset_py: latency_bench_tasks + lerobot_version: v3.0 + include_state: true + task_contract_path: /home/ubuntu/lzj/mean-profiling/intercept/data/lerobot/task_contract.json + data_root_dir: / + data_mix: train + eval_data_mix: validation + custom_mixtures_path: /home/ubuntu/lzj/mean-profiling/intercept/data/mixture.json + sequential_step_sampling: true + per_device_batch_size: 64 + pin_memory: true + persistent_workers: true + num_workers: 2 + prefetch_factor: 4 + obs_image_size: + - 224 + - 224 + video_backend: pyav + image_mode: single + stitch_grid: + - 1 + - 2 + num_obs_frames: 1 +trainer: + max_train_steps: 5000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 5000 + eval_num_batches: 1 + logging_frequency: 5 + learning_rate: + base: 3.0e-05 + action_model: 0.0001 + lr_scheduler_type: cosine_with_min_lr + scheduler_specific_kwargs: + min_lr: 1.0e-06 + freeze_modules: '' + freeze_vit: false + freeze_tied_embedding: false + freeze_llm_layers: [] + loss_scale: + vla: 1.0 + gradient_clipping: 1.0 + gradient_accumulation_steps: 1 + pretrained_checkpoint: null + is_resume: false + distributed_backend: deepspeed + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + profile_timing: + enabled: false + log_interval: 10 +checkpoint: + save_best_model: false + save_final_model: true + save_pt_file: true + save_training_state: true + local: + keep_last_n: 1 +config_yaml: /home/ubuntu/lzj/mean-profiling/intercept/vla.yaml +output_dir: /home/ubuntu/lzj/mean-profiling/intercept/vla/intercept-qwenoft-mean-3090-h1-s0 diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/config.yaml b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f9e76334bab1ee99dfd3052183ea31d980e57587 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/config.yaml @@ -0,0 +1,41 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: Qwen/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + state_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: l1 + state_encoding: continuous_projector + task_objective: null + action_env_dim: 7 + action_horizon: 1 +version_id: '0.21' +datasets: + vla_data: + include_state: true + obs_image_size: + - 224 + - 224 + image_mode: single + stitch_grid: + - 1 + - 2 + num_obs_frames: 1 +trainer: + pretrained_checkpoint: null +backbone: + repo_id: Qwen/Qwen3-VL-4B-Instruct + revision: ebb281ec70b05090aa6165b016eac8ec08e71b17 + allow_patterns: + - '*.json' + - '*.safetensors' + - '*.txt' + - '*.jinja' + - '*.model' diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/dataset_statistics.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..b27dffc4882ec378ef11421364f393baa2d0d2f2 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + -0.048697348684072495, + 0.24886493384838104, + -0.16479986906051636, + -0.032609131187200546, + -0.501691997051239, + 0.44703611731529236, + 0.6793776154518127 + ], + "std": [ + 0.1079770028591156, + 0.47203660011291504, + 0.14475314319133759, + 0.2849433720111847, + 0.318120539188385, + 0.35324087738990784, + 0.6349603533744812 + ], + "max": [ + 0.30179348587989807, + 0.7795099020004272, + 0.2688712179660797, + 0.8059309720993042, + 0.5333064198493958, + 1.0, + 1.0 + ], + "min": [ + -0.6572320461273193, + -1.0, + -0.8218780755996704, + -0.7686842083930969, + -0.9920897483825684, + -0.30364304780960083, + -1.0 + ], + "q01": [ + -0.4552440994977951, + -1.0, + -0.7419710528850555, + -0.475678391456604, + -0.9305388247966766, + -0.20442348539829253, + -0.8981475746631622 + ], + "q99": [ + 0.1125871029496192, + 0.7402709639072418, + 0.22590837419033025, + 0.7005072689056396, + 0.16810789704322815, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + -0.14554812014102936, + 0.07433967292308807, + 0.1436367779970169, + 2.700871706008911, + 0.45681115984916687, + -0.48229172825813293, + 0.06972828507423401 + ], + "std": [ + 0.07678605616092682, + 0.21988309919834137, + 0.09388109296560287, + 1.109084963798523, + 0.3012843728065491, + 0.3006882667541504, + 0.0164483655244112 + ], + "max": [ + 0.014208495616912842, + 0.5909395217895508, + 0.3558541536331177, + 3.1415467262268066, + 0.9420600533485413, + 0.09770228713750839, + 0.07999999821186066 + ], + "min": [ + -0.37446925044059753, + -0.29720592498779297, + 0.016940969973802567, + -3.140481948852539, + -0.10707131028175354, + -1.2001688480377197, + 0.03238735347986221 + ], + "q01": [ + -0.3139808464050293, + -0.25229972660541533, + 0.0188405978679657, + -3.134360270500183, + -0.04521620273590088, + -1.0301372480392457, + 0.03585549935698509 + ], + "q99": [ + -0.013631248474121185, + 0.5275326526165007, + 0.33348673582077026, + 3.1367013454437256, + 0.8922865676879882, + 0.056985778063535636, + 0.07999999821186066 + ] + }, + "num_transitions": 11119, + "num_trajectories": 250 + } +} \ No newline at end of file diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/dataset_statistics_eval.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..13043bdc630634e92b48ffb5f0b1862631005dfc --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + -0.048697348684072495, + 0.24886493384838104, + -0.16479986906051636, + -0.032609131187200546, + -0.501691997051239, + 0.44703611731529236, + 0.6793776154518127 + ], + "std": [ + 0.1079770028591156, + 0.47203660011291504, + 0.14475314319133759, + 0.2849433720111847, + 0.318120539188385, + 0.35324087738990784, + 0.6349603533744812 + ], + "max": [ + 0.30179348587989807, + 0.7795099020004272, + 0.2688712179660797, + 0.8059309720993042, + 0.5333064198493958, + 1.0, + 1.0 + ], + "min": [ + -0.6572320461273193, + -1.0, + -0.8218780755996704, + -0.7686842083930969, + -0.9920897483825684, + -0.30364304780960083, + -1.0 + ], + "q01": [ + -0.4552440994977951, + -1.0, + -0.7419710528850555, + -0.475678391456604, + -0.9305388247966766, + -0.20442348539829253, + -0.8981475746631622 + ], + "q99": [ + 0.1125871029496192, + 0.7402709639072418, + 0.22590837419033025, + 0.7005072689056396, + 0.16810789704322815, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + -0.14554812014102936, + 0.07433967292308807, + 0.1436367779970169, + 2.700871706008911, + 0.45681115984916687, + -0.48229172825813293, + 0.06972828507423401 + ], + "std": [ + 0.07678605616092682, + 0.21988309919834137, + 0.09388109296560287, + 1.109084963798523, + 0.3012843728065491, + 0.3006882667541504, + 0.0164483655244112 + ], + "max": [ + 0.014208495616912842, + 0.5909395217895508, + 0.3558541536331177, + 3.1415467262268066, + 0.9420600533485413, + 0.09770228713750839, + 0.07999999821186066 + ], + "min": [ + -0.37446925044059753, + -0.29720592498779297, + 0.016940969973802567, + -3.140481948852539, + -0.10707131028175354, + -1.2001688480377197, + 0.03238735347986221 + ], + "q01": [ + -0.3139808464050293, + -0.25229972660541533, + 0.0188405978679657, + -3.134360270500183, + -0.04521620273590088, + -1.0301372480392457, + 0.03585549935698509 + ], + "q99": [ + -0.013631248474121185, + 0.5275326526165007, + 0.33348673582077026, + 3.1367013454437256, + 0.8922865676879882, + 0.056985778063535636, + 0.07999999821186066 + ] + }, + "num_transitions": 1092, + "num_trajectories": 25 + } +} \ No newline at end of file diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/files.sha256.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/files.sha256.json new file mode 100644 index 0000000000000000000000000000000000000000..55075272406554066e499bceed7721563e66e49c --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/files.sha256.json @@ -0,0 +1,106 @@ +{ + "README.md": { + "bytes": 1155, + "sha256": "c9ccbe7aa494be2270decacd8f7f3f56afbd0e5c57c58529b6e9c08d72fe5402" + }, + "checkpoints/model.pt": { + "bytes": 9785101729, + "sha256": "7bea6746bf7973ff7d4e4e8a457a3bfbc0ce981c80fe5f7afadca651ec5ca85e" + }, + "collection_quality_report.json": { + "bytes": 3134, + "sha256": "ce3effc9d3267edf410642d0ecd3b5b7790c072e1ff5d0f79eeab4ae883fe1a1" + }, + "config.full.yaml": { + "bytes": 2574, + "sha256": "e9e1231302aa3ae47efd1673f356c0004daf815f47eb9c02ba62714d89b53f0b" + }, + "config.yaml": { + "bytes": 871, + "sha256": "d0612a41944af616e4750bb1217353a90a562ac978571d9ebd663ec7caae61ed" + }, + "dataset_statistics.json": { + "bytes": 2843, + "sha256": "7a5fde37c6a0b220321d0acdb73b8b48b7ffe9f6295b7a0bb0e0abcf4849b653" + }, + "dataset_statistics_eval.json": { + "bytes": 2841, + "sha256": "fcbc27a8dc2d8f6f8b5069300bae4fbf71ddacea91c8b23551fa652b88d0801e" + }, + "launch_audit.json": { + "bytes": 1062, + "sha256": "afcbecdd81e19e8bf4d3a6fa946e7b891f126cb60d0ea8e24f5badeab961f07c" + }, + "manifest.json": { + "bytes": 221, + "sha256": "97b5bea337c766d9db49c8e3a01ad93de4721dbdf965acf31e7eba4948f24421" + }, + "profile.source.json": { + "bytes": 2190, + "sha256": "31a9b15d6b04182439934f0b377cb3d09be16ce21f3cf95c1049918f8a5d4984" + }, + "provenance.json": { + "bytes": 8324, + "sha256": "67f1a7c42dbd772f40995fc73454cf954dda78c2408741bc9274f5259766f7ce" + }, + "startup_verified.json": { + "bytes": 1210, + "sha256": "6bd0871b87954dbf4dfba1778e84ba91361741c4e7d106e97299965d2c0ba1c0" + }, + "summary.jsonl": { + "bytes": 159, + "sha256": "2905acb79c5fffb33fd4689d87af3bd05d74f4184b9d36ff3eae0c64deecd930" + }, + "task_contract.json": { + "bytes": 3063, + "sha256": "b40d58b27dfa9431f86f83ea5d4f36bcd652b3e3517c044638282df0d1e86c6b" + }, + "training-code/QWen3.py": { + "bytes": 17586, + "sha256": "5fe76fc98eaa84e215c3c25c11326815499d2a4b0683c6ab95382b881f535370" + }, + "training-code/QwenOFT.py": { + "bytes": 62854, + "sha256": "acad1b0dcde6e9fed6e2912b6534db0f8e33a74ec7f6630bbf1b0161fc298b0d" + }, + "training-code/datasets.py": { + "bytes": 154347, + "sha256": "33e22556471128a2bad18a1ef8b84c399847b4d98b2979d785d139de0cdf36df" + }, + "training-code/doom-mean-reset.patch": { + "bytes": 9569, + "sha256": "4113989e16c547bd1f02f5f10f285c4d511be3a3c18d10a0aa3316bd8ff3175d" + }, + "training-code/gym-language-contract.patch": { + "bytes": 688, + "sha256": "9f5dee2c5b52d5507aff27373a8cf6def4959361d2c5264d5079b416f28a4c49" + }, + "training-code/loader-spawn-cache.patch": { + "bytes": 711, + "sha256": "24532ce84e5aa9aef381493fe699b4bb4987afd954422191ae852b0f5eb5b2cd" + }, + "training-code/loader-spawn-test.patch": { + "bytes": 1500, + "sha256": "a36db15b13d68defeecb75ddc9efa1ac202d9aa0a40f66ba5baaee2dcaef21f1" + }, + "training-code/mean-profile-preparation.patch": { + "bytes": 7053, + "sha256": "de5fe558376c98515a1cfb186ffdc09b618acc207eb8a5f667b0cbb303767c09" + }, + "training-code/train_starvla.py": { + "bytes": 125159, + "sha256": "f872648f941cec272af724772e9d6fc3721e9ed6eaf0c8683ab285eb9396212e" + }, + "training-code/trainer_tools.py": { + "bytes": 29144, + "sha256": "9a48bdfb99b405b03fececfc1e051d3ebb179eb423c15141f02b9be62e2e1791" + }, + "training-code/worker_context.py": { + "bytes": 2279, + "sha256": "8493631104269f0630655ee2faae592a84ebfb3119aca142c8ac2701f5214464" + }, + "training_results.json": { + "bytes": 610, + "sha256": "7165309b2a84a8fa8250cff1dc2ca1717837f114b5aac269ee9a7e3188182e17" + } +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/launch_audit.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/launch_audit.json new file mode 100644 index 0000000000000000000000000000000000000000..7cda1ae7c6ace429fb899b66840ad7f6bee09d8c --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/launch_audit.json @@ -0,0 +1,29 @@ +{ + "physical_gpus": [ + 2, + 3 + ], + "seed": 0, + "horizon": 1, + "dagger_updates": 0, + "state_dim": 7, + "action_dim": 7, + "micro_per_gpu": 64, + "gradient_accumulation": 1, + "global_batch": 128, + "gradient_checkpointing": true, + "formal_budget": 5000, + "post_train_rollout_eval": false, + "init": "same pinnedQwen3-VL-4B backbone; scratchactionhead", + "user_authorization": "AfterDeadlycompletes startInterceptGPU23; no newtaskGPU01afterAnt", + "runtime_capacity_choice": "GCtrue64 methodpassedAnt/Deadly; Interceptmuststillcomplete20boundedthenverifyformalstartup", + "dataset_revision": "bba7d56c0ad5bb2b6d6ed07adb70b4f1afd5d25a", + "startup_verified": true, + "recovery_keep_last_n": 1, + "storage_capacity": { + "free_before_bytes": 266315395072, + "estimated_two_intercept_saves_plus_one_ant_transient_bytes": 218520000000, + "policy": "preserveonecompleteoptimizerrecovery;newsavebeforeoldprune;originaldata/artifactsnotdeleted" + }, + "formal_startup_evidence": "/home/ubuntu/lzj/mean-profiling/intercept/vla.startup-verified.json" +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/manifest.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..fb1e206169bd83b42b598fe652aefa38ff69e81b --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/manifest.json @@ -0,0 +1,10 @@ +{ + "format": "latency_bench_starvla_h1_v1", + "task": "mikasa_intercept_grab_fast", + "robot_type": "latency_mikasa_h1", + "state_dim": 7, + "action_dim": 7, + "action_horizon": 1, + "vla_fps": 20.0, + "dagger": false +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/profile.source.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/profile.source.json new file mode 100644 index 0000000000000000000000000000000000000000..22b4d0dd275f2dfde5c7c996197cac820bb8b5f0 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/profile.source.json @@ -0,0 +1,66 @@ +{ + "burst_model_path": "latency_burst_model.json", + "distribution_path": "latency_distribution.json", + "env_fps": 20, + "frame_ms": 50.0, + "gpu_class": "1x-rtx3090", + "instance_id": "instance_3a0d42681a03715c", + "latency_kind": "observation_to_action_latency", + "latency_method": "temporal", + "model_id": "qwenoft", + "n_admitted_observations": 7505, + "n_capacity_drops": 7495, + "n_observation_attempts": 15000, + "per_slot_summary": { + "0": { + "admitted_count": 7505, + "mean_observation_to_action_latency_ms": 99.05021289731565, + "mean_worker_service_time_ms": 98.55270653801072, + "p95_observation_to_action_latency_ms": 100.32732703685761, + "p95_worker_service_time_ms": 99.84762226343155, + "p99_worker_service_time_ms": 100.37557450771331 + } + }, + "provenance": { + "base_config": "configs/examples/mikasa/official_starvla_profile.yaml", + "checkpoint_kind": "best", + "model_artifact": { + "checkpoint": "checkpoints/model.pt", + "model_config": "config.yaml", + "path_in_repo": "zero-latency/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/mikasa_intercept_grab_fast_qwenoft_formal_latest_r8gpu8_20260907T082154Z", + "repo_id": "latency-sensitive-bench/benchmark-models", + "source": "hf" + }, + "session_ids": [ + 0, + 1, + 2, + 3, + 4 + ] + }, + "sample_model_type": "hidden_regime", + "source_run_id": "20260909T044501695676Z", + "summary": { + "frame_ms": 50.0, + "max_ms": 101.19136601686478, + "mean_effective_frames": 1.981004257946313, + "mean_ms": 99.05021289731565, + "min_ms": 57.612886011600494, + "n_samples": 7505, + "p50_frames": 1.9978350806236267, + "p50_ms": 99.89175403118134, + "p90_frames": 2.0040290887355803, + "p90_ms": 100.20145443677902, + "p95_frames": 2.006546540737152, + "p95_ms": 100.32732703685761, + "p99_frames": 2.0128874400138854, + "p99_ms": 100.64437200069428, + "prob_latency_gt_1_frame": 1.0, + "prob_latency_gt_2_frames": 0.2139906728847435, + "prob_latency_gt_3_frames": 0.0, + "std_ms": 4.583189247461202 + }, + "visualization_path": "latency_profile.png", + "workload_id": "mikasa_intercept_grab_fast" +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/provenance.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/provenance.json new file mode 100644 index 0000000000000000000000000000000000000000..48461c24c8e2410e0e022c4d0e98dd9a765cac30 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/provenance.json @@ -0,0 +1,415 @@ +{ + "task": "intercept", + "model": "QwenOFT", + "run_id": "intercept-qwenoft-mean-3090-h1-s0", + "training_status": "complete", + "training_hardware": { + "gpu": "RTX PRO6000 Blackwell Server Edition", + "count": 2, + "physical_indices": [ + 2, + 3 + ] + }, + "profile": { + "mean_ms": 99.05021289731565, + "profile": "/home/ubuntu/lzj/profiles/intercept-published/profiles/qwenoft/1x-rtx3090/mikasa_intercept_grab_fast/instance_3a0d42681a03715c/profile.json", + "sha256": "31a9b15d6b04182439934f0b377cb3d09be16ce21f3cf95c1049918f8a5d4984" + }, + "profile_hardware": "RTX3090", + "condition": "fixed_mean_profile", + "horizon": 1, + "seed": 0, + "state_dim": 7, + "action_dim": 7, + "micro_per_gpu": 64, + "gradient_accumulation": 1, + "global_batch": 128, + "gradient_checkpointing": true, + "precision": "BF16", + "backend": "ZeRO2", + "teacher": { + "repo_id": "latency-sensitive-bench/benchmark-models", + "revision": "ba7e4f3b6047b82711de01432a7d5bf3895df8b4", + "path": "latency-aware/mikasa-intercept-grab-fast/small-policy/ppo-qwenoft-rtx3090-mean-h1-s123-v1", + "status": "complete_verified", + "local_checkpoint": "/home/ubuntu/lzj/mean-profiling/intercept/teacher-publication/checkpoint.pt", + "completed_env_steps": 149975040, + "completed_iterations": 2441, + "selected_env_steps": 32256000, + "selected_iteration": 525, + "tensor_count": 17, + "weights_only_export": true, + "tensor_equality_verified": true, + "hash_readback_verified": true, + "url": "https://huggingface.co/latency-sensitive-bench/benchmark-models/tree/ba7e4f3b6047b82711de01432a7d5bf3895df8b4/latency-aware/mikasa-intercept-grab-fast/small-policy/ppo-qwenoft-rtx3090-mean-h1-s123-v1", + "completed_utc": "2026-09-30T16:34:58.230455+00:00" + }, + "dataset": { + "repo_id": "latency-sensitive-bench/Standard-Pipeline", + "repo_type": "dataset", + "path": "mikasa_intercept_grab_fast/profile_latency/QwenOFT/mean_rtx3090_h1_s123_275ep_v1", + "revision": "bba7d56c0ad5bb2b6d6ed07adb70b4f1afd5d25a", + "data_uploaded_revision": "d746ca2b6461ea211589cdf4d796512335aa34ae", + "status": "complete_verified", + "episodes": 275, + "rows": 12211, + "raw_npz_episodes": 275, + "dataset_config": "mikasa_intercept_grab_fast_mean_qwenoft_h1_episode_manifest", + "viewer_rows": "per_episode metadata manifest", + "payload_files_verified": 308, + "checksum_manifest_verified": true, + "url": "https://huggingface.co/datasets/latency-sensitive-bench/Standard-Pipeline/tree/bba7d56c0ad5bb2b6d6ed07adb70b4f1afd5d25a/mikasa_intercept_grab_fast/profile_latency/QwenOFT/mean_rtx3090_h1_s123_275ep_v1", + "completed_utc": "2026-09-30T17:34:21.416539+00:00" + }, + "collection": { + "episodes": 275, + "unique_seeds": 275, + "rows": 12211, + "length_min": 37, + "length_max": 55, + "all_success_once": true, + "state_dim": 7, + "action_dim": 7, + "rgb_shape": [ + 128, + 128, + 6 + ], + "finite_numeric": true, + "latency_raw_frames": 2, + "applied_command_matches_source_issued_action": true, + "action_horizon": 1, + "dagger": false, + "raw_bytes": 1204453838, + "episode_seeds": [ + 0, + 1, + 10, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 11, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 12, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 13, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 14, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 15, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 16, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 17, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 18, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 19, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 2, + 100, + 270, + 271, + 272, + 273, + 274, + 30, + 31, + 32, + 33, + 34, + 101, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 102, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 103, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 104, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 105, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 106, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 107, + 95, + 96, + 97, + 98, + 99, + 108, + 109, + 3, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 4, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 5, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 6, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 7, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 8, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 9, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179 + ], + "train_episodes": 250, + "val_episodes": 25, + "train_rows": 11119, + "val_rows": 1092, + "teacher_checkpoint": "/home/ubuntu/lzj/mean-profiling/intercept/teacher-publication/checkpoint.pt", + "teacher_sha256": "e47526f03fad3ed251dd78f3cacfba8aa8b60bd1578f40bd7a1393e17298e973", + "fixed_latency_ms": 99.05021289731565, + "conversion_complete": true + }, + "runtime": { + "repo": "c3c6a39365a151e9b7a5e215452fd64e957c2b29", + "starvla": "ccca13c5177fe3d3c884b6e2de4965d916016649", + "runtime_fixes": [ + "mean-profile-preparation.patch", + "gym-language-contract.patch", + "loader-spawn-cache.patch", + "loader-spawn-test.patch", + "doom-mean-reset.patch" + ], + "pytorch3d": { + "revision": "33824be3cbc87a7dd1db0f6a9a9de9ac81b2d0ba", + "build": "transforms-only, no native render extension; QwenOFT uses transforms only" + }, + "decord": { + "version": "0.6.0", + "build": "official source CPU decoder CP310", + "wheel_sha256": "e193b356b1e984b4eff08d23b62e482c2c9e5037a6efdc0b1af47079ae2e4c47" + } + }, + "source_reference_revision": "180da0effdaaaeacef218cf5fbaa4db41af67495", + "performance_configuration_policy": "User authorized throughput priority; reference scientific parameters and actual runtime differences are documented by full config/launch audit", + "training_results": { + "training_complete": true, + "optimizer_updates": 5000, + "selection": "final_5000", + "train_loss": 0.0017812054138630629, + "validation_action_loss": 0.03070492297410965, + "validation_samples": 128, + "final_learning_rates": { + "learning_rate/base": 1e-06, + "learning_rate/action_model": 3.3333333333333333e-06 + }, + "closed_loop_evaluation": "pending until all four VLA trainings complete", + "tensor_keys": 732, + "serialized_tensor_elements_including_tied_aliases": 4892415495, + "weights_only_load": "passed", + "all_tensors_finite": true, + "completion_proof": { + "wrapper_exit": 0 + } + }, + "optimizer_recovery_states": "retained on host; inference weights only in this bundle", + "wandb_url": "https://wandb.ai/dongqianyu99-zhejiang-university/starvla_tasks/runs/mean3090-intercept-vla-blackwell-20260930" +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/startup_verified.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/startup_verified.json new file mode 100644 index 0000000000000000000000000000000000000000..23089b55ed71805a13e54ff291397e448e6df405 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/startup_verified.json @@ -0,0 +1,56 @@ +{ + "snapshot_utc": "2026-10-01T00:14:27Z", + "unit": "mean-profile-intercept-vla-20261001-g23-gc.service", + "wrapper_pid": 3705659, + "rank_pids": [ + 3706042, + 3706043 + ], + "physical_gpus": [ + 2, + 3 + ], + "formal_updates_completed": 55, + "formal_budget": 5000, + "preflight_updates_discarded": 20, + "consecutive_observed_updates": [ + 50, + 51, + 52, + 53, + 54, + 55 + ], + "loss_at_logged_steps": { + "50": 0.33528196811676025, + "55": 0.2620769143104553 + }, + "finite_loss_verified": true, + "micro_per_gpu": 64, + "global_batch": 128, + "gradient_accumulation": 1, + "gradient_checkpointing": true, + "seed": 0, + "horizon": 1, + "dagger_updates": 0, + "gpu_used_mib": [ + 55707, + 65727 + ], + "gpu_utilization_percent": [ + 100, + 100 + ], + "host_memory_current_bytes": 13883498496, + "host_memory_peak_bytes": 38294556672, + "seconds_per_update_recent": 2.74, + "data_wait_seconds_recent": 0.00069506, + "estimated_completion_utc_range": [ + "2026-10-01T04:45:00Z", + "2026-10-01T05:15:00Z" + ], + "completion_check_utc": "2026-10-01T05:30:00Z", + "training_complete": false, + "publication_complete": false, + "closed_loop_evaluation_complete": false +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/summary.jsonl b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/summary.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..a0e21985e6b7ed5b88fddcc5f74f6ec45063b603 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/summary.jsonl @@ -0,0 +1,10 @@ +{"steps": 500} +{"steps": 1000} +{"steps": 1500} +{"steps": 2000} +{"steps": 2500} +{"steps": 3000} +{"steps": 3500} +{"steps": 4000} +{"steps": 4500} +{"steps": 5000} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/task_contract.json b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/task_contract.json new file mode 100644 index 0000000000000000000000000000000000000000..76ac5a2d1a2e11769474504874b6e909be02e9b8 --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/task_contract.json @@ -0,0 +1,131 @@ +{ + "format": "latency_bench_starvla_h1_v1", + "task": "mikasa_intercept_grab_fast", + "robot_type": "latency_mikasa_h1", + "state_dim": 7, + "action_dim": 7, + "action_horizon": 1, + "fps": 20.0, + "state_key": "observation.state", + "action_key": "action", + "video_keys": [ + "video.top", + "video.wrist" + ], + "auxiliary": {}, + "normalization": { + "state": { + "mean": [ + -0.14554812014102936, + 0.07433967292308807, + 0.1436367779970169, + 2.700871706008911, + 0.45681115984916687, + -0.48229172825813293, + 0.06972828507423401 + ], + "std": [ + 0.07678605616092682, + 0.21988309919834137, + 0.09388109296560287, + 1.109084963798523, + 0.3012843728065491, + 0.3006882667541504, + 0.0164483655244112 + ], + "min": [ + -0.37446925044059753, + -0.29720592498779297, + 0.016940969973802567, + -3.140481948852539, + -0.10707131028175354, + -1.2001688480377197, + 0.03238735347986221 + ], + "max": [ + 0.014208495616912842, + 0.5909395217895508, + 0.3558541536331177, + 3.1415467262268066, + 0.9420600533485413, + 0.09770228713750839, + 0.07999999821186066 + ], + "q01": [ + -0.3139808464050293, + -0.25229972660541533, + 0.0188405978679657, + -3.134360270500183, + -0.04521620273590088, + -1.0301372480392457, + 0.03585549935698509 + ], + "q99": [ + -0.013631248474121185, + 0.5275326526165007, + 0.33348673582077026, + 3.1367013454437256, + 0.8922865676879882, + 0.056985778063535636, + 0.07999999821186066 + ] + }, + "action": { + "mean": [ + -0.048697348684072495, + 0.24886493384838104, + -0.16479986906051636, + -0.032609131187200546, + -0.501691997051239, + 0.44703611731529236, + 0.6793776154518127 + ], + "std": [ + 0.1079770028591156, + 0.47203660011291504, + 0.14475314319133759, + 0.2849433720111847, + 0.318120539188385, + 0.35324087738990784, + 0.6349603533744812 + ], + "min": [ + -0.6572320461273193, + -1.0, + -0.8218780755996704, + -0.7686842083930969, + -0.9920897483825684, + -0.30364304780960083, + -1.0 + ], + "max": [ + 0.30179348587989807, + 0.7795099020004272, + 0.2688712179660797, + 0.8059309720993042, + 0.5333064198493958, + 1.0, + 1.0 + ], + "q01": [ + -0.4552440994977951, + -1.0, + -0.7419710528850555, + -0.475678391456604, + -0.9305388247966766, + -0.20442348539829253, + -0.8981475746631622 + ], + "q99": [ + 0.1125871029496192, + 0.7402709639072418, + 0.22590837419033025, + 0.7005072689056396, + 0.16810789704322815, + 1.0, + 1.0 + ] + } + }, + "prompt": "Intercept the rolling ball and grasp it to stop it." +} diff --git a/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/training-code/QWen3.py b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/training-code/QWen3.py new file mode 100644 index 0000000000000000000000000000000000000000..21484c44de5403fbc0f71ad3c5bfec321d6c738e --- /dev/null +++ b/latency-aware/mikasa-intercept-grab-fast/vla/starvla-qwenoft-h1/intercept-qwenoft-mean-3090-h1-s0/training-code/QWen3.py @@ -0,0 +1,444 @@ +# Copyright 2025 starVLA community. All rights reserved. +# Licensed under the MIT License, Version 1.0 (the "License"); +# Implemented by [Jinhui YE / HKUST University] in [2025]. + +import time +from collections import OrderedDict +from functools import wraps +from inspect import signature +from typing import Optional + +import torch +from starVLA.model.profiling import stage_timer as _stage +from starVLA.training.trainer_utils import initialize_overwatch +from transformers import AutoProcessor, Qwen3VLForConditionalGeneration +from transformers.modeling_outputs import CausalLMOutputWithPast + +logger = initialize_overwatch(__name__) + +IGNORE_INDEX = -100 +IMAGE_TOKEN_INDEX = 151655 +VIDEO_TOKEN_INDEX = 151656 +DEFAULT_IMAGE_TOKEN = "" +DEFAULT_VIDEO_TOKEN = "