Finalize task-transfer catalogue and preserved dataset selections
Browse files- experiments/task-transfer/provenance/exact_dataset_selection_repairs.json +22 -0
- experiments/task-transfer/provenance/local_consumer_verification.json +1 -1
- experiments/task-transfer/provenance/release_code/scripts/bash_scripts/rollout_data/rollout_latency024_three_games.sh +2 -12
- experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/cross_task/flappy_demon_deadly_asterix_atlantis_defend_024.sh +0 -1
- experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_2.sh +1 -1
- experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_4.sh +1 -1
- experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_6.sh +1 -1
- experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_8.sh +1 -1
- experiments/task-transfer/provenance/test_verification.json +22 -0
experiments/task-transfer/provenance/exact_dataset_selection_repairs.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"file": "third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_2.sh",
|
| 4 |
+
"original_source_subdir": "deadly_corridor_fix_latency_2_1000ep",
|
| 5 |
+
"preserved_target_subdir": "latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_2_1000ep"
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"file": "third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_4.sh",
|
| 9 |
+
"original_source_subdir": "deadly_corridor_fix_latency_4_1000ep",
|
| 10 |
+
"preserved_target_subdir": "latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_4_1000ep"
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"file": "third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_6.sh",
|
| 14 |
+
"original_source_subdir": "deadly_corridor_fix_latency_6_1000ep",
|
| 15 |
+
"preserved_target_subdir": "latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_6_1000ep"
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"file": "third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_8.sh",
|
| 19 |
+
"original_source_subdir": "deadly_corridor_fix_latency_8_1000ep",
|
| 20 |
+
"preserved_target_subdir": "latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_8_1000ep"
|
| 21 |
+
}
|
| 22 |
+
]
|
experiments/task-transfer/provenance/local_consumer_verification.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
"yaml": 2,
|
| 6 |
"python": 2
|
| 7 |
},
|
| 8 |
-
"fixed_asset_and_latency_directory_references":
|
| 9 |
"all_resolve": true,
|
| 10 |
"active_consumers_of_retired_repositories": 0
|
| 11 |
}
|
|
|
|
| 5 |
"yaml": 2,
|
| 6 |
"python": 2
|
| 7 |
},
|
| 8 |
+
"fixed_asset_and_latency_directory_references": 32,
|
| 9 |
"all_resolve": true,
|
| 10 |
"active_consumers_of_retired_repositories": 0
|
| 11 |
}
|
experiments/task-transfer/provenance/release_code/scripts/bash_scripts/rollout_data/rollout_latency024_three_games.sh
CHANGED
|
@@ -32,7 +32,6 @@ set -euo pipefail
|
|
| 32 |
# EPISODE_RETURN_GT=<override per-task gate>
|
| 33 |
# HF_MODEL_REPO=latency-sensitive-bench/paper-experiment-models
|
| 34 |
# HF_ROLLOUT_REPO=<override one shared upload repo>
|
| 35 |
-
# HF_ROLLOUT_REPO_PREFIX=latency-sensitive-bench
|
| 36 |
#
|
| 37 |
# Default teacher seeds are one selected small model per env/latency:
|
| 38 |
# asterix: l0=s11, l2=s14, l4=s14
|
|
@@ -43,7 +42,6 @@ set -euo pipefail
|
|
| 43 |
|
| 44 |
export HF_MODEL_REPO="${HF_MODEL_REPO:-latency-sensitive-bench/paper-experiment-models}"
|
| 45 |
export HF_ROLLOUT_REPO="${HF_ROLLOUT_REPO:-latency-sensitive-bench/benchmark-datasets}"
|
| 46 |
-
export HF_ROLLOUT_REPO_PREFIX="${HF_ROLLOUT_REPO_PREFIX:-latency-sensitive-bench}"
|
| 47 |
export SMALL_MODEL_CKPT_ROOT="${SMALL_MODEL_CKPT_ROOT:-/mnt/local/talha/latency024_small_model_ckpts}"
|
| 48 |
export ROLLOUT_DATA_ROOT="${ROLLOUT_DATA_ROOT:-/mnt/local/talha/latency024_rollout_datasets}"
|
| 49 |
export DEFEND_L0_SOURCE_REPO="${DEFEND_L0_SOURCE_REPO:-latency-sensitive-bench/benchmark-datasets}"
|
|
@@ -165,14 +163,6 @@ default_episode_return_gt_for_env_latency() {
|
|
| 165 |
esac
|
| 166 |
}
|
| 167 |
|
| 168 |
-
hf_rollout_repo_for_env() {
|
| 169 |
-
local env_name="$1"
|
| 170 |
-
if [[ -n "${HF_ROLLOUT_REPO:-}" ]]; then
|
| 171 |
-
printf '%s\n' "${HF_ROLLOUT_REPO}"
|
| 172 |
-
return 0
|
| 173 |
-
fi
|
| 174 |
-
printf '%s\n' "${HF_ROLLOUT_REPO_PREFIX}/${env_name}_200ep"
|
| 175 |
-
}
|
| 176 |
|
| 177 |
best_remote_ckpt() {
|
| 178 |
local env_name="$1"
|
|
@@ -265,7 +255,7 @@ rollout_latency024_one() {
|
|
| 265 |
|
| 266 |
local ckpt config_name out_dir steps_label hf_rollout_repo
|
| 267 |
ckpt="$(download_best_latency024_ckpt "${env_name}" "${latency}")" || return 1
|
| 268 |
-
hf_rollout_repo="$
|
| 269 |
|
| 270 |
case "${MAX_STEPS:-7200}" in
|
| 271 |
7200) steps_label="7k2steps" ;;
|
|
@@ -334,7 +324,7 @@ PY
|
|
| 334 |
|
| 335 |
config_name="${env_name}_fixed_latency_${latency}_${max_episodes}ep_${steps_label}"
|
| 336 |
out_dir="${ROLLOUT_DATA_ROOT}/${config_name}"
|
| 337 |
-
hf_rollout_repo="$
|
| 338 |
|
| 339 |
mkdir -p "${out_dir}"
|
| 340 |
|
|
|
|
| 32 |
# EPISODE_RETURN_GT=<override per-task gate>
|
| 33 |
# HF_MODEL_REPO=latency-sensitive-bench/paper-experiment-models
|
| 34 |
# HF_ROLLOUT_REPO=<override one shared upload repo>
|
|
|
|
| 35 |
#
|
| 36 |
# Default teacher seeds are one selected small model per env/latency:
|
| 37 |
# asterix: l0=s11, l2=s14, l4=s14
|
|
|
|
| 42 |
|
| 43 |
export HF_MODEL_REPO="${HF_MODEL_REPO:-latency-sensitive-bench/paper-experiment-models}"
|
| 44 |
export HF_ROLLOUT_REPO="${HF_ROLLOUT_REPO:-latency-sensitive-bench/benchmark-datasets}"
|
|
|
|
| 45 |
export SMALL_MODEL_CKPT_ROOT="${SMALL_MODEL_CKPT_ROOT:-/mnt/local/talha/latency024_small_model_ckpts}"
|
| 46 |
export ROLLOUT_DATA_ROOT="${ROLLOUT_DATA_ROOT:-/mnt/local/talha/latency024_rollout_datasets}"
|
| 47 |
export DEFEND_L0_SOURCE_REPO="${DEFEND_L0_SOURCE_REPO:-latency-sensitive-bench/benchmark-datasets}"
|
|
|
|
| 163 |
esac
|
| 164 |
}
|
| 165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
|
| 167 |
best_remote_ckpt() {
|
| 168 |
local env_name="$1"
|
|
|
|
| 255 |
|
| 256 |
local ckpt config_name out_dir steps_label hf_rollout_repo
|
| 257 |
ckpt="$(download_best_latency024_ckpt "${env_name}" "${latency}")" || return 1
|
| 258 |
+
hf_rollout_repo="${HF_ROLLOUT_REPO}"
|
| 259 |
|
| 260 |
case "${MAX_STEPS:-7200}" in
|
| 261 |
7200) steps_label="7k2steps" ;;
|
|
|
|
| 324 |
|
| 325 |
config_name="${env_name}_fixed_latency_${latency}_${max_episodes}ep_${steps_label}"
|
| 326 |
out_dir="${ROLLOUT_DATA_ROOT}/${config_name}"
|
| 327 |
+
hf_rollout_repo="${HF_ROLLOUT_REPO}"
|
| 328 |
|
| 329 |
mkdir -p "${out_dir}"
|
| 330 |
|
experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/cross_task/flappy_demon_deadly_asterix_atlantis_defend_024.sh
CHANGED
|
@@ -28,7 +28,6 @@ export TRANSFORMERS_CACHE="${DATA_WORKSPACE_DIR}/.cache/huggingface/transformers
|
|
| 28 |
export PYTHONPATH="${WORKSPACE_DIR}/latency-sensitive-bench:${PYTHONPATH:-}"
|
| 29 |
|
| 30 |
RUN_ID="${RUN_ID:-openvla_bridge_cross_mixed_all_024_5env200ep_deadly1000ep_exp1}"
|
| 31 |
-
HF_REPO_ID="${HF_REPO_ID:-latency-sensitive-bench/benchmark-models}"
|
| 32 |
MAX_EPISODES_PER_ENV="${MAX_EPISODES_PER_ENV:-200}"
|
| 33 |
MAX_EPISODES_DEADLY="${MAX_EPISODES_DEADLY:-1000}"
|
| 34 |
MIX_LATENCIES="${MIX_LATENCIES:-[0,2,4]}"
|
|
|
|
| 28 |
export PYTHONPATH="${WORKSPACE_DIR}/latency-sensitive-bench:${PYTHONPATH:-}"
|
| 29 |
|
| 30 |
RUN_ID="${RUN_ID:-openvla_bridge_cross_mixed_all_024_5env200ep_deadly1000ep_exp1}"
|
|
|
|
| 31 |
MAX_EPISODES_PER_ENV="${MAX_EPISODES_PER_ENV:-200}"
|
| 32 |
MAX_EPISODES_DEADLY="${MAX_EPISODES_DEADLY:-1000}"
|
| 33 |
MIX_LATENCIES="${MIX_LATENCIES:-[0,2,4]}"
|
experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_2.sh
CHANGED
|
@@ -20,7 +20,7 @@ python examples/rl_games/scripts/launch_train.py \
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_2_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
-
dataset.source_subdir=
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
|
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_2_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
+
dataset.source_subdir=latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_2_1000ep \
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_4.sh
CHANGED
|
@@ -20,7 +20,7 @@ python examples/rl_games/scripts/launch_train.py \
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_4_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
-
dataset.source_subdir=
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
|
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_4_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
+
dataset.source_subdir=latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_4_1000ep \
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_6.sh
CHANGED
|
@@ -20,7 +20,7 @@ python examples/rl_games/scripts/launch_train.py \
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_6_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
-
dataset.source_subdir=
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
|
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_6_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
+
dataset.source_subdir=latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_6_1000ep \
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
experiments/task-transfer/provenance/release_code/third_party/starVLA/examples/rl_games/bash_scripts/openvla/bridge/fixed/deadly_corridor/latency_8.sh
CHANGED
|
@@ -20,7 +20,7 @@ python examples/rl_games/scripts/launch_train.py \
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_8_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
-
dataset.source_subdir=
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
|
|
|
| 20 |
checkpoint.sync.repo_id="talha15032/openvla_bridge_deadly_corridor_fix_latency_8_clean_data_bce_exp2" \
|
| 21 |
dataset.source_hf=latency-sensitive-bench/benchmark-datasets \
|
| 22 |
dataset.revision=d6f0ad0995f6e4b095f315920e8de18e04297048 \
|
| 23 |
+
dataset.source_subdir=latency-aware/deadly-corridor/deadly_1000ep/deadly_corridor_fix_latency_8_1000ep \
|
| 24 |
checkpoint.local.keep_last_n=1 \
|
| 25 |
checkpoint.save_best_model=false \
|
| 26 |
trainer.max_train_steps=500 \
|
experiments/task-transfer/provenance/test_verification.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"training_config_tests": 20,
|
| 3 |
+
"checkpoint_and_evaluation_tests": 11,
|
| 4 |
+
"known_existing_converter_failures": [
|
| 5 |
+
"test_convert_flappy_hf_loader_passes_dataset_source_subdir",
|
| 6 |
+
"test_convert_flappy_index_split_retries_canonical_hf_columns"
|
| 7 |
+
],
|
| 8 |
+
"paper_arxiv_build": "up-to-date; no numeric/figure changes",
|
| 9 |
+
"new_regression_test": {
|
| 10 |
+
"file": "third_party/starVLA/tests/rl_games/test_training_commands.py",
|
| 11 |
+
"name": "test_deadly_fixed_training_preserves_latency_dataset",
|
| 12 |
+
"cases": [
|
| 13 |
+
2,
|
| 14 |
+
4,
|
| 15 |
+
6,
|
| 16 |
+
8
|
| 17 |
+
],
|
| 18 |
+
"contract": "Fixed-delay launchers retain their exact pre-migration training dataset selection.",
|
| 19 |
+
"lifecycle": "long-lived contract",
|
| 20 |
+
"owner": "StarVLA rl_games training command suite"
|
| 21 |
+
}
|
| 22 |
+
}
|