Starter kit: align submission schema and path safety#1262
Starter kit: align submission schema and path safety#1262SID-6921 wants to merge 11 commits intoopenai:mainfrom
Conversation
Add starter kit for low-budget RunPod workflow
There was a problem hiding this comment.
Pull request overview
Adds a small “starter kit” workflow to help users run baseline experiments and generate PR-ready records/ submission folders with normalized track names and some path-safety checks.
Changes:
- Introduces starter-kit docs/templates for
README.md+submission.json. - Adds
prepare_submission.pyto generate a newrecords/track_*/<date>_<run>folder with required files. - Adds RunPod bootstrap + smoke/full run helper scripts and an experiment log template.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| starter_kit/templates/submission.json.template | Adds a submission.json starter template for new records. |
| starter_kit/templates/README_submission_template.md | Adds a README template to accompany generated record folders. |
| starter_kit/START_HERE.md | Adds step-by-step starter documentation for new contributors. |
| starter_kit/scripts/prepare_submission.py | Adds a CLI tool to generate PR-ready records/ folders and sanitize run folder names. |
| starter_kit/scripts/01_runpod_bootstrap.sh | Adds a RunPod bootstrap script (clone + download small dataset slice). |
| starter_kit/scripts/02_smoke_run.sh | Adds a quick smoke run script with a short wallclock cap. |
| starter_kit/scripts/03_full_run.sh | Adds a ~10-minute baseline-style run script. |
| starter_kit/notes/EXPERIMENT_LOG_TEMPLATE.md | Adds an experiment log template for tracking runs/changes/outcomes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Follow-up update: addressed all Copilot review points in the latest commit (3cde174). What was fixed:
Also updated submission metadata author to: Siddhardha Nanda (github_id: SID-6921). If this now looks good, could I please get a final review/approval? |
|
Added one-command experiment automation for immediate non-record iteration:
This is now in commit 2ed635d and on this PR branch. Run command from repo root: bash starter_kit/scripts/04_non_record_a40_campaign.sh |
|
Campaign complete! 10 runs finished on A40. Best result: R08 Higher-LR Matrix/Scalar — val_bpb 2.1827 (vs baseline 3.2686, ~33% improvement). Full ranking:
Key changes in R08: MATRIX_LR=0.05, SCALAR_LR=0.04, TIED_EMBED_LR=0.05, TRAIN_BATCH_TOKENS=1M, WARMDOWN_ITERS=400, ITERATIONS=60. Committed to this PR in d281106 at |
|
Run update: we had strong run logs trending around val_bpb ~1.38 and improving, and were on track for a better push, but we ran out of credits before we could complete and package that run. |
|
Proof from RunPod terminal logs (H100 run, pre-interruption): step:2000/500000 val_loss:2.4183 val_bpb:1.4323 train_time:647140ms step_avg:323.57ms Interruption seen in logs before we could package the run: Given credit limits, we preserved and submitted the last fully packaged valid run. |
Community Review — Starter kit: align submission schema and path safetyCompliance: NEEDS AUTHOR ACTION — What I found: The CPU smoke test on CT2038 (proteus-engine, 128 GB RAM, Triton 3.6.0, flash_attn stub, cutlass_evt_fusion stub) failed at the import step with: A few of the common patterns I've seen for this class of error in the 2026-04-11 sweep:
Recommendation: Could you run Once the parse/import issue is fixed, I'll re-run the compliance audit through the normal pipeline. No other flags identified yet because the audit halts at the import step. Reviewed by @MatoTeziTanka — The Agora. CPU smoke test (CT2038 proteus-engine, 2026-04-11): IMPORT_FAIL — syntax error at line 1: invalid non-printable character U+FEFF. Classification via |
Retraction — this IMPORT_FAIL was a UTF-8 BOM handling bug in my classifierSorry @SID-6921, this one's on me. Your CPU smoke test on CT2038 actually passed — the IMPORT_FAIL I reported above came from a separate classifier step, and it was a bug in the classifier, not in your code. What happened: My classifier does an The smoke runner's Your PR is not broken. Python accepts BOMs; my classifier's ast walk was buggy. I'm retracting the IMPORT_FAIL classification. I'll re-queue the compliance audit now that the BOM-handling bug is identified and post findings separately. Again — sorry for the noise. |
Follow-up fixes from review:
This keeps generated folders metadata-compatible and safer for PR-ready usage.