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 / native / omegallm / gpu / vector.om

49 lines · 1701 bytes Raw Blame History
1note SPDX-License-Identifier: AGPL-3.0-only
2note Seed vecadd.s2 instruction forms, handwritten Omega emission of the same512bytes.
3note Each quad is one128-bit instruction. References: Omega57f5f425 seed/sm121.
4global gbcode uchar 4096
5global gblen ulong 1
6fn gbword v uint to void
7for j ulong 4
8put gbcode get gblen 0 uchar and shr v mul j 8 255
9put gblen 0 add get gblen 0 1
10end
11end
12fn gbquad a uint b uint c uint d uint to void
13gbword a
14gbword b
15gbword c
16gbword d
17end
18fn gbvec to void
19put gblen 0 0
20note Stack constant, block ID, block size, thread ID and element count.
21gbquad 4278287234 57088 2048 1040896
22gbquad 620825 0 9472 926208
23gbquad 4278482860 27648 134219776 926208
24gbquad 31001 0 8448 926208
25gbquad 4278548396 29440 134219776 942592
26note Linear index and bounds predicate; inactive threads exit before any access.
27gbquad 151616548 4 260964864 2083328
28gbquad 151026700 5 200302704 3136000
29gbquad 2381 0 58720256 1042944
30note Input/output addresses and memory descriptor from the constant bank.
31gbquad 4278352770 57344 2560 926208
32gbquad 4278482860 27392 134220288 945664
33gbquad 4278483842 57856 2560 962560
34gbquad 4278614914 58368 2560 975360
35note Address formation and independent input loads, retaining scheduling waits.
36gbquad 151156773 4 126746626 2083840
37gbquad 33716609 4 203299072 3088896
38gbquad 151287845 4 126746628 5229568
39gbquad 67467649 4 203299072 991744
40gbquad 151418917 4 126746630 9429504
41note Unsigned32-bit addition, output store, exit and unreachable self-branch guard.
42gbquad 34173456 5 134209791 17811968
43gbquad 100694406 9 202381572 1040896
44gbquad 31053 0 58720256 1042944
45gbquad 16546119 4294967292 58982399 1032192
46for i ulong 11
47gbquad 31000 0 0 1032192
48end
49end