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-k8 / a3 / srcdiff-p-to-q.txt

31 lines · 1153 bytes Raw Blame History
16361a6362,6383
2> note QMD word 36 (QMDV05_00 bits 1152-1180): SHARED_MEMORY_SIZE_SHIFTED7, then the MIN (32 KiB, hw 9),
3> note MAX (100 KiB, hw 26) and TARGET SM shared-memory configs, hw value = KiB / 4 + 1 from the GB10
4> note carveouts 0 8 16 32 64 100. TARGET is the smallest carveout that holds the kernel's shared memory
5> note times its register-limited blocks per SM, 65536 / (gkgpr * gkthr). Mesa NAK qmd.rs
6> note gv100_get_hw_smem_sizes sizes TARGET the same way from warp-limited workgroups; the register limit is
7> note the tighter bound here. A fixed 32 KiB TARGET under-sized the 32x32 GEMM (9 blocks * 4608 B) and the
8> note pipelined 64x64 GEMM (6 * 8704 B) (evidence/OMEGALLM/gpu-k8). Only ids with gkthr set may call this.
9> fn gksmw id uint to uint
10> sm = div add get gksm id 127 128
11> if lt sm 8
12> sm = 8
13> end
14> need = mul mul div 65536 mul get gkgpr id get gkthr id sm 128
15> tg = uint 9
16> if gt need 32768
17> tg = 17
18> end
19> if gt need 65536
20> tg = 26
21> end
22> ret or or 3426304 shl tg 23 sm
23> end
246370,6374c6392
25< sm = div add get gksm id 127 128
26< if lt sm 8
27< sm = 8
28< end
29< put gbq1 36 or 78923776 sm
30---
31> put gbq1 36 gksmw id