WIP: Modal nightly cron — stacked on Greene PR (do not merge)#498
Draft
eugenevinitsky wants to merge 1 commit into
Draft
WIP: Modal nightly cron — stacked on Greene PR (do not merge)#498eugenevinitsky wants to merge 1 commit into
eugenevinitsky wants to merge 1 commit into
Conversation
4 tasks
Adds a Modal app that runs the same nightly fan-out as the Greene
launchers, on Modal infrastructure with a built-in cron schedule.
- scripts/modal/Dockerfile — CUDA 12.8.1 / Ubuntu 24.04 / Python 3.12 /
uv / torch cu128. Multi-arch CUDA (sm_75 / sm_80 / sm_89 / sm_90) so
one image runs on T4 / A100 / L4/L40S / H100/H200 without rebuild.
- scripts/modal/modal_app.py — Modal app with a per-seed train() on
1x A100-80GB and a nightly() cron at 04:00 UTC that fans out to
6 parallel runs (3 seeds x {single, multi}). Routes to wandb
projects nightly-single / nightly-multi, group = today's UTC date.
- scripts/modal/README.md — modal token new -> modal secret create
wandb-emerge -> modal deploy workflow.
Smoke-validated end-to-end on A100-80GB:
wandb: https://wandb.ai/emerge_/nightly-modal/runs/n8a85v5z
(~200K SPS on single-agent, all 6 metrics pipelines confirmed.)
Depends on the Greene PR for the cluster_configs/*.yaml files that the
Modal app loads at runtime.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1e3b718 to
6e0d7ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WIP — runs the same nightly fan-out as the Greene launcher (sibling PR), on Modal with a built-in cron schedule.
Stacked on top of #497 — base is `ev/nightly_runs_greene` because `modal_app.py` reads the yamls added in that PR at runtime. Merge order: #497, then this.
Status
Smoke-validated end-to-end on A100-80GB:
Why WIP / do not merge
Test plan
🤖 Generated with Claude Code