diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..c883ea9ae83950f4a1318de9f115ccad2a3a6ef9 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3b8a14cb9feeecdddba3d73f011c49d93034b4d2f20a73acc59b7ea66ba395d +size 9784896838 diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/config.full.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7b553841347a18a34094fda115d818dc346ce328 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/config.full.yaml @@ -0,0 +1,260 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: multibinary_bce + state_dim: 7 + action_horizon: 1 + action_env_dim: 7 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 2 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av + kv_memory: true + density_weight_key: density_weight +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..19e2dd3401879d98ac8750780b199c40f6bf1cb3 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: deadly_corridor_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: deadly_corridor_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 2 +framework: + action_model: + action_dim: 7 + action_env_dim: 7 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: multibinary_bce + kv_memory: + enabled: true + packed_train: true + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flex_attention + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: deadly_corridor +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/checkpoints/steps_3000_state + profile_timing: + enabled: false + resume_step: 3000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/dataset_statistics.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9bdac9bda0eca8b9675179e245a47acde1efd126 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.9434846043586731, + 0.023302890360355377, + 0.21685810387134552, + 0.5315648317337036, + 0.18562282621860504, + 0.09055173397064209, + 0.8273231983184814 + ], + "std": [ + 0.2308816909790039, + 0.15088047087192535, + 0.4120523929595947, + 0.4989914894104004, + 0.388867050409317, + 0.287028968334198, + 0.37795618176460266 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 42484, + "num_trajectories": 990 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..cd7e2a434b5828a0965a1d0db28607256d9ad143 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.91576087474823, + 0.027173912152647972, + 0.19565217196941376, + 0.551630437374115, + 0.1820652186870575, + 0.09239130467176437, + 0.8614130616188049 + ], + "std": [ + 0.2777453362941742, + 0.16258999705314636, + 0.39670249819755554, + 0.49732694029808044, + 0.3858977258205414, + 0.28957706689834595, + 0.3455154597759247 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 368, + "num_trajectories": 10 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fb928ad3a5479ce861e1bca5420d207290767366 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml @@ -0,0 +1,256 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: multibinary_bce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 7 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 2 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_kv_memory_flex +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..28e180a3111dd76011e494c01576b78618182334 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b311bfda72620b79f10575c5acc9b52d1c722e3ee42b20c2878603797e0530 +size 9784896838 diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/config.full.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e2526ed05fad6d0da0cac8c5db4997ed7bc560f8 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/config.full.yaml @@ -0,0 +1,258 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: multibinary_bce + state_dim: 7 + action_horizon: 1 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..13543f73a4e866690c648a70479e0d2fbe0b49bd --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: deadly_corridor_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: deadly_corridor_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 7 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: multibinary_bce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: deadly_corridor +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/checkpoints/steps_3000_state + profile_timing: + enabled: false + resume_step: 3000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/dataset_statistics.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9bdac9bda0eca8b9675179e245a47acde1efd126 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.9434846043586731, + 0.023302890360355377, + 0.21685810387134552, + 0.5315648317337036, + 0.18562282621860504, + 0.09055173397064209, + 0.8273231983184814 + ], + "std": [ + 0.2308816909790039, + 0.15088047087192535, + 0.4120523929595947, + 0.4989914894104004, + 0.388867050409317, + 0.287028968334198, + 0.37795618176460266 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 42484, + "num_trajectories": 990 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/dataset_statistics_eval.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..cd7e2a434b5828a0965a1d0db28607256d9ad143 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.91576087474823, + 0.027173912152647972, + 0.19565217196941376, + 0.551630437374115, + 0.1820652186870575, + 0.09239130467176437, + 0.8614130616188049 + ], + "std": [ + 0.2777453362941742, + 0.16258999705314636, + 0.39670249819755554, + 0.49732694029808044, + 0.3858977258205414, + 0.28957706689834595, + 0.3455154597759247 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 368, + "num_trajectories": 10 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/hydra/.hydra/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c0a98ab945825d925488bdfd32a0501d4256be42 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/hydra/.hydra/config.yaml @@ -0,0 +1,256 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: multibinary_bce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_plain_multi +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..802a92c9a0079edfc888c53bf37f905b51638898 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1dfd3f99e14743813ff4a86047bc66f0a4e81a6e8a4c5970c617d1813721e121 +size 9784896838 diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/config.full.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ca35ecb4d40b335e7dabb211f39fdf4ded809214 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/config.full.yaml @@ -0,0 +1,258 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: multibinary_bce + state_dim: 7 + action_horizon: 1 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2c14a737171499bae189b6316db003d6c1a1a001 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: deadly_corridor_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: deadly_corridor_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 7 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: multibinary_bce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: deadly_corridor +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/checkpoints/steps_2000_state + profile_timing: + enabled: false + resume_step: 2000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/dataset_statistics.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9bdac9bda0eca8b9675179e245a47acde1efd126 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.9434846043586731, + 0.023302890360355377, + 0.21685810387134552, + 0.5315648317337036, + 0.18562282621860504, + 0.09055173397064209, + 0.8273231983184814 + ], + "std": [ + 0.2308816909790039, + 0.15088047087192535, + 0.4120523929595947, + 0.4989914894104004, + 0.388867050409317, + 0.287028968334198, + 0.37795618176460266 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 42484, + "num_trajectories": 990 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/dataset_statistics_eval.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..cd7e2a434b5828a0965a1d0db28607256d9ad143 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.91576087474823, + 0.027173912152647972, + 0.19565217196941376, + 0.551630437374115, + 0.1820652186870575, + 0.09239130467176437, + 0.8614130616188049 + ], + "std": [ + 0.2777453362941742, + 0.16258999705314636, + 0.39670249819755554, + 0.49732694029808044, + 0.3858977258205414, + 0.28957706689834595, + 0.3455154597759247 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 368, + "num_trajectories": 10 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/hydra/.hydra/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b97e9511ea291d5f47b21be24c6d24da15d492f0 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/hydra/.hydra/config.yaml @@ -0,0 +1,256 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: multibinary_bce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_single_baseline +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f73d79258d218ffd9c8d4e51a74c5f5a83650153 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ae6507a0c59ba77f90eb1e823c920092f3ad51ad8bb4da7689ccb48b303bb90 +size 9784896838 diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/config.full.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5377dac96009465e27836e6cda0b92e7d8259380 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/config.full.yaml @@ -0,0 +1,258 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: multibinary_bce + state_dim: 7 + action_horizon: 1 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e0d64b0b73800179e91e5429cbc8eab693e519f7 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: deadly_corridor_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: deadly_corridor_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 7 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: multibinary_bce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: deadly_corridor +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/checkpoints/steps_2000_state + profile_timing: + enabled: false + resume_step: 2000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/dataset_statistics.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9bdac9bda0eca8b9675179e245a47acde1efd126 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.9434846043586731, + 0.023302890360355377, + 0.21685810387134552, + 0.5315648317337036, + 0.18562282621860504, + 0.09055173397064209, + 0.8273231983184814 + ], + "std": [ + 0.2308816909790039, + 0.15088047087192535, + 0.4120523929595947, + 0.4989914894104004, + 0.388867050409317, + 0.287028968334198, + 0.37795618176460266 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 42484, + "num_trajectories": 990 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/dataset_statistics_eval.json b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..cd7e2a434b5828a0965a1d0db28607256d9ad143 --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.91576087474823, + 0.027173912152647972, + 0.19565217196941376, + 0.551630437374115, + 0.1820652186870575, + 0.09239130467176437, + 0.8614130616188049 + ], + "std": [ + 0.2777453362941742, + 0.16258999705314636, + 0.39670249819755554, + 0.49732694029808044, + 0.3858977258205414, + 0.28957706689834595, + 0.3455154597759247 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 368, + "num_trajectories": 10 + } +} \ No newline at end of file diff --git a/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/hydra/.hydra/config.yaml b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5d895f77bedcd73f58f7ee8b69cbe7d4dbac729e --- /dev/null +++ b/latency-aware/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/hydra/.hydra/config.yaml @@ -0,0 +1,256 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: multibinary_bce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/deadly_corridor_fix_latency_6_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_6_1000ep_7k2steps_stitch +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..47c5ca499b8b59e20aa08db9db7ab09dfef5ea50 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eef33f41a8d202aced4f896622ec2b872f253e3b453d2fe2497c66cfb05c2cc4 +size 9784896838 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..31774b79b8d7426ac7200bbe0b4851b44dfa5450 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/config.full.yaml @@ -0,0 +1,258 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 2 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av + kv_memory: true + density_weight_key: density_weight +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e69d937534bc5c771584ea9b80ab944d7c507dfa --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 2 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: true + packed_train: true + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flex_attention + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: demon_attack +run_id: demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/checkpoints/steps_3000_state + profile_timing: + enabled: false + resume_step: 3000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..f9ec5ee85e5d33fe9b8a3fb41a763ba4c21394c2 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.05213047191500664, + 0.25790393352508545, + 0.17633378505706787, + 0.08325807005167007, + 0.18504540622234344, + 0.24532835185527802, + 0.0 + ], + "std": [ + 0.22280143201351166, + 0.4365144968032837, + 0.3812168538570404, + 0.2774599492549896, + 0.3870716392993927, + 0.4308818578720093, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1055141, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..77e830eaa7b408c1514f1787dfebaae5907a2f9f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.06258254498243332, + 0.28070709109306335, + 0.17078126966953278, + 0.07629787921905518, + 0.1742354929447174, + 0.23539571464061737, + 0.0 + ], + "std": [ + 0.2421988993883133, + 0.44936150312423706, + 0.37632739543914795, + 0.26546531915664673, + 0.379315584897995, + 0.42424726486206055, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 9843, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..402452f46a00328c64b2751c538fa480378e14a0 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml @@ -0,0 +1,254 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 6 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 2 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_kv_memory_flex +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..c54a2a8431dd541345027bc23cd055f4dd5a873f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08ba825529c75663280016705b5583bcd4837fd749a7c9ee4b4eb1f75e266eca +size 9784896838 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..984ad5dad7e113e149b94385f1e035ee7291170d --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/config.full.yaml @@ -0,0 +1,256 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_plain_multi +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8534f8d912639040882d506177ffe57eb6470838 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: demon_attack +run_id: demon_attack_fix_latency_6_200ep_7k2steps_plain_multi +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/checkpoints/steps_3000_state + profile_timing: + enabled: false + resume_step: 3000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..f9ec5ee85e5d33fe9b8a3fb41a763ba4c21394c2 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.05213047191500664, + 0.25790393352508545, + 0.17633378505706787, + 0.08325807005167007, + 0.18504540622234344, + 0.24532835185527802, + 0.0 + ], + "std": [ + 0.22280143201351166, + 0.4365144968032837, + 0.3812168538570404, + 0.2774599492549896, + 0.3870716392993927, + 0.4308818578720093, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1055141, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..77e830eaa7b408c1514f1787dfebaae5907a2f9f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.06258254498243332, + 0.28070709109306335, + 0.17078126966953278, + 0.07629787921905518, + 0.1742354929447174, + 0.23539571464061737, + 0.0 + ], + "std": [ + 0.2421988993883133, + 0.44936150312423706, + 0.37632739543914795, + 0.26546531915664673, + 0.379315584897995, + 0.42424726486206055, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 9843, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d14189f96260cc14046ccce8b0e5d505aa1de7cd --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml @@ -0,0 +1,254 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_plain_multi/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_plain_multi +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..be5ee5bb878c38ca3013633255c2af65cf58a504 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5319537cca52cfb0e05705561bb0d883fd3fc6e19314fb386ae3b82659a910c +size 9784896838 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a6e8ae807f595faa70e72d413cdaa705258d083a --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/config.full.yaml @@ -0,0 +1,256 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_single_baseline +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..03cab23ec0e42bdc83a44c111ec7e3aeec0c1c7e --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: demon_attack +run_id: demon_attack_fix_latency_6_200ep_7k2steps_single_baseline +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/checkpoints/steps_2000_state + profile_timing: + enabled: false + resume_step: 2000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..f9ec5ee85e5d33fe9b8a3fb41a763ba4c21394c2 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.05213047191500664, + 0.25790393352508545, + 0.17633378505706787, + 0.08325807005167007, + 0.18504540622234344, + 0.24532835185527802, + 0.0 + ], + "std": [ + 0.22280143201351166, + 0.4365144968032837, + 0.3812168538570404, + 0.2774599492549896, + 0.3870716392993927, + 0.4308818578720093, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1055141, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..77e830eaa7b408c1514f1787dfebaae5907a2f9f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.06258254498243332, + 0.28070709109306335, + 0.17078126966953278, + 0.07629787921905518, + 0.1742354929447174, + 0.23539571464061737, + 0.0 + ], + "std": [ + 0.2421988993883133, + 0.44936150312423706, + 0.37632739543914795, + 0.26546531915664673, + 0.379315584897995, + 0.42424726486206055, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 9843, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1a6c69b5870b56a13c3ab90008f161b703be09e5 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml @@ -0,0 +1,254 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_single_baseline/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_single_baseline +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..44661ab065b097a1d205276b72d303c04b9eb74d --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bb27757308c5a506424a7c353c5611c3fd4f6cb319a8f9df0c82f696c6c9db9 +size 9784896838 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3b0597144fc48873f189d2c39b1763c17dbe4abb --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/config.full.yaml @@ -0,0 +1,256 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_stitch/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_stitch +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_stitch +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6d3e981dd3768294c4c281961a23a8d8e376806e --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_stitch +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 250 + prompt_mode: raw + task: demon_attack +run_id: demon_attack_fix_latency_6_200ep_7k2steps_stitch +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_stitch/checkpoints/steps_2000_state + profile_timing: + enabled: false + resume_step: 2000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..f9ec5ee85e5d33fe9b8a3fb41a763ba4c21394c2 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.05213047191500664, + 0.25790393352508545, + 0.17633378505706787, + 0.08325807005167007, + 0.18504540622234344, + 0.24532835185527802, + 0.0 + ], + "std": [ + 0.22280143201351166, + 0.4365144968032837, + 0.3812168538570404, + 0.2774599492549896, + 0.3870716392993927, + 0.4308818578720093, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1055141, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..77e830eaa7b408c1514f1787dfebaae5907a2f9f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.06258254498243332, + 0.28070709109306335, + 0.17078126966953278, + 0.07629787921905518, + 0.1742354929447174, + 0.23539571464061737, + 0.0 + ], + "std": [ + 0.2421988993883133, + 0.44936150312423706, + 0.37632739543914795, + 0.26546531915664673, + 0.379315584897995, + 0.42424726486206055, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 9843, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/hydra/.hydra/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c73317ed5b1c3956f5bcd481542b2ead8dc5460b --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_6_200ep_7k2steps_stitch/hydra/.hydra/config.yaml @@ -0,0 +1,254 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/demon_attack_fix_latency_6_200ep_7k2steps_stitch/checkpoints/steps_2000_state + resume_step: 2000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/demon_attack_fix_latency_6_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/demon_attack_fix_latency_6_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_6_200ep_7k2steps_stitch +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/checkpoints/steps_5000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/checkpoints/steps_5000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d5d9a10c4672caed0528bc9e7a71087db7c4ac22 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/checkpoints/steps_5000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2506bd51c7054d65cc980738979dd484de07b4af15da554185cbc28ede512de5 +size 9138230516 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5fda08797c67a39a479f40a4f0682311fdd0217d --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/config.full.yaml @@ -0,0 +1,257 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: true + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: observation_steps + verify_rows: 200 + max_episodes: null + episodes_per_latency: 40 + latency_filter: + - 6 + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 5000 + num_warmup_steps: 0 + save_interval: 500 + eval_interval: 1000 + eval_num_batches: 100 + per_latency_eval_num_batches: 5 + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: none + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/checkpoints/steps_4000_state + resume_step: 4000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: /lustre/fsw/portfolios/nvr/users/zihwang/latency-sensitive-bench +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: playground/Datasets/rl_games + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: demon_attack_ghost_trail + prompt_mode: raw + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: eval_core + distributed_mode: none + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 6 + num_episodes: 20 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: false + local: + keep_last_n: 1 + sync: + enabled: true + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e197372241981316c1a33475043ccc17866be9df --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/config.yaml @@ -0,0 +1,123 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: false + save_training_state: true + sync: + enabled: true + keep_last_n: 0 + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + include_state: true + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + state_dim: 7 + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 +rl_games: + env_eval: + action_chunk_execution: + chunk_size: null + enabled: false + demon_attack: + noop_max: 30 + distributed_mode: none + enabled: true + eval_backend: eval_core + fixed_episode_seeds: true + frameskip: 4 + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + image_size: 224 + image_transform: demon_attack_ghost_trail + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + latency_seed_stride: 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + max_steps_per_episode: 3600 + num_episodes: 5 + prompt_mode: raw + seed: 42 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + task_seed_stride: 0 + vectorized: + enabled: false + model_alias: openvla + task: demon_attack +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +trainer: + distributed_backend: none + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 1000 + eval_num_batches: 100 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + gradient_clipping: 1.0 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 5000 + num_warmup_steps: 0 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: 5 + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/checkpoints/steps_4000_state + profile_timing: + enabled: false + resume_step: 4000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..4ed1be2d7cd402601a01868aa6ba7fd41aa357c7 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.0724685862660408, + 0.6344302296638489, + 0.007153288461267948, + 0.06193103641271591, + 0.13928799331188202, + 0.08472886681556702, + 0.0 + ], + "std": [ + 0.25942087173461914, + 0.48137474060058594, + 0.08431069552898407, + 0.24110724031925201, + 0.3463599383831024, + 0.2785322368144989, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 114353, + "num_trajectories": 40 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..f95a186d3bf9e8e0bf681843d09152a49a8678f1 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.059599291533231735, + 0.6550849676132202, + 0.004057824146002531, + 0.06999746710062027, + 0.12807506322860718, + 0.08318538963794708, + 0.0 + ], + "std": [ + 0.23674790561199188, + 0.4753372371196747, + 0.06357021629810333, + 0.2551400363445282, + 0.3341808319091797, + 0.27615758776664734, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 3943, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/summary.jsonl b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/summary.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..a0e21985e6b7ed5b88fddcc5f74f6ec45063b603 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15/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/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..78b294fd06bed2d86b944dcf7234e7bbf541076e --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/config.full.yaml @@ -0,0 +1,257 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: true + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/memory-rollouts + config_name: null + source_subdir: demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: 200 + latency_filter: + - 6 + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 0 + save_interval: 500 + eval_interval: 1000 + eval_num_batches: 100 + per_latency_eval_num_batches: 5 + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 32 + distributed_backend: none + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: /lustre/fsw/portfolios/nvr/users/zihwang/latency-sensitive-bench +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: playground/Datasets/rl_games + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: demon_attack_ghost_trail + prompt_mode: raw + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: eval_core + distributed_mode: none + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 6 + num_episodes: 20 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: false + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fb30668a81c356bc5f5cedf6cc5ff5a003235f3d --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/config.yaml @@ -0,0 +1,74 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: false + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 +rl_games: + env_eval: + enabled: true + eval_backend: eval_core + prompt_mode: raw +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +trainer: + distributed_backend: none + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 32 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 0 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + pretrained_checkpoint: null + reload_modules: null + scheduler_specific_kwargs: + min_lr: 1.0e-06 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..f9ec5ee85e5d33fe9b8a3fb41a763ba4c21394c2 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.05213047191500664, + 0.25790393352508545, + 0.17633378505706787, + 0.08325807005167007, + 0.18504540622234344, + 0.24532835185527802, + 0.0 + ], + "std": [ + 0.22280143201351166, + 0.4365144968032837, + 0.3812168538570404, + 0.2774599492549896, + 0.3870716392993927, + 0.4308818578720093, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1055141, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..77e830eaa7b408c1514f1787dfebaae5907a2f9f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.06258254498243332, + 0.28070709109306335, + 0.17078126966953278, + 0.07629787921905518, + 0.1742354929447174, + 0.23539571464061737, + 0.0 + ], + "std": [ + 0.2421988993883133, + 0.44936150312423706, + 0.37632739543914795, + 0.26546531915664673, + 0.379315584897995, + 0.42424726486206055, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 9843, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/checkpoints/steps_4000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..33bac987aa08a5431d05f87ec73eb5f5a4866e1f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:834ce01a8a1ec7ec4da4b6ea2765d7dbc249af3f80e59c571744dcee4242a13e +size 9784896958 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.full.train.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.full.train.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2c259cb1d11e92ee0c57c446590b5d6bb689060d --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.full.train.yaml @@ -0,0 +1,257 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: true + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 0 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/memory-rollouts + config_name: null + source_subdir: demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: true + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: 200 + latency_filter: + - 6 + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 0 + save_interval: 500 + eval_interval: 1000 + eval_num_batches: 100 + per_latency_eval_num_batches: 5 + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/checkpoints/steps_2500_state + resume_step: 2500 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: /lustre/fsw/portfolios/nvr/users/zihwang/latency-sensitive-bench +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: playground/Datasets/rl_games + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: demon_attack_ghost_trail + prompt_mode: raw + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 6 + num_episodes: 100 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: false + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..26e486371ffa7a7be71fb1936c4d49909e2d6373 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.full.yaml @@ -0,0 +1,257 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: true + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 0 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/memory-rollouts + config_name: null + source_subdir: demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2 + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: 200 + latency_filter: + - 6 + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 0 + save_interval: 500 + eval_interval: 1000 + eval_num_batches: 100 + per_latency_eval_num_batches: 5 + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/checkpoints/steps_4000_state + resume_step: 4000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: /lustre/fsw/portfolios/nvr/users/zihwang/latency-sensitive-bench +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: playground/Datasets/rl_games + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: demon_attack_ghost_trail + prompt_mode: raw + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + num_episodes: 5 + max_steps_per_episode: 14400 + post_train: + enabled: true + latencies: + - 6 + num_episodes: 100 + max_steps_per_episode: 14400 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: false + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.train.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.train.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d9610758aa8dc025e1634e2d7aea54e95ea56b7f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.train.yaml @@ -0,0 +1,109 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: false + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + image_size: 224 + image_transform: demon_attack_ghost_trail + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + max_steps_per_episode: 3600 + num_episodes: 5 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: demon_attack +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 1000 + eval_num_batches: 100 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 0 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: 5 + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/checkpoints/steps_2500_state + profile_timing: + enabled: false + resume_step: 2500 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6dcfc5b255ea48af5fd741546ae8518c698e5ec2 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/config.yaml @@ -0,0 +1,73 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: false + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + prompt_mode: raw +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3 +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 0 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/checkpoints/steps_4000_state + scheduler_specific_kwargs: + min_lr: 1.0e-06 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..f9ec5ee85e5d33fe9b8a3fb41a763ba4c21394c2 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.05213047191500664, + 0.25790393352508545, + 0.17633378505706787, + 0.08325807005167007, + 0.18504540622234344, + 0.24532835185527802, + 0.0 + ], + "std": [ + 0.22280143201351166, + 0.4365144968032837, + 0.3812168538570404, + 0.2774599492549896, + 0.3870716392993927, + 0.4308818578720093, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1055141, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..77e830eaa7b408c1514f1787dfebaae5907a2f9f --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.06258254498243332, + 0.28070709109306335, + 0.17078126966953278, + 0.07629787921905518, + 0.1742354929447174, + 0.23539571464061737, + 0.0 + ], + "std": [ + 0.2421988993883133, + 0.44936150312423706, + 0.37632739543914795, + 0.26546531915664673, + 0.379315584897995, + 0.42424726486206055, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 9843, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/summary.jsonl b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/summary.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..ce7dad56d7abf845dd57d6f02d76df86c6434c49 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_2_exp3/summary.jsonl @@ -0,0 +1,8 @@ +{"steps": 500} +{"steps": 1000} +{"steps": 1500} +{"steps": 2000} +{"steps": 2500} +{"steps": 3000} +{"steps": 3500} +{"steps": 4000} diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/checkpoints/steps_5000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/checkpoints/steps_5000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d5d9a10c4672caed0528bc9e7a71087db7c4ac22 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/checkpoints/steps_5000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2506bd51c7054d65cc980738979dd484de07b4af15da554185cbc28ede512de5 +size 9138230516 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7b8623e74c8ed341116e6c7a202143c87be30803 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/config.full.yaml @@ -0,0 +1,257 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: true + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: observation_steps + verify_rows: 200 + max_episodes: null + episodes_per_latency: 40 + latency_filter: + - 6 + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 5000 + num_warmup_steps: 0 + save_interval: 500 + eval_interval: 1000 + eval_num_batches: 100 + per_latency_eval_num_batches: 5 + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: none + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/checkpoints/steps_4000_state + resume_step: 4000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: /lustre/fsw/portfolios/nvr/users/zihwang/latency-sensitive-bench +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: playground/Datasets/rl_games + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: demon_attack_ghost_trail + prompt_mode: raw + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: eval_core + distributed_mode: none + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 6 + num_episodes: 20 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2 + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: false + local: + keep_last_n: 1 + sync: + enabled: true + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2 + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2 +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2 +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ff913bf846fb7a1157d56697086e83d7ec7554ea --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/config.yaml @@ -0,0 +1,123 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: false + save_training_state: true + sync: + enabled: true + keep_last_n: 0 + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2 +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + include_state: true + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + state_dim: 7 + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2 +rl_games: + env_eval: + action_chunk_execution: + chunk_size: null + enabled: false + demon_attack: + noop_max: 30 + distributed_mode: none + enabled: true + eval_backend: eval_core + fixed_episode_seeds: true + frameskip: 4 + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + image_size: 224 + image_transform: demon_attack_ghost_trail + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + latency_seed_stride: 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + max_steps_per_episode: 3600 + num_episodes: 5 + prompt_mode: raw + seed: 42 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + task_seed_stride: 0 + vectorized: + enabled: false + model_alias: openvla + task: demon_attack +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2 +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 42 +trainer: + distributed_backend: none + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 1000 + eval_num_batches: 100 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + gradient_clipping: 1.0 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 5000 + num_warmup_steps: 0 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: 5 + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/checkpoints/steps_4000_state + profile_timing: + enabled: false + resume_step: 4000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..4ed1be2d7cd402601a01868aa6ba7fd41aa357c7 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.0724685862660408, + 0.6344302296638489, + 0.007153288461267948, + 0.06193103641271591, + 0.13928799331188202, + 0.08472886681556702, + 0.0 + ], + "std": [ + 0.25942087173461914, + 0.48137474060058594, + 0.08431069552898407, + 0.24110724031925201, + 0.3463599383831024, + 0.2785322368144989, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 114353, + "num_trajectories": 40 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..f95a186d3bf9e8e0bf681843d09152a49a8678f1 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.059599291533231735, + 0.6550849676132202, + 0.004057824146002531, + 0.06999746710062027, + 0.12807506322860718, + 0.08318538963794708, + 0.0 + ], + "std": [ + 0.23674790561199188, + 0.4753372371196747, + 0.06357021629810333, + 0.2551400363445282, + 0.3341808319091797, + 0.27615758776664734, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 3943, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/summary.jsonl b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/summary.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..a0e21985e6b7ed5b88fddcc5f74f6ec45063b603 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_exp2/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/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/checkpoints/steps_5000_model.safetensors b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/checkpoints/steps_5000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d5d9a10c4672caed0528bc9e7a71087db7c4ac22 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/checkpoints/steps_5000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2506bd51c7054d65cc980738979dd484de07b4af15da554185cbc28ede512de5 +size 9138230516 diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/config.full.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2ee4ed53d6c11871001249974070b50f2da86118 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/config.full.yaml @@ -0,0 +1,257 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: true + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/demon_attack_fixed_latency_6_200ep_7k2steps_ghost15 + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: observation_steps + verify_rows: 200 + max_episodes: null + episodes_per_latency: 40 + latency_filter: + - 6 + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 5000 + num_warmup_steps: 0 + save_interval: 500 + eval_interval: 1000 + eval_num_batches: 100 + per_latency_eval_num_batches: 5 + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: none + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/checkpoints/steps_4000_state + resume_step: 4000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: /lustre/fsw/portfolios/nvr/users/zihwang/latency-sensitive-bench +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 1 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: playground/Datasets/rl_games + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: demon_attack_ghost_trail + prompt_mode: raw + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 1 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: eval_core + distributed_mode: none + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 6 + num_episodes: 20 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: false + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1 + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1 +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1 +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/config.yaml b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..53f30d6d4eca0688756c8c5aeaac7010e2fa151c --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/config.yaml @@ -0,0 +1,123 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: false + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: talha15032/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1 +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + include_state: true + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + state_dim: 7 + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1 +rl_games: + env_eval: + action_chunk_execution: + chunk_size: null + enabled: false + demon_attack: + noop_max: 30 + distributed_mode: none + enabled: true + eval_backend: eval_core + fixed_episode_seeds: true + frameskip: 4 + ghost_trail: + history_frames: 15 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + image_size: 224 + image_transform: demon_attack_ghost_trail + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/playground/Datasets/rl_games/demon_attack_train__bridge/latency_prompt_map.json + latency_seed_stride: 0 + mid_train: + enabled: true + interval_steps: 1000 + latencies: + - 6 + max_steps_per_episode: 3600 + num_episodes: 5 + prompt_mode: raw + seed: 1 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + task_seed_stride: 0 + vectorized: + enabled: false + model_alias: openvla + task: demon_attack +run_id: openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1 +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints +seed: 1 +trainer: + distributed_backend: none + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 1000 + eval_num_batches: 100 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + gradient_clipping: 1.0 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 5000 + num_warmup_steps: 0 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: 5 + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/results/Checkpoints/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/checkpoints/steps_4000_state + profile_timing: + enabled: false + resume_step: 4000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/dataset_statistics.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..4ed1be2d7cd402601a01868aa6ba7fd41aa357c7 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.0724685862660408, + 0.6344302296638489, + 0.007153288461267948, + 0.06193103641271591, + 0.13928799331188202, + 0.08472886681556702, + 0.0 + ], + "std": [ + 0.25942087173461914, + 0.48137474060058594, + 0.08431069552898407, + 0.24110724031925201, + 0.3463599383831024, + 0.2785322368144989, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 114353, + "num_trajectories": 40 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/dataset_statistics_eval.json b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..f95a186d3bf9e8e0bf681843d09152a49a8678f1 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.059599291533231735, + 0.6550849676132202, + 0.004057824146002531, + 0.06999746710062027, + 0.12807506322860718, + 0.08318538963794708, + 0.0 + ], + "std": [ + 0.23674790561199188, + 0.4753372371196747, + 0.06357021629810333, + 0.2551400363445282, + 0.3341808319091797, + 0.27615758776664734, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 3943, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/summary.jsonl b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/summary.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..a0e21985e6b7ed5b88fddcc5f74f6ec45063b603 --- /dev/null +++ b/latency-aware/demon-attack/vla/starvla-qwenoft-h1/openvla_bridge_demon_attack_fixed_latency_6_200ep_7k2steps_ghost15_seed1/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/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/checkpoints/steps_4000_pytorch_model.pt b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/checkpoints/steps_4000_pytorch_model.pt new file mode 100644 index 0000000000000000000000000000000000000000..13e483040f89aa3c227c29d931df1949c44e22ea --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/checkpoints/steps_4000_pytorch_model.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ac652fe2d2614a2b1ce20cbad4e10d188df44963e905100e56a527455c47839 +size 9007063149 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5becbd785e92642dfdd39c43592a9827e5886b0b --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/config.full.yaml @@ -0,0 +1,237 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: false + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av + kv_memory: true + density_weight_key: density_weight +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 4 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_kv_memory +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_kv_memory +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7065af9fc3f70eab1061ad559db984231fa2d4c8 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/config.yaml @@ -0,0 +1,97 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 4 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: false +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_kv_memory +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + max_steps_per_episode: 3600 + num_episodes: 20 + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_2_200ep_7k2steps_kv_memory +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 4 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9f0c24cc64aababe2296ddf6490d42ab72306031 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8029062747955322, + 0.19709371030330658, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.395094633102417, + 0.395094633102417, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1291269, + "num_trajectories": 180 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..db3391d30afa19c1a396e12a7851b1c4e8625e3f --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8033548593521118, + 0.19664514064788818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.39764848351478577, + 0.39764848351478577, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 143553, + "num_trajectories": 20 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..22f79249e72f3dcbf8eb64f32a91f55bcb918894 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory/hydra/.hydra/config.yaml @@ -0,0 +1,233 @@ +framework: + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: false + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 4 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_kv_memory/checkpoints/_initialization/StarVLA_Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_kv_memory +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..708886e5132cb51a73ae25476c59eb99df776c7a --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f1e4d04270984d96f78074912c082fa8275d3680797a7a2eff02666dcfc1f25 +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4af494089b90b87b7d9d412c633cf8fee3357fee --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/config.full.yaml @@ -0,0 +1,251 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av + kv_memory: true + density_weight_key: density_weight +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 4 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..33e4c46c680d3e2c7e93f555c6d5377f210647be --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/config.yaml @@ -0,0 +1,102 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 4 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: true + packed_train: true + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flex_attention + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true + flex_backend: triton +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + max_steps_per_episode: 3600 + num_episodes: 20 + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 4 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9f0c24cc64aababe2296ddf6490d42ab72306031 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8029062747955322, + 0.19709371030330658, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.395094633102417, + 0.395094633102417, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1291269, + "num_trajectories": 180 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..db3391d30afa19c1a396e12a7851b1c4e8625e3f --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8033548593521118, + 0.19664514064788818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.39764848351478577, + 0.39764848351478577, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 143553, + "num_trajectories": 20 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7d4835d14e2b935847c4f2ccdc324e3fa53d1580 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml @@ -0,0 +1,247 @@ +framework: + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 4 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex/checkpoints/_initialization/StarVLA_Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_kv_memory_flex +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e77273a995c1fccd0c88813055c8ca4233b4b257 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:639393e062693dbb9e2bd801367353cd11256a4e8a7419e02186d360b5b249b2 +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6142d7ccf69fdae0082d0b5bebf918eca6beff36 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/config.full.yaml @@ -0,0 +1,249 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 16 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 4 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_plain_multi +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_plain_multi +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5e3c844455562ea70d4b601df9f757cb16d1ab64 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/config.yaml @@ -0,0 +1,102 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 16 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_plain_multi +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + max_steps_per_episode: 3600 + num_episodes: 20 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_2_200ep_7k2steps_plain_multi +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 4 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9f0c24cc64aababe2296ddf6490d42ab72306031 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8029062747955322, + 0.19709371030330658, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.395094633102417, + 0.395094633102417, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1291269, + "num_trajectories": 180 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..db3391d30afa19c1a396e12a7851b1c4e8625e3f --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8033548593521118, + 0.19664514064788818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.39764848351478577, + 0.39764848351478577, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 143553, + "num_trajectories": 20 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..87db7dfb49a653e76b513f624e9cbf95198e08ab --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml @@ -0,0 +1,247 @@ +framework: + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 16 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 4 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_plain_multi/checkpoints/_initialization/StarVLA_Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_plain_multi +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..dcf3cac07daf4308eca4c8ed238754c143d59074 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a92627efd00d16c3a3a392b46cc366ec06956b0e651f81951b1be5435cc75f37 +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e8a0412b4fdb8bfe8acfbcdb178d25699f001964 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/config.full.yaml @@ -0,0 +1,249 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 32 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 2 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_single_baseline +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_single_baseline +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6c530a6ce52ffc53a5268a42d2d0a9febf4ba306 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/config.yaml @@ -0,0 +1,102 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 32 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_single_baseline +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + max_steps_per_episode: 3600 + num_episodes: 20 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_2_200ep_7k2steps_single_baseline +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 2 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9f0c24cc64aababe2296ddf6490d42ab72306031 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8029062747955322, + 0.19709371030330658, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.395094633102417, + 0.395094633102417, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1291269, + "num_trajectories": 180 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..db3391d30afa19c1a396e12a7851b1c4e8625e3f --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8033548593521118, + 0.19664514064788818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.39764848351478577, + 0.39764848351478577, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 143553, + "num_trajectories": 20 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e3845a0235720a5fdb49ecc9669ec5760ea6e117 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml @@ -0,0 +1,247 @@ +framework: + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 32 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 2 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_single_baseline/checkpoints/_initialization/StarVLA_Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_single_baseline +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..2ebb1e95a0a4c247364c806e1d6973987a8cebfc --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d29f05e6565500aecc785f04b687b107f703021b59947f2d261d167fb932c3f5 +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e2adc8d2624ed98739b915a1661dc80898e62fea --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/config.full.yaml @@ -0,0 +1,249 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 32 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 2 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_stitch +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_stitch +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2e6ac34cb650cc2336a3b2156c152d933c64b522 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/config.yaml @@ -0,0 +1,102 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 32 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_stitch +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + max_steps_per_episode: 3600 + num_episodes: 20 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_2_200ep_7k2steps_stitch +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 2 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..9f0c24cc64aababe2296ddf6490d42ab72306031 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8029062747955322, + 0.19709371030330658, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.395094633102417, + 0.395094633102417, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1291269, + "num_trajectories": 180 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..db3391d30afa19c1a396e12a7851b1c4e8625e3f --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8033548593521118, + 0.19664514064788818, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.39764848351478577, + 0.39764848351478577, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 143553, + "num_trajectories": 20 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4d7e21a519585bd673d50b52d081f00d8a11eda8 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_2_200ep_7k2steps_stitch/hydra/.hydra/config.yaml @@ -0,0 +1,247 @@ +framework: + qwenvl: + base_vlm: /workspace/latency-sensitive-bench/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + flex_backend: triton + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 32 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 2 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints/flappy_fix_latency_2_200ep_7k2steps_stitch/checkpoints/_initialization/StarVLA_Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /workspace/latency-sensitive-bench/starVLA/results/Checkpoints +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/flappy_fix_latency_2_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /workspace/latency-sensitive-bench/starVLA/data/flappy_fix_latency_2_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 2 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 2 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_2_200ep_7k2steps_stitch +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..9fa832da8e68ef7cb1c74f4f61d7261a720cdfe7 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a08664f7263fd473ee6a198aa3150af14d7923f0ad78b0959966a5c08b33461 +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..78a4dec836019bfa6645fc1186eb12eb48f44b4b --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/config.full.yaml @@ -0,0 +1,255 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 2 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av + kv_memory: true + density_weight_key: density_weight +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/checkpoints/steps_3500_state + resume_step: 3500 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ff2f6c632301d74c56fdd6ed51479a5fc32bc3ed --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/config.yaml @@ -0,0 +1,103 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 2 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: true + packed_train: true + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flex_attention + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + max_steps_per_episode: 3600 + num_episodes: 20 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/checkpoints/steps_3500_state + profile_timing: + enabled: false + resume_step: 3500 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..e5a582890ec84b8c80351f23a5e0839f9300a755 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8235060572624207, + 0.17649392783641815, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3809901773929596, + 0.3809901773929596, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1393742, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..10b466b71241f0381f1789828d788caffc5a0386 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8237500190734863, + 0.17624999582767487, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3810042142868042, + 0.3810042142868042, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 14400, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..97662e9da961670b5e1fa0a803fb8472d62693a8 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/hydra/.hydra/config.yaml @@ -0,0 +1,251 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flex_attention + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: true + window: 4 + rollout_len: 8 + packed_train: true + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 2 + load_all_data_for_training: true + num_obs_frames: 8 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex/checkpoints/steps_3500_state + resume_step: 3500 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_kv_memory_flex +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..5ef3e38acaa2685352b04d31de569ac8ff96bcc3 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4af03df4b8cb41decacc38f0d37c3e64af1673acc3b170d4b622dad8f320628e +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..687b03d73b06539f8603bf97624d5ad195046c30 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/config.full.yaml @@ -0,0 +1,253 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_plain_multi/checkpoints/steps_4000_state + resume_step: 4000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_plain_multi +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_plain_multi +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..aa0d16f45f76a55227f8570560d60e88ce6fcc40 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/config.yaml @@ -0,0 +1,73 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_plain_multi +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + prompt_mode: raw +run_id: flappy_fix_latency_3_200ep_7k2steps_plain_multi +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_plain_multi/checkpoints/steps_4000_state + scheduler_specific_kwargs: + min_lr: 1.0e-06 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..e5a582890ec84b8c80351f23a5e0839f9300a755 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8235060572624207, + 0.17649392783641815, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3809901773929596, + 0.3809901773929596, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1393742, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..10b466b71241f0381f1789828d788caffc5a0386 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8237500190734863, + 0.17624999582767487, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3810042142868042, + 0.3810042142868042, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 14400, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c08a8d8be3c222b79e3ee80a45d17e02b7255ea9 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_plain_multi/hydra/.hydra/config.yaml @@ -0,0 +1,251 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: multiframe + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_plain_multi/checkpoints/steps_4000_state + resume_step: 4000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_plain_multi +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..fe1a539b8c6675a46799ce0a3a15cabfdc492bf3 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0793b41322a4270daf848c5d82e63d09a0cb5c7e43ccf91b29527e574619783 +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..57f3673680eb82069e4910d46f781ed154bef8db --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/config.full.yaml @@ -0,0 +1,253 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_single_baseline/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_single_baseline +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_single_baseline +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..525f978570e4b9a86b950836e7be478ff80e7445 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/config.yaml @@ -0,0 +1,103 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_single_baseline +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + max_steps_per_episode: 3600 + num_episodes: 20 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_3_200ep_7k2steps_single_baseline +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_single_baseline/checkpoints/steps_3000_state + profile_timing: + enabled: false + resume_step: 3000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..e5a582890ec84b8c80351f23a5e0839f9300a755 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8235060572624207, + 0.17649392783641815, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3809901773929596, + 0.3809901773929596, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1393742, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..10b466b71241f0381f1789828d788caffc5a0386 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8237500190734863, + 0.17624999582767487, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3810042142868042, + 0.3810042142868042, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 14400, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ef33e9ccbf2da4a6ca5060e51dcc86ba80f80a6b --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml @@ -0,0 +1,251 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_single_baseline/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_single_baseline +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..2dea43146fedc0c89de4327b1dcafdc131954210 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c5786df9eb04f1b88390377df8327452fe6c9bb3d759912c491fbdf5cb299dd +size 9784896838 diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/config.full.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b2b50ff4e1a619c4fa86617f46f4944fdf26dec8 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/config.full.yaml @@ -0,0 +1,253 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_stitch/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_stitch +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_stitch +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6d5531583685445cbd44c57fef940019005fdef2 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/config.yaml @@ -0,0 +1,103 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 8 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_stitch +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + max_steps_per_episode: 3600 + num_episodes: 20 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_3_200ep_7k2steps_stitch +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: true + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_stitch/checkpoints/steps_3000_state + profile_timing: + enabled: false + resume_step: 3000 + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: zihanwang-ai-northwestern-university +wandb_project: starVLA_rl_games diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/dataset_statistics.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..e5a582890ec84b8c80351f23a5e0839f9300a755 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8235060572624207, + 0.17649392783641815, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3809901773929596, + 0.3809901773929596, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1393742, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/dataset_statistics_eval.json b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..10b466b71241f0381f1789828d788caffc5a0386 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.8237500190734863, + 0.17624999582767487, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.3810042142868042, + 0.3810042142868042, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 14400, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/hydra/.hydra/config.yaml b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d410cf0a82beed575e5fcb9381e5d4230d188021 --- /dev/null +++ b/latency-aware/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_3_200ep_7k2steps_stitch/hydra/.hydra/config.yaml @@ -0,0 +1,251 @@ +framework: + qwenvl: + base_vlm: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 8 + load_all_data_for_training: true + num_obs_frames: 4 + image_mode: stitch + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: true + pretrained_checkpoint: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints/flappy_fix_latency_3_200ep_7k2steps_stitch/checkpoints/steps_3000_state + resume_step: 3000 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/results/Checkpoints +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: results/Checkpoints + dataset_local_dir: data/memory/flappy_fix_latency_3_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /lustre/fsw/portfolios/nvr/projects/nvr_lacr_llm/users/zihwang/latency-sensitive-bench/third_party/starVLA/data/memory/flappy_fix_latency_3_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 3 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 3 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: auto + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_3_200ep_7k2steps_stitch +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e4962f2ae9cf185ed579cd44e3aca62a025b2b3c --- /dev/null +++ b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0557aba023581368ee883695e9535217afb5c126d083aa825e12c797c7bd3ddf +size 9784896838 diff --git a/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/config.full.yaml b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..185610bfa83e6547e3c6ea21a4e3c29480f694a7 --- /dev/null +++ b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/config.full.yaml @@ -0,0 +1,262 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: multibinary_bce + state_dim: 7 + action_horizon: 1 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/deadly_corridor_fix_latency_0_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/memory-data + config_name: deadly_corridor_fixed_latency_0_1000ep_7k2steps + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla + dataset_local_dir: data/jitter_destructiveness/real_profile/latency0/deadly_corridor_fix_latency_0_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 1 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/deadly_corridor_fix_latency_0_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 100 + latencies: + - 0 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 0 + - 1 + - 2 + - 3 + - 4 + num_episodes: 5 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline +output_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/config.yaml b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..65a1319125175062f8a4223cef36f18380ebe5a9 --- /dev/null +++ b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: deadly_corridor_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: deadly_corridor_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 4 +framework: + action_model: + action_dim: 7 + action_env_dim: 7 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: multibinary_bce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 100 + prompt_mode: raw + task: deadly_corridor +run_id: deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/dataset_statistics.json b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..01e8f3f347cd9e28ef3cb143997b4d95823f8f2c --- /dev/null +++ b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.931373655796051, + 0.06825859844684601, + 0.11551102250814438, + 0.49288684129714966, + 0.2694720923900604, + 0.12298039346933365, + 0.5200523734092712 + ], + "std": [ + 0.25281083583831787, + 0.2521619200706482, + 0.31965842843055725, + 0.5000015497207642, + 0.44370824098587036, + 0.3284178078174591, + 0.4996706247329712 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 43511, + "num_trajectories": 990 + } +} \ No newline at end of file diff --git a/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/dataset_statistics_eval.json b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..91b1322eae429046e31b518277154c33524a4ad0 --- /dev/null +++ b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.9307159185409546, + 0.06928406655788422, + 0.11778291314840317, + 0.487297922372818, + 0.27020785212516785, + 0.12009237706661224, + 0.49884527921676636 + ], + "std": [ + 0.25393688678741455, + 0.25393688678741455, + 0.3223511874675751, + 0.4998384118080139, + 0.44406720995903015, + 0.32506975531578064, + 0.4999997913837433 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 433, + "num_trajectories": 10 + } +} \ No newline at end of file diff --git a/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/hydra/.hydra/config.yaml b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c1a2160c92976ce7b467c37d189817b5287384c0 --- /dev/null +++ b/zero-latency/deadly-corridor/vla/starvla-qwenoft-h1/deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline/hydra/.hydra/config.yaml @@ -0,0 +1,260 @@ +framework: + qwenvl: + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: multibinary_bce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 7 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/deadly_corridor_fix_latency_0_1000ep_7k2steps + data_mix: deadly_corridor_train__bridge + eval_data_mix: deadly_corridor_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: deadly_corridor_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: deadly_corridor_train + mixed_converted_name: deadly_corridor_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla + dataset_local_dir: data/jitter_destructiveness/real_profile/latency0/deadly_corridor_fix_latency_0_1000ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: You are playing Deadly Corridor in VizDoom. Choose actions from + MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, ATTACK. + eval_parallel_envs: 1 + action_chunk_execution: + enabled: false + chunk_size: null + deadly: + action_layout: multibinary_7 + multibinary_threshold: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/deadly_corridor_fix_latency_0_1000ep_7k2steps/deadly_corridor_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 100 + latencies: + - 0 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 0 + - 1 + - 2 + - 3 + - 4 + num_episodes: 5 + max_steps_per_episode: 3600 + task: deadly_corridor + deadly_corridor_loss_type: multibinary_bce + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: deadly_corridor +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: deadly_corridor_fix_latency_0_1000ep_7k2steps_single_baseline +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..ce5ed68d5b7cca9a0d5d511fa5cea5e5fc755934 --- /dev/null +++ b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f7856234a1dca6d6c678270ec3958d2c603cee4f58f5f2fd9b138ba074bebcc +size 9784896838 diff --git a/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/config.full.yaml b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..194b096cb3733b0ec4bd7f9710f24aed335b6ff1 --- /dev/null +++ b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/config.full.yaml @@ -0,0 +1,260 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/demon_attack_fix_latency_0_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/memory-data + config_name: demon_attack_fixed_latency_0_200ep_7k2steps + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla + dataset_local_dir: data/jitter_destructiveness/real_profile/latency0/demon_attack_fix_latency_0_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/demon_attack_fix_latency_0_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 100 + latencies: + - 0 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 0 + - 1 + - 2 + - 3 + - 4 + num_episodes: 5 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_0_200ep_7k2steps_single_baseline +output_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/config.yaml b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0b09967342a79db36ab84dfe9d16809afd74a9f7 --- /dev/null +++ b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/config.yaml @@ -0,0 +1,89 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: demon_attack_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: demon_attack_train__bridge__val + latency_curriculum: + enabled: false + per_device_batch_size: 4 +framework: + action_model: + action_dim: 7 + action_env_dim: 6 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline +rl_games: + env_eval: + enabled: true + eval_backend: latency_bench + mid_train: + enabled: false + interval_steps: 100 + prompt_mode: raw + task: demon_attack +run_id: demon_attack_fix_latency_0_200ep_7k2steps_single_baseline +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics.json b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..67ed0ba27e13525e9b70617c851f13f742bbdc54 --- /dev/null +++ b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.1531357616186142, + 0.13782261312007904, + 0.19249188899993896, + 0.19680626690387726, + 0.16873429715633392, + 0.15100917220115662, + 0.0 + ], + "std": [ + 0.3629150986671448, + 0.3424715995788574, + 0.39236560463905334, + 0.39438098669052124, + 0.3759309649467468, + 0.35598820447921753, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1405067, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics_eval.json b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..da3a98f808e0a4c94663e1db2ceb3634fca163d4 --- /dev/null +++ b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.15852726995944977, + 0.13608892261981964, + 0.1932615488767624, + 0.1982632875442505, + 0.16540464758872986, + 0.14845432341098785, + 0.0 + ], + "std": [ + 0.3652505576610565, + 0.3428927958011627, + 0.3948659300804138, + 0.3986945152282715, + 0.37152817845344543, + 0.35557448863983154, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 1.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 14395, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d77011aea42bac5d4346d40b19a9cb4eef02265a --- /dev/null +++ b/zero-latency/demon-attack/vla/starvla-qwenoft-h1/demon_attack_fix_latency_0_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml @@ -0,0 +1,258 @@ +framework: + qwenvl: + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 6 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/demon_attack_fix_latency_0_200ep_7k2steps + data_mix: demon_attack_train__bridge + eval_data_mix: demon_attack_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: demon_attack_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: demon_attack_train + mixed_converted_name: demon_attack_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla + dataset_local_dir: data/jitter_destructiveness/real_profile/latency0/demon_attack_fix_latency_0_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 4 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: 'You are playing Demon Attack from a single game image. Choose + exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE.' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + demon_attack: + noop_max: 30 + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/demon_attack_fix_latency_0_200ep_7k2steps/demon_attack_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: false + interval_steps: 100 + latencies: + - 0 + num_episodes: 5 + max_steps_per_episode: 3600 + post_train: + enabled: false + latencies: + - 0 + - 1 + - 2 + - 3 + - 4 + num_episodes: 5 + max_steps_per_episode: 3600 + task: demon_attack + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: demon_attack +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: demon_attack_fix_latency_0_200ep_7k2steps_single_baseline +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21 diff --git a/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..c5cca8235ca1bf01277c22250352bb47c7f34b45 --- /dev/null +++ b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/checkpoints/steps_4000_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6df7c64a760d025417d84c2bbc1dfe6e2567790a4c18bacd9e634f81c676eeb +size 9784896838 diff --git a/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/config.full.yaml b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/config.full.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ecf08e354720f9036e62615281c7e46c07b3ebec --- /dev/null +++ b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/config.full.yaml @@ -0,0 +1,253 @@ +framework: + name: QwenOFT + qwenvl: + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + action_model_type: MLP + action_dim: 7 + action_hidden_dim: 2560 + future_action_window_size: 0 + past_action_window_size: 0 + loss_type: discrete_ce + state_dim: 7 + action_horizon: 1 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/flappy_fix_latency_0_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: latency-sensitive-bench/memory-data + config_name: flappy_fixed_latency_0_200ep_7k2steps + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: null + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla + dataset_local_dir: data/jitter_destructiveness/real_profile/latency0/flappy_fix_latency_0_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/flappy_fix_latency_0_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 0 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 0 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_0_200ep_7k2steps_single_baseline +output_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla/flappy_fix_latency_0_200ep_7k2steps_single_baseline +config_yaml: null +is_debug: false +version_id: '0.21' diff --git a/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/config.yaml b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..044f5e05bba8638e2ce8ff09e34d096cae4b536d --- /dev/null +++ b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/config.yaml @@ -0,0 +1,103 @@ +checkpoint: + local: + keep_last_n: 1 + save_best_model: false + save_final_model: true + save_pt_file: false + save_safetensors_file: true + save_training_state: true + sync: + enabled: false + keep_last_n: 0 + repo_id: null +datasets: + vla_data: + data_mix: flappy_train__bridge + dataset_py: lerobot_datasets + eval_data_mix: flappy_train__bridge__val + latency_curriculum: + enabled: false + obs_image_size: null + per_device_batch_size: 4 +framework: + action_model: + action_dim: 7 + action_env_dim: 2 + action_hidden_dim: 2560 + action_horizon: 1 + action_model_type: MLP + loss_type: discrete_ce + kv_memory: + enabled: false + packed_train: false + rebased_sink: true + rollout_len: 8 + window: 4 + name: QwenOFT + qwenvl: + attn_implementation: flash_attention_2 + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + enable_gradient_checkpointing: true +output_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla/flappy_fix_latency_0_200ep_7k2steps_single_baseline +rl_games: + env_eval: + distributed_mode: rank_sharded + enabled: true + eval_backend: latency_bench + eval_parallel_envs: 5 + fixed_episode_seeds: true + image_size: 224 + image_transform: raw_rgb + latency: + prompt_map_path: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/flappy_fix_latency_0_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 0 + max_steps_per_episode: 3600 + num_episodes: 20 + prompt_mode: raw + seed: 42 + model_alias: openvla + task: flappy +run_id: flappy_fix_latency_0_200ep_7k2steps_single_baseline +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +trainer: + distributed_backend: deepspeed + eval_action_classification: false + eval_action_classification_interval: null + eval_interval: 250 + eval_num_batches: 50 + freeze_llm_layers: [] + freeze_modules: '' + freeze_tied_embedding: false + freeze_vit: false + gradient_accumulation_steps: 16 + is_resume: false + learning_rate: + action_model: 0.0001 + base: 2.0e-05 + qwen_vl_interface: 1.0e-05 + logging_frequency: 1 + lr_scheduler_type: cosine_with_min_lr + max_train_steps: 4000 + num_warmup_steps: 100 + optimizer: + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + fused: true + weight_decay: 1.0e-08 + per_latency_eval_num_batches: null + pretrained_checkpoint: null + profile_timing: + enabled: false + reload_modules: null + save_interval: 500 + scheduler_specific_kwargs: + min_lr: 1.0e-06 +wandb_entity: saberrr-zju +wandb_project: starVLA_rl_games diff --git a/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics.json b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics.json new file mode 100644 index 0000000000000000000000000000000000000000..f2ca08fbf9f68544ac306280c45c2ac6bae4365e --- /dev/null +++ b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.9158872961997986, + 0.08411270380020142, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.2783907651901245, + 0.2783907651901245, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 1414816, + "num_trajectories": 198 + } +} \ No newline at end of file diff --git a/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics_eval.json b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics_eval.json new file mode 100644 index 0000000000000000000000000000000000000000..6f54f22ff1a4de6b3e7a57100ada1b6d87b6a300 --- /dev/null +++ b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/dataset_statistics_eval.json @@ -0,0 +1,127 @@ +{ + "new_embodiment": { + "action": { + "mean": [ + 0.9177696704864502, + 0.08223035931587219, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.27472925186157227, + 0.27472925186157227, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 1.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "mask": [ + true, + true, + true, + true, + true, + true, + true + ] + }, + "state": { + "mean": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "std": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "max": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "min": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q01": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ], + "q99": [ + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "num_transitions": 10653, + "num_trajectories": 2 + } +} \ No newline at end of file diff --git a/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c31e9e97c77e75442bd8c1acbcfe98b88c1571d0 --- /dev/null +++ b/zero-latency/flappy/vla/starvla-qwenoft-h1/flappy_fix_latency_0_200ep_7k2steps_single_baseline/hydra/.hydra/config.yaml @@ -0,0 +1,251 @@ +framework: + qwenvl: + base_vlm: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3-VL-4B-Instruct + attn_implementation: flash_attention_2 + enable_gradient_checkpointing: true + action_model: + state_dim: 7 + loss_type: discrete_ce + action_horizon: 1 + future_action_window_size: 0 + past_action_window_size: 0 + action_dim: 7 + action_env_dim: 2 + kv_memory: + enabled: false + window: 4 + rollout_len: 8 + packed_train: false + rebased_sink: true + name: QwenOFT +datasets: + vla_data: + dataset_py: lerobot_datasets + include_state: true + data_root_dir: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/flappy_fix_latency_0_200ep_7k2steps + data_mix: flappy_train__bridge + eval_data_mix: flappy_train__bridge__val + custom_mixtures_path: null + action_type: discrete + sequential_step_sampling: false + eval_sequential_step_sampling: null + num_workers: 8 + eval_num_workers: 8 + prefetch_factor: 4 + persistent_workers: true + pin_memory: true + shuffle: true + action_balance: + enabled: false + strategy: balanced_epoch + action_key: action_id + target_flap_fraction: 0.3 + noop_id: 0 + flap_id: 1 + latency_curriculum: + enabled: false + strategy: exclusive + latencies: null + phase_steps: null + phase_distributions: null + new_latency_passes: 1.0 + replay_passes: 0.25 + target_total_passes: 2.0 + final_equalization: true + step_budget_mode: auto + eval_at_phase_end: false + save_at_phase_end: false + computed_plan: null + per_device_batch_size: 4 + load_all_data_for_training: true + num_obs_frames: 1 + image_mode: single + prompt_mode: raw + stitch_grid: + - 2 + - 2 + obs_image_size: null + video_backend: torchvision_av +dataset: + source_hf: '' + config_name: null + source_subdir: null + converted_name: flappy_train + single_source_hf: '' + mixed_source_hf: '' + single_converted_name: flappy_train + mixed_converted_name: flappy_mixed_latency_train + single_latency_filter: null + mixed_latency_filter: null + force_download: false + setup_force: false + skip_verification: false + target_latency_unit: raw_frames + verify_rows: 200 + max_episodes: null + episodes_per_latency: null + latency_filter: null + debug_subset: + enabled: false + max_episodes: 5 + suffix: debug +base_model: + repo_id: Qwen/Qwen3-VL-4B-Instruct +initialization: + checkpoint_local_dir: playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_hf_repo_id: StarVLA/Qwen3VL-OFT-Bridge-RT-1 + checkpoint_filename: checkpoints/steps_5000_pytorch_model.pt +trainer: + max_train_steps: 4000 + num_warmup_steps: 100 + save_interval: 500 + eval_interval: 250 + eval_num_batches: 50 + per_latency_eval_num_batches: null + eval_action_classification: false + eval_action_classification_interval: null + cc_f1_tolerance: 1 + learning_rate: + base: 2.0e-05 + qwen_vl_interface: 1.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 + vlm: 0.1 + max_grad_norm: 1.0 + weight_decay: 0.0 + logging_frequency: 1 + profile_timing: + enabled: false + log_interval: 10 + gradient_clipping: 1.0 + gradient_accumulation_steps: 16 + distributed_backend: deepspeed + is_resume: false + pretrained_checkpoint: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/playground/Pretrained_models/Qwen3VL-OFT-Bridge-RT-1/checkpoints/steps_5000_pytorch_model.pt + resume_step: 0 + reload_modules: null + optimizer: + name: AdamW + betas: + - 0.9 + - 0.95 + eps: 1.0e-08 + weight_decay: 1.0e-08 + fused: true + save_format: pt +workspace_dir: WORKSPACE_DIR +run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla +seed: 42 +wandb_entity: ${oc.env:WANDB_ENTITY} +wandb_project: ${oc.env:WANDB_PROJECT,starVLA_rl_games} +auth: + env_file: null + hf_token_env: HF_TOKEN + wandb_api_key_env: WANDB_API_KEY +paths: + run_root_dir: /pfs/users/lxy/latency-sensitive-bench/results/checkpoints/jitter_destructiveness/real_profile/vla + dataset_local_dir: data/jitter_destructiveness/real_profile/latency0/flappy_fix_latency_0_200ep_7k2steps + dataset_cache_dir: null + base_model_dir: playground/Pretrained_models/Qwen3-VL-4B-Instruct + accelerate_config: starVLA/config/deepseeds/deepspeed_zero2.yaml +launch: + use_accelerate: true + gpus: null + num_processes: 1 + dry_run: false +conda: + enabled: true + env_name: null +rl_games: + model_alias: openvla + env_eval: + image_size: 224 + frameskip: 1 + image_transform: raw_rgb + prompt_mode: raw + ghost_trail: + history_frames: 5 + gamma: 1.3 + min_alpha: 35 + scroll_px_per_step: 4.0 + ground_fraction: 0.22 + seed: 42 + fixed_episode_seeds: true + latency_seed_stride: 0 + task_seed_stride: 0 + task_description: '' + eval_parallel_envs: 5 + action_chunk_execution: + enabled: false + chunk_size: null + enabled: true + eval_backend: latency_bench + distributed_mode: rank_sharded + vectorized: + enabled: false + batch_size: 1 + latency: + prompt_map_path: /pfs/users/lxy/latency-sensitive-bench/third_party/starVLA/data/jitter_destructiveness/real_profile/latency0/flappy_fix_latency_0_200ep_7k2steps/flappy_train__bridge/latency_prompt_map.json + mode: single + values: + - 0 + mid_train: + enabled: true + interval_steps: 250 + latencies: + - 0 + num_episodes: 20 + max_steps_per_episode: 3600 + post_train: + enabled: true + latencies: + - 0 + num_episodes: 50 + max_steps_per_episode: 3600 + task: flappy + initialization_mode: bridge + action_carrier: bridge +model: openvla +env: flappy +init: bridge +bridge_base_model: + repo_id: + openvla: Qwen/Qwen3-VL-4B-Instruct + pi0: StarVLA/Qwen2.5-VL-3B-Instruct-Action + pi05: Qwen/Qwen3-VL-4B-Instruct + gr00t: Qwen/Qwen3-VL-4B-Instruct + local_dir: + openvla: playground/Pretrained_models/Qwen3-VL-4B-Instruct + pi0: playground/Pretrained_models/Qwen2.5-VL-3B-Instruct-Action + pi05: playground/Pretrained_models/Qwen3-VL-4B-Instruct + gr00t: playground/Pretrained_models/Qwen3-VL-4B-Instruct +mode: single +checkpoint: + load: none + hf_repo_id: null + save_best_model: false + save_final_model: true + save_pt_file: false + save_training_state: true + save_safetensors_file: true + local: + keep_last_n: 1 + sync: + enabled: false + repo_id: null + keep_last_n: 0 + sync_every_n_checkpoints: 1 + resume_policy: local_latest +run_id: flappy_fix_latency_0_200ep_7k2steps_single_baseline +output_dir: null +config_yaml: null +is_debug: false +version_id: 0.21