Skip to content

Research log

Collection: our own volume got connections to opendev dropped

Building the train and dev windows stalled twice against review.opendev.org. DNS was healthy throughout (16 timed lookups, none failed). Failed requests completed the lookup and never completed the TCP handshake, including with the address pinned. After hours of unpaced building, at about 20 requests a second, a quarter to a third of new connections were dropped. After 20 minutes of sending nothing, 0 of 30 were. Qt's server showed no such pattern.

The seal right-censors the collected windows: dev loses about a fifth

Snapshots select merged changes by last update (Gerrit after:/before:), windows assign them by creation, and the seal refuses every month from 2025-11 on. So a change created in a collected window whose last update falls on or after 2025-11-01 is in no snapshot. The loss is concentrated in the changes reviewed longest, near the boundary.

PILOT RERUN: the number to quote

Job 143893, same registered model and budget, with every confound the review found removed: deduplicated first (174 of 201 kept), prompt through render_chat for training and both arms, every training example seen exactly twice, LoRA init seeded before attachment. Change-grouped split: 88 changes to 70 train / 18 held out, 147 / 27 examples, 0 of 27 held-out examples repeating a training pair.

transformers 5 removed warmup_ratio

TrainingArguments keeps only warmup_steps. The declared budget keeps the ratio, because it is scale-invariant and pinning steps would mean a change in corpus size silently changed the warmup fraction on a pre-registered parameter. training.warmup_steps derives the step count at construction.

7B throughput measured on a GH200

load 27.0s
weights 15.23 GB (peak 15.28 on a 102 GB card)
warmup, Triton JIT 7.6s, once per process
steady throughput 38-43 tok/s at batch of one

The first probe reported 1.0 tok/s and that was an artefact: it generated exactly once, so the entire Triton JIT compilation landed inside the only timed call. Separating warmup from steady state moved the number by a factor of forty. Quoting the first figure would have over-sized every allocation by the same factor.

Grid sizing, at 64 output tokens per example, 14 evaluations, 6 training runs at roughly three times inference cost for two epochs:

test window evaluations trainings total
250 1.8h 4.3h 6.0h
500 3.4h 8.5h 11.9h
1,000 6.7h 16.9h 23.6h
2,000 13.2h 33.7h 47.0h

The current job_for_grid default of 12 hours therefore covers a test window of roughly 500, which is in range for the measured yield of ~733 examples per organization-month. It is not comfortable, and a longer window needs either a longer wall clock or batching.

Batching is the obvious lever and is not yet used. Peak memory was 15.28 GB on a 102 GB card, so about six copies of the model would fit; batch-of-one is simply what the benchmark measured. A batched evaluation loop should cut the evaluation half substantially. Worth doing before the confirmatory run, not before the pilot.