interplane.Get Omega
Read in your language

aien-train

AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.

Brought by drakestapleton

branch main Branches Tags History

aien-train / evidence / OMEGALLM / gpu-k1 / README.md

70 lines · 4413 bytes Raw Blame History Source

GB10 kernels k1: one-warp softmax, split-K weight gradients, spin wait, gprof (aien-train#52)

Rung 6 (../gpu-r6/) trained at 0.3771 s/step with every launch synchronous. Its per-kernel picture came from the launch counters of gk.om only, so this change first adds gprof (one `GP id gx gy gz m n k wait_ns` line per launch of the last profiled step, then 64 bare launches) and then attacks what it showed:

A launch-batching variant (one wait per group of launches) was tried in three earlier windows of this session and dropped: it never passed gcmp2, and the most it could save on the measured wait profile was 0.69% of the step. This tree has no batching.

Status: EXERCISED on one GB10, window 20261102T132349Z-43ab46 (win-c1-chk1.txt), opened --gb10 shared --quiet none. spark-window printed "quiet machine", but the quiet lock was not taken: the rung-6 P5 CPU eval held core 7 and the load average was 4.03 at open and 5.08 at close (open.json, close.json), so the timings are non-quiet. Not QUALIFIED.

Setup

Results

prediction (prereg.txt)receiptresult
C gcmp2 small, 3 steps, rc 0gc2-small-s3-C.txt GCMP2 PASS rc=0PASS
C gcmp2 max, 7 steps, rc 0gc2-max-s7-C.txt GCMP2 PASS rc=0PASS
C gacmp max rc 0ga-max-C.txt GACMP PASS rc=0PASS
mutant s FAIL rc 47 at small and maxgc2-small-s3-CS.txt, gc2-max-s7-CS.txt GCMP2 FAIL rc=47PASS (caught)
mutant p FAIL rc 47 at max; small reported onlygc2-max-s7-CP.txt rc=47; gc2-small-s3-CP.txt also rc=47PASS (caught at both)
C geval of rung 5 ck9000 = E 9000 2243 1445466 539226ge-max-9000-C.txtPASS (identical)
C geval of rung 6 ck30000 = E 30000 2243 1338156 499194ge-max-30000-C.txtPASS (identical)
gprof C, report onlyprof-C.txt rc=0, 383 GP linesreported
t200 A and C both rc 0 before any speed claimt200-A.txt, t200-C.txt rc=0PASS

Speed (non-quiet)

t200 runs 200 gtrainf steps (9000→9200) from rung 6's ck9000, including process start and the checkpoint load and save.

binarywallGPU wait (GT field 9)launcheswait per launch
A, softmax only56.862 s52.498 s574000.9146 ms
C, this tree48.108 s44.271 s638000.6939 ms

C is 1.1820× faster than A in wall time and 1.1858× in GPU wait (WolframLanguageEvaluator: 56.862/48.108, 52.497924775/44.271395857); the wait is 92.02% of C's wall. Split-K adds 32 launches per step (287 → 319) and still lowers the total wait. The losses differ (A T 9200 1508278, C T 9200

  1. because split-K sums the weight gradients in a different order; both are within gcmp2's tolerances against the CPU model.

prof-C.txt attributes 146.07 ms of the profiled step's GPU wait to the GEMMs (ids 0-7) and 86.79 ms to the row kernels (ids 9-24), 232.85 ms in all. ../gpu-k2/ retiles the GEMMs.