Launch matched league admission pilot on HF Jobs
This commit is contained in:
parent
dabc9e2703
commit
be7d4015b8
2 changed files with 100 additions and 1 deletions
|
|
@ -179,7 +179,9 @@
|
|||
"multiplayer-h200-u79-economic-4p": "6abded9afbc85ba68235f5c2",
|
||||
"multiplayer-h200-u79-economic-5p": "6abded9b404719ba3761615b",
|
||||
"multiplayer-h200-u79-economic-6p": "6abded9bfbc85ba68235f5c4",
|
||||
"multiplayer-h200-u79-a260-3p": "6abded9c404719ba3761615d"
|
||||
"multiplayer-h200-u79-a260-3p": "6abded9c404719ba3761615d",
|
||||
"multiplayer-league-admission-v1-best": "6abdef75404719ba37616230",
|
||||
"multiplayer-league-admission-v1-periodic-anchor": "6abdef76fbc85ba68235f6a0"
|
||||
},
|
||||
"cancelled_while_queued": [
|
||||
"6abd128efbc85ba68235b1a6",
|
||||
|
|
@ -27601,5 +27603,63 @@
|
|||
}
|
||||
},
|
||||
"interpretation": "All3680 held-out development screening games completed with zero actual/search truncations. Economic2\u20136p win rates63.4375%,60.833333%,59.6875%,77.6875%,73.28125%; frozenA2603p33.541667%, below40% floor. Final80-update training endpoint and strict export success do not qualify this model. Internal-best selection did not deliver universal external strength. Preserve earlier candidates and reserved final seeds; do not extend the same H200 recipe solely because training finished. Further work should change training/opponent coverage based on the observed sealed-auction and frozen-opponent weaknesses, while the geographic80-update run completes."
|
||||
},
|
||||
"multiplayer_league_admission_v1": {
|
||||
"status": "RUNNING",
|
||||
"source": {
|
||||
"archive": "strong-source-v34.tgz",
|
||||
"revision": "2c273f96562d0cc2f8c05a2735d8c0492ab77fd8",
|
||||
"base_revision": "be9262485a29f38dd5c7f0f8442909d70bb98b94",
|
||||
"changed_files": [
|
||||
"ai/strong/train.py",
|
||||
"ai/strong/snapshot_league.py",
|
||||
"ai/strong/test_snapshot_league.py"
|
||||
],
|
||||
"archive_sha256": "d79a5dd588c746e1c0036c108b828bbe9fcf42974b3b720f53c59b003be5e5ba"
|
||||
},
|
||||
"initial_checkpoint": "runs/multiplayer-refine-hard-v1/best.pt",
|
||||
"initial_revision": "fbdf2bf24c968bff99ab2d7d9ff9a7d97047db2b",
|
||||
"initial_update": 29,
|
||||
"seed": 9021,
|
||||
"updates": 20,
|
||||
"games_per_update": 240,
|
||||
"player_counts": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6
|
||||
],
|
||||
"opponent_mode": "mixed_search_geo",
|
||||
"snapshot_interval": 5,
|
||||
"jobs": [
|
||||
{
|
||||
"run": "multiplayer-league-admission-v1-best",
|
||||
"job_id": "6abdef75404719ba37616230",
|
||||
"admission": "best"
|
||||
},
|
||||
{
|
||||
"run": "multiplayer-league-admission-v1-periodic-anchor",
|
||||
"job_id": "6abdef76fbc85ba68235f6a0",
|
||||
"admission": "periodic_anchor"
|
||||
}
|
||||
],
|
||||
"hypothesis": "Periodic admission with retained starting policy improves robustness versus score-gated last-three admission. Both arms share source, initial checkpoint, seed, geography-aware search opponent mix and optimizer settings.",
|
||||
"limitations": "Single training seed pilot. Async scheduling may change stochastic trajectories; configuration matching does not imply identical rollout RNG. Need paired held-out external screens before strength claims; final reserved seeds remain unused.",
|
||||
"evaluation_plan": "Evaluate published updates9 and19 versus economic across2\u20136 and frozenA2603p, then select additional search screens only if supported. Neither arm trains against frozenA260.",
|
||||
"training_location": "HF Jobs only",
|
||||
"startup_verified": {
|
||||
"checked_at": "2026-10-01T05:33:52.157124+00:00",
|
||||
"both_jobs_running": true,
|
||||
"startup_checks_passed": true,
|
||||
"initial_evaluation_completed": true,
|
||||
"first_rollout_started": true,
|
||||
"observed_completed_games": {
|
||||
"best": 225,
|
||||
"periodic_anchor": 224
|
||||
},
|
||||
"requested_games_per_arm": 240,
|
||||
"duplicate_jobs_created": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
39
ai/strong/launch-league-admission-v1.sh
Normal file
39
ai/strong/launch-league-admission-v1.sh
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#!/usr/bin/env bash
|
||||
# Controlled league-admission comparison; optimization runs only on HF Jobs.
|
||||
set -euo pipefail
|
||||
checkpoint=${1:?Supply selected ordered-model checkpoint path}
|
||||
revision=${2:?Pin its immutable model repository commit}
|
||||
run=${3:?Supply a unique refinement run name}
|
||||
[[ "$revision" =~ ^[0-9a-f]{40}$ ]]
|
||||
[[ "$checkpoint" == runs/*/best.pt ]]
|
||||
[[ "$run" =~ ^[a-zA-Z0-9_-]+$ ]]
|
||||
admission=${SNAPSHOT_ADMISSION:?Choose best or periodic_anchor}
|
||||
[[ "$admission" == best || "$admission" == periodic_anchor ]]
|
||||
hf jobs run --detach --flavor "${HF_FLAVOR:-cpu-performance}" --timeout "${JOB_TIMEOUT:-8h}" \
|
||||
--secrets HF_TOKEN \
|
||||
--env HF_MODEL_REPO=coyotte508/powergrid-ai-germany-v1 \
|
||||
--env INIT_CHECKPOINT="$checkpoint" --env INIT_REVISION="$revision" --env ANCHOR_POLICY=initial \
|
||||
--env ARCHITECTURE=multiplayer_ordered --env MIX_PLAYER_COUNTS=1 --env OPPONENT_MODE="${OPPONENT_MODE:-mixed_search_geo}" \
|
||||
--env RUN_NAME="$run" --env TRAIN_SEED="${TRAIN_SEED:-9021}" \
|
||||
--env ASYNC_ROLLOUT="${ASYNC_ROLLOUT:-1}" --env TRAIN_DEVICE="${TRAIN_DEVICE:-cpu}" --env TORCH_THREADS="${TORCH_THREADS:-4}" \
|
||||
--env SNAPSHOT_ADMISSION="$admission" --env SNAPSHOT_INTERVAL=5 \
|
||||
--env LR=.00005 --env ENTROPY=.005 --env ANCHOR=.03 \
|
||||
--env UPDATES="${UPDATES:-20}" --env EVAL_EVERY=10 \
|
||||
--env ENVS=240 --env WORKERS="${WORKERS:-240}" --env BATCH_SIZE=512 \
|
||||
--label project=powergrid-ai --label stage="$run" \
|
||||
-- pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime bash -lc '
|
||||
set -euo pipefail
|
||||
python -m pip install --quiet --timeout 120 --retries 5 huggingface_hub==2.0.0 onnx==1.20.1 onnxruntime==1.30.0
|
||||
mkdir -p /workspace
|
||||
python -c "import urllib.request,tarfile; urllib.request.urlretrieve(\"https://nodejs.org/dist/v24.14.0/node-v24.14.0-linux-x64.tar.xz\",\"/tmp/node.tar.xz\");tarfile.open(\"/tmp/node.tar.xz\").extractall(\"/opt\")"
|
||||
export PATH=/opt/node-v24.14.0-linux-x64/bin:$PATH
|
||||
python -c "from huggingface_hub import hf_hub_download;import tarfile;p=hf_hub_download(\"coyotte508/powergrid-ai-training-v1\",\"strong-source-v34.tgz\",repo_type=\"dataset\",revision=\"2c273f96562d0cc2f8c05a2735d8c0492ab77fd8\");tarfile.open(p).extractall(\"/workspace\")"
|
||||
cd /workspace
|
||||
node --test ai/test.cjs ai/strong/test.cjs
|
||||
python ai/strong/test_teacher_contract.py
|
||||
python ai/strong/test_model_v4.py
|
||||
python ai/strong/test_snapshot_league.py
|
||||
python ai/strong/test_multiplayer_bridge.py
|
||||
python ai/strong/test_async_pool.py
|
||||
python -u ai/strong/train.py
|
||||
'
|
||||
Loading…
Add table
Add a link
Reference in a new issue