Let the data stage run without a GPU, and split the Colab notebook by intent
Hussein+1: Claude Opus 5 (1M context)
f8a54ab
Benchmarking needs the held-out split but not an accelerator, and `train_gpu.sh`
probed CUDA, sized batches against VRAM, and refused to continue long before it
reached the data stage. `--prepare-only` skips every GPU probe and stops once
the manifests exist, printing their record counts. Verified on a machine with no
CUDA at all: it succeeds with the flag and still refuses without it.
That unlocks the useful thing to do with a second machine while a first one is
training: score the stock checkpoints. The Colab notebook now separates setup
from two independent sections -- benchmark, which duplicates no other run, and
train, which does and says so. A closing cell puts the fine-tuned adapter in the
same table as the baselines, on the same speakers and the same drawn sample,
which is the comparison the paper had no fine-tune to make.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uis9uRynosX69gefzFQeNN
Add a Colab path to the same artifact
Hussein+1: Claude Opus 5 (1M context)
5cd2d33
Kaggle allows 30 GPU hours a week and decides on its own which GPU a run gets;
this project has already lost one run to a P100 the image's PyTorch has no
kernels for. A second provider means a spent allowance or an unlucky allocation
stops a run, not the work.
The notebook checks the runtime against `torch.cuda.get_arch_list()` before
downloading anything, for the same reason preflight does: an hour spent
preparing 40k files should not end at the first optimizer step. It refuses a CPU
runtime outright.
Training writes into Drive rather than the container. Colab reclaims the disk
when it drops an idle session, and `--resume auto` then costs the time since the
last checkpoint instead of the whole run.
No credentials anywhere -- both repositories are public, which the Kaggle
notebook already relies on.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uis9uRynosX69gefzFQeNN