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
aien-train / tests / omegallm / gpu-dump.om
| 1 | note gpu-dump.om: emit the gk and gr kernels for the small parity shape and write the whole 64-slot |
| 2 | note code image gkcode (16 KiB per slot, 1 MiB) to stdout and a 128-byte table to stderr: bytes 0..63 |
| 3 | note the declared GPR counts gkgpr, bytes 64..127 the QMD TARGET_SM_CONFIG field of gksmw (hw value, |
| 4 | note 0 for an id with no kernel), one byte per kernel id. No GPU is touched. tests/omegallm/gpu-disasm.sh |
| 5 | note appends this unit to the gb10 sources (gg.om's main renamed ggmain), feeds the slots to nvdisasm |
| 6 | note and checks each slot's gkgpr. |
| 7 | global gdgpr uchar 128 |
| 8 | fn main to int |
| 9 | grset 256 32 64 2 128 2 |
| 10 | if not grall |
| 11 | exit 3 |
| 12 | end |
| 13 | if not gkall |
| 14 | exit 2 |
| 15 | end |
| 16 | w = write 1 gkcode 0 1048576 |
| 17 | for i ulong 64 |
| 18 | put gdgpr i uchar get gkgpr i |
| 19 | if ne get gkthr i 0 |
| 20 | put gdgpr add i 64 uchar and shr gksmw uint i 23 63 |
| 21 | end |
| 22 | end |
| 23 | w = write 2 gdgpr 0 128 |
| 24 | exit 0 |
| 25 | end |