File size: 3,908 Bytes
7515eb2 ff1ca3b 7515eb2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | # Parallel LLaDA Base fine-tuning
## Additional completion allowance
After the initial parallel run, the user authorized **USD 2 more in total** to
finish and upload the saved Base checkpoints. The additional allowance is USD 1
for 20% and USD 1 for 30%, raising their individual lifetime limits to USD 6;
the completed 40% run retains its USD 5 limit. The combined Base ceiling is now
USD 17. All earlier charges, upload reservations, and recovery state remain.
The 20% run resumes at step 1938 and the 30% run at step 1972, out of 2048.
`python -m modal_pruning.resume_base_finish --execute` records this grant once
and resumes detached controllers; rerunning cannot repeat the grant or launch.
The sections below describe the original USD 15 launch.
The user authorized simultaneous 20%, 30%, and 40% SliceGPT Base fine-tunes
with a maximum of **USD 5 per model**, including training, continuation calls,
prior model-specific pilot work, and HF upload. The combined Base ceiling is
USD 15. Budgets are separate; an unused balance from one model cannot increase
another model's USD 5 limit.
Each run reserves USD 0.15 for CPU preparation/controller/finalization overhead.
The remaining USD 4.85 covers conservatively accounted GPU calls and a held
CPU/egress upload allowance. GPU reservations match hard function timeouts
(1800/1200/900/600/450 seconds) plus a 120-second hard startup timeout and a
30-second margin, priced with the same 15% rate margin. A failed GPU call keeps
its full reservation. A call cannot start unless its worst-case reservation and
eventual upload both fit. At the cap, the durable checkpoint remains resumable.
The shared full WikiText-2 → C4 schedule remains 2048 optimizer updates per
model. Each stage uses 4096 examples with a 2048-token limit and effective batch
four. Source revisions, optimizer, RNG, and training cursors are preserved.
Tokens are GPU resident; physical batch size is measured automatically. Each
active model uses one L40S. No evaluation or Dream job is dispatched.
At launch, 30% retained USD 0.3905156158434104 of earlier pilot charges and
its step-60 recovery cursor. The 40% run retained all completed charges and its
active legacy GPU chunk. No GPU was cancelled. The legacy scheduler was asked
to finish its current chunk, save normally, and return at its existing campaign
expiry check. Its new controller waits for that return before resuming, so two
workers cannot train the same model. The 20% and 30% runs begin independently
while that GPU chunk continues.
Implementation: `modal_pruning/modal_base_parallel.py`.
Detached app: https://modal.com/apps/mlsys-conf/main/deployed/llada-base-parallel-finetuning
Launch/audit records: `modal_artifacts/run-9fc515e82f313fab/base_parallel_launch.json`.
Durable per-model budget keys: `run-9fc515e82f313fab/base-parallel-20261020/{20,30,40}`
in the existing Modal budget dictionary.
The coordinator saves `pipeline/base_parallel_status.json` on the checkpoint
volume, merges charges without double-counting prior work, and runs the HF
collection/card finalizer only after the parallel model controllers are done.
Each verified complete upload contains merged weights and intermediate/final
adapters. Temporary payload cleanup is limited to the uploaded model's own
training folder and happens after the upload marker is committed.
Expected public repository names:
- `vanshnawander/LLaDA-8B-Base-SliceGPT-20-LoRA`
- `vanshnawander/LLaDA-8B-Base-SliceGPT-30-LoRA`
- `vanshnawander/LLaDA-8B-Base-SliceGPT-40-LoRA`
The 20% completion estimate is close to its USD 5 ceiling; completion of its
full schedule within that amount is a forecast, not a guarantee. All three
retain their full schedules and the per-model ceiling takes precedence.
Budget isolation, failure charges, adaptive timeout selection, and prevention
of duplicate work during the checkpoint handoff passed 18 focused tests.
|