You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consolidate checkpoints before eval instead of loading DCP directly #379
Evaluating a checkpoint straight from its training-run model_and_optim/ DCP directory is latency-bound and fragile. Measured on molmo2-stage1-4b-lossw-20260828/step32000:
The directory is 49GB in 256 .distcp shards (model + Adam state, sharded by the training world size); the eval worker wants only the ~16GB of weights, scattered across all 256 files in training-rank layout.
A single eval process reassembles ~800 tensors through the 11MB pickled metadata index via thousands of small scattered range-reads — ~3.5 min uncontended where a sequential 16GB weka read would take ~1–2 min.
With ~20 jobs launched against the same shards, contention stretched loads past the 900s worker-init timeout and killed every worker (2026-08 sweep). One later job hung >60 min mid-load.
The same read path intermittently returned the wrong tensor for the untied 8B LM head (~3 of 4 Beaker loads), producing chance-level scores with no error — now caught by the load guard from Fail loudly on two silent multimodal eval faults #337, but the failure class lives in this access pattern.
A per-launch OLMO_EVAL_PROVIDER_INIT_TIMEOUT override was the interim workaround; it was removed from #316 in favor of fixing the root cause here.
Proposal
The provider already supports the consolidated olmo_core_unsharded format (olmo_core_config.json + model.safetensors): one sequential read, no optimizer states, no metadata reassembly, contention-tolerant.
Document consolidate-before-eval as the recommended workflow for any checkpoint evaluated more than once (README multimodal section).
Optionally: an automatic consolidate-and-cache step in the provider — on first DCP load, write the consolidated safetensors next to the checkpoint (or to a cache dir) and load from it thereafter, so the slow path is paid at most once per checkpoint.
Until then, direct-from-training-run DCP evals under fan-out remain subject to the fixed 900s init ceiling.
Context: #316 (provider), #337 (load guard), the 2026-08/09 eval sweeps where all of the above was observed.
Activity