计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
run-hugging-face-training-smoke【效率与协作】Runs one bounded, private Hugging Face training smoke with immutable inputs, local preflight checks, explicit stop gates, checkpoint verification, and reproducible evidence. Use before spending cloud compute on a longer fine-tuning run.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Run the smallest experiment that can disprove the training setup. Treat a passing smoke as permission to consider a longer run, never as model or product acceptance.
Run scripts/preflight_runner.py against the exact submitted runner:
python scripts/preflight_runner.py path/to/runner.py \
--require "load_best_model_at_end" \
--forbid "print(os.environ"
Then execute the runner's cheapest supported dry run or stdin simulation. Verify:
Do not rely on load_best_model_at_end alone as proof of the evaluated checkpoint.
Submit the already-preflighted command. Record the job ID and immutable command immediately. Monitor only long enough to detect startup, data, memory, loss, or checkpoint failures. Do not automatically retry a paid job; preserve the failure and obtain new authorization when another paid attempt is needed.
Stop when any project-defined gate fails. Never relax parsing, supplied-ID, legality, replay, safety, or quality thresholds because the loss curve looks healthy.
Evaluate the frozen held-out cases once, without repair or retry, using the recorded best-validation checkpoint. Preserve:
State the narrowest justified conclusion. A smoke can prove that the pipeline trains and obeys a contract; it cannot establish strategic usefulness or production acceptance.