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 / evidence / OMEGALLM / wsp-ctl-traces-20261107 / gate-om-drain-20261107 / oracle-seq3.wl
| 1 | Module[{j, s0, s1, cpu, busy, la, psi, mi, g, gk, u, uv, chk, res}, |
| 2 | j = ImportString["{\"battery_runtime_s\": 1625, \"core_busy_pct\": {\"c0\": 8.59, \"c1\": 100.0, \"c10\": 10.59, \"c11\": 27.47, \"c12\": 10.32, \"c13\": 13.2, \"c14\": 12.17, \"c15\": 10.91, \"c16\": 82.53, \"c17\": 9.88, \"c18\": 27.77, \"c19\": 100.0, \"c2\": 7.72, \"c3\": 8.1, \"c4\": 30.38, \"c5\": 8.27, \"c6\": 88.02, \"c7\": 6.29, \"c8\": 13.74, \"c9\": 100.0}, \"gpu_mem_util_pct\": 0.0, \"gpu_power_w\": 40.48, \"gpu_pstate\": \"P0\", \"gpu_sm_mhz\": 2496.0, \"gpu_temp_c\": 62.0, \"gpu_util_pct\": 49.0, \"input_voltage\": 121, \"loadavg\": [13.58, 12.67, 10.22], \"mem\": {\"MemAvailable_kb\": 81185388, \"MemTotal_kb\": 127598532, \"SwapFree_kb\": 0, \"SwapTotal_kb\": 0}, \"psi_cpu\": {\"full_avg10\": 0.0, \"full_avg300\": 0.0, \"full_avg60\": 0.0, \"full_total\": 0, \"some_avg10\": 13.14, \"some_avg300\": 7.88, \"some_avg60\": 12.78, \"some_total\": 69346231946}, \"psi_io\": {\"full_avg10\": 0.44, \"full_avg300\": 5.25, \"full_avg60\": 3.9, \"full_total\": 12782056913, \"some_avg10\": 0.47, \"some_avg300\": 5.9, \"some_avg60\": 4.44, \"some_total\": 13653157595}, \"psi_mem\": {\"full_avg10\": 0.0, \"full_avg300\": 0.06, \"full_avg60\": 0.02, \"full_total\": 1062094719, \"some_avg10\": 0.0, \"some_avg300\": 0.06, \"some_avg60\": 0.02, \"some_total\": 1119907365}, \"runnable\": \"7/4681\", \"sample_cost_us\": 87957, \"seq\": 3, \"thermal_c\": {\"tz0\": 76.4, \"tz1\": 67.9, \"tz2\": 71.7, \"tz3\": 64.5, \"tz4\": 76.4, \"tz5\": 68.8, \"tz6\": 69.2}, \"ts_unix\": 1794038074.047, \"ts_utc\": \"2026-11-07T07:54:34Z\", \"ups_load_pct\": 25, \"ups_realpower_nominal_w\": 1000, \"ups_status\": \"OL\"}", "RawJSON"]; |
| 3 | s0 = "cpu 44037373 194118968 69279524 1278122655 14812679 0 422814 0 0 301 |
| 4 | cpu0 1537622 5493538 3354306 67895680 1010296 0 20529 0 0 9 |
| 5 | cpu1 1390159 6964234 3108928 67463160 914203 0 57488 0 0 0 |
| 6 | cpu2 1320059 5736450 3236833 68557476 1097336 0 4427 0 0 0 |
| 7 | cpu3 1296693 6566249 3097804 68206245 861005 0 4112 0 0 51 |
| 8 | cpu4 1219463 6793425 3130789 68139636 742388 0 4062 0 0 9 |
| 9 | cpu5 4940769 7366784 3367017 63699665 722591 0 8813 0 0 16 |
| 10 | cpu6 3263266 12609512 3251383 60437520 583937 0 6186 0 0 12 |
| 11 | cpu7 3368359 10095867 3019454 63037136 609069 0 7155 0 0 53 |
| 12 | cpu8 3378056 11690943 3372772 61133641 554361 0 7248 0 0 20 |
| 13 | cpu9 3067345 12778633 3074025 60804283 446864 0 6299 0 0 0 |
| 14 | cpu10 1126252 14163838 5312821 58568280 875161 0 5133 0 0 25 |
| 15 | cpu11 1130996 14106194 5150245 58932251 774593 0 4754 0 0 38 |
| 16 | cpu12 1174587 11503739 3595222 62831457 959950 0 4084 0 0 30 |
| 17 | cpu13 1344269 11234046 3513349 62849299 664596 0 224585 0 0 0 |
| 18 | cpu14 1301196 11934298 3532359 62675720 641967 0 20457 0 0 0 |
| 19 | cpu15 2939638 9364164 3331899 63658952 712939 0 7530 0 0 10 |
| 20 | cpu16 2806936 8848644 3331215 64413906 732937 0 7523 0 0 0 |
| 21 | cpu17 2797375 8873372 3198076 64591786 696913 0 7474 0 0 17 |
| 22 | cpu18 2381460 9007800 3191570 64938343 655288 0 7433 0 0 3 |
| 23 | cpu19 2252864 8987229 3109448 65288211 556278 0 7515 0 0 0 |
| 24 | intr 13470919031 0 361139574 23973605 0 0 65783441 1304160 0 0 2 0 2258 3398398618 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 2570941 420521 41 0 0 6101 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 358 0 0 0 0 0 0 0 0 0 0 0 222382616 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 1 0 0 0 0 85827577 0 0 0 0 0 0 0 92473261 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 42603 63825399 65947722 58164264 34884117 33112523 30667979 26385486 71836826 73317537 32739691 32519224 28825211 27609533 25587536 20857640 5206 0 136047 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 182816 |
| 25 | ctxt 14664432210 |
| 26 | btime 1793232395 |
| 27 | processes 376821686 |
| 28 | procs_running 10 |
| 29 | procs_blocked 0 |
| 30 | softirq 3990859333 710960 326852019 36038 356111846 26822618 0 5255667 591680162 5588403 2677801620 |
| 31 | "; s1 = "cpu 44037906 194121244 69280077 1278129163 14812706 0 422820 0 0 301 |
| 32 | cpu0 1537648 5493538 3354322 67896126 1010297 0 20529 0 0 9 |
| 33 | cpu1 1390159 6964697 3108963 67463160 914203 0 57489 0 0 0 |
| 34 | cpu2 1320085 5736452 3236843 68557928 1097338 0 4427 0 0 0 |
| 35 | cpu3 1296724 6566249 3097813 68206697 861007 0 4112 0 0 51 |
| 36 | cpu4 1219492 6793540 3130796 68139981 742389 0 4062 0 0 9 |
| 37 | cpu5 4940801 7366785 3367025 63700120 722591 0 8813 0 0 16 |
| 38 | cpu6 3263269 12609947 3251386 60437580 583937 0 6186 0 0 12 |
| 39 | cpu7 3368380 10095867 3019464 63037598 609069 0 7155 0 0 53 |
| 40 | cpu8 3378118 11690943 3372778 61134067 554362 0 7248 0 0 20 |
| 41 | cpu9 3067345 12778851 3074307 60804283 446864 0 6299 0 0 0 |
| 42 | cpu10 1126283 14163838 5312842 58568719 875161 0 5133 0 0 25 |
| 43 | cpu11 1131034 14106229 5150308 58932609 774594 0 4754 0 0 38 |
| 44 | cpu12 1174622 11503739 3595237 62831898 959952 0 4085 0 0 30 |
| 45 | cpu13 1344320 11234047 3513358 62849717 664599 0 224588 0 0 0 |
| 46 | cpu14 1301240 11934298 3532375 62676150 641970 0 20457 0 0 0 |
| 47 | cpu15 2939679 9364164 3331912 63659391 712941 0 7530 0 0 10 |
| 48 | cpu16 2806946 8849043 3331217 64413990 732940 0 7523 0 0 0 |
| 49 | cpu17 2797405 8873375 3198092 64592229 696917 0 7474 0 0 17 |
| 50 | cpu18 2381482 9007903 3191583 64938700 655290 0 7433 0 0 3 |
| 51 | cpu19 2252864 8987729 3109448 65288211 556278 0 7515 0 0 0 |
| 52 | intr 13471031529 0 361139983 24010163 0 0 65783641 1304166 0 0 2 0 2258 3398466434 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 2570968 420521 41 0 0 6101 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 358 0 0 0 0 0 0 0 0 0 0 0 222385433 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 1 0 0 0 0 85829227 0 0 0 0 0 0 0 92475032 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 42603 63825437 65947904 58164487 34884287 33112758 30668044 26385486 71836924 73317652 32739721 32519233 28825211 27609560 25587587 20857640 5206 0 136047 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 182816 |
| 53 | ctxt 14664533486 |
| 54 | btime 1793232395 |
| 55 | processes 376822456 |
| 56 | procs_running 6 |
| 57 | procs_blocked 1 |
| 58 | softirq 3990895635 710962 326855219 36039 356119529 26822746 0 5255971 591684336 5588453 2677822380 |
| 59 | "; |
| 60 | cpu[s_] := Association@Cases[StringSplit[s, "\n"], l_ /; StringMatchQ[l, "cpu" ~~ DigitCharacter .. ~~ " " ~~ ___] :> (StringReplace[First[StringSplit[l]], "cpu" -> "c"] -> ToExpression /@ Take[Rest[StringSplit[l]], 8])]; |
| 61 | busy = Association@KeyValueMap[Function[{c, b}, c -> With[{a = cpu[s0][c]}, With[{dt = Total[b] - Total[a], di = b[[4]] + b[[5]] - a[[4]] - a[[5]]}, If[dt > 0, 100 (dt - di)/dt, Null]]]], cpu[s1]]; |
| 62 | la = StringSplit["13.58 12.67 10.22 7/4681 3711289 |
| 63 | "]; |
| 64 | psi[t_] := Association@Flatten@Map[Function[l, With[{w = StringSplit[l]}, (First[w] <> "_" <> First[#] -> ToExpression[Last[#]]) & /@ (StringSplit[#, "="] & /@ Rest[w])]], StringSplit[t, "\n"]]; |
| 65 | mi = Association@Cases[StringSplit["MemTotal: 127598532 kB |
| 66 | MemFree: 33572192 kB |
| 67 | MemAvailable: 81185388 kB |
| 68 | Buffers: 8950292 kB |
| 69 | Cached: 39462988 kB |
| 70 | SwapCached: 0 kB |
| 71 | Active: 21508380 kB |
| 72 | Inactive: 45820276 kB |
| 73 | Active(anon): 20611360 kB |
| 74 | Inactive(anon): 14068332 kB |
| 75 | Active(file): 897020 kB |
| 76 | Inactive(file): 31751944 kB |
| 77 | Unevictable: 31020 kB |
| 78 | Mlocked: 22912 kB |
| 79 | SwapTotal: 0 kB |
| 80 | SwapFree: 0 kB |
| 81 | Zswap: 0 kB |
| 82 | Zswapped: 0 kB |
| 83 | Dirty: 922796 kB |
| 84 | Writeback: 0 kB |
| 85 | AnonPages: 18920672 kB |
| 86 | Mapped: 1235452 kB |
| 87 | Shmem: 15762340 kB |
| 88 | KReclaimable: 21157412 kB |
| 89 | Slab: 24576808 kB |
| 90 | SReclaimable: 21157412 kB |
| 91 | SUnreclaim: 3419396 kB |
| 92 | KernelStack: 75136 kB |
| 93 | ShadowCallStack: 18872 kB |
| 94 | PageTables: 242792 kB |
| 95 | SecPageTables: 42396 kB |
| 96 | NFS_Unstable: 0 kB |
| 97 | Bounce: 0 kB |
| 98 | WritebackTmp: 0 kB |
| 99 | CommitLimit: 63799264 kB |
| 100 | Committed_AS: 183920708 kB |
| 101 | VmallocTotal: 135288315904 kB |
| 102 | VmallocUsed: 185480 kB |
| 103 | VmallocChunk: 0 kB |
| 104 | Percpu: 52800 kB |
| 105 | HardwareCorrupted: 0 kB |
| 106 | AnonHugePages: 1949696 kB |
| 107 | ShmemHugePages: 0 kB |
| 108 | ShmemPmdMapped: 0 kB |
| 109 | FileHugePages: 145408 kB |
| 110 | FilePmdMapped: 0 kB |
| 111 | CmaTotal: 0 kB |
| 112 | CmaFree: 96644 kB |
| 113 | Balloon: 0 kB |
| 114 | HugePages_Total: 0 |
| 115 | HugePages_Free: 0 |
| 116 | HugePages_Rsvd: 0 |
| 117 | HugePages_Surp: 0 |
| 118 | Hugepagesize: 2048 kB |
| 119 | Hugetlb: 0 kB |
| 120 | ", "\n"], l_ :> (StringTrim[First[StringSplit[l, ":"]]] <> "_kb" -> ToExpression[First[StringSplit[Last[StringSplit[l, ":"]]]]])]; |
| 121 | g = StringTrim /@ StringSplit[First[StringSplit["49, 0, 40.48, 62, 2496, P0 |
| 122 | ", "\n"]], ","]; |
| 123 | gk = {"gpu_util_pct", "gpu_mem_util_pct", "gpu_power_w", "gpu_temp_c", "gpu_sm_mhz", "gpu_pstate"}; |
| 124 | u = Association@Cases[StringSplit["battery.charge: 100 |
| 125 | battery.charge.low: 10 |
| 126 | battery.charge.warning: 20 |
| 127 | battery.mfr.date: CPS |
| 128 | battery.runtime: 1625 |
| 129 | battery.runtime.low: 300 |
| 130 | battery.type: PbAcid |
| 131 | battery.voltage: 27.2 |
| 132 | battery.voltage.nominal: 24 |
| 133 | device.mfr: CPS |
| 134 | device.model: CP1500PFCLCDa |
| 135 | device.serial: CXXRQ7011530 |
| 136 | device.type: ups |
| 137 | driver.debug: 0 |
| 138 | driver.flag.allow_killpower: 0 |
| 139 | driver.name: usbhid-ups |
| 140 | driver.parameter.pollfreq: 30 |
| 141 | driver.parameter.pollinterval: 2 |
| 142 | driver.parameter.port: auto |
| 143 | driver.parameter.synchronous: auto |
| 144 | driver.parameter.vendorid: 0764 |
| 145 | driver.state: quiet |
| 146 | driver.version: 2.8.1 |
| 147 | driver.version.data: CyberPower HID 0.8 |
| 148 | driver.version.internal: 0.52 |
| 149 | driver.version.usb: libusb-1.0.27 (API: 0x100010a) |
| 150 | input.voltage: 121.0 |
| 151 | input.voltage.nominal: 120 |
| 152 | output.voltage: 121.0 |
| 153 | ups.beeper.status: enabled |
| 154 | ups.delay.shutdown: 20 |
| 155 | ups.delay.start: 30 |
| 156 | ups.load: 25 |
| 157 | ups.mfr: CPS |
| 158 | ups.model: CP1500PFCLCDa |
| 159 | ups.productid: 0601 |
| 160 | ups.realpower.nominal: 1000 |
| 161 | ups.serial: CXXRQ7011530 |
| 162 | ups.status: OL |
| 163 | ups.test.result: No test initiated |
| 164 | ups.timer.shutdown: -60 |
| 165 | ups.timer.start: -60 |
| 166 | ups.vendorid: 0764 |
| 167 | ", "\n"], l_ /; StringContainsQ[l, ": "] :> (First[StringSplit[l, ": ", 2]] -> Last[StringSplit[l, ": ", 2]])]; |
| 168 | uv[key_] := ToExpression[u[key]]; |
| 169 | chk[name_, exp_, got_, tol_] := {name, exp, got, If[StringQ[exp] || exp === Null, exp === got, Abs[exp - got] <= tol]}; |
| 170 | res = Join[ |
| 171 | KeyValueMap[chk["core_busy_pct." <> #1, #2, j["core_busy_pct"][#1], 1/200] &, busy], |
| 172 | MapIndexed[chk["loadavg." <> ToString[First[#2] - 1], ToExpression[#1], j["loadavg"][[First[#2]]], 0] &, Take[la, 3]], |
| 173 | {chk["runnable", la[[4]], j["runnable"], 0]}, |
| 174 | Flatten[Table[With[{ps = psi[t[[2]]]}, KeyValueMap[chk[t[[1]] <> "." <> #1, #2, j[t[[1]]][#1], 0] &, ps]], {t, {{"psi_cpu", "some avg10=13.14 avg60=12.78 avg300=7.88 total=69346231946 |
| 175 | full avg10=0.00 avg60=0.00 avg300=0.00 total=0 |
| 176 | "}, {"psi_mem", "some avg10=0.00 avg60=0.02 avg300=0.06 total=1119907365 |
| 177 | full avg10=0.00 avg60=0.02 avg300=0.06 total=1062094719 |
| 178 | "}, {"psi_io", "some avg10=0.47 avg60=4.44 avg300=5.90 total=13653157595 |
| 179 | full avg10=0.44 avg60=3.90 avg300=5.25 total=12782056913 |
| 180 | "}}}], 1], |
| 181 | MapIndexed[chk["thermal_c.tz" <> ToString[First[#2] - 1], ToExpression[StringTrim[#1]]/1000, j["thermal_c"]["tz" <> ToString[First[#2] - 1]], 0] &, {"76400 |
| 182 | ", "67900 |
| 183 | ", "71700 |
| 184 | ", "64500 |
| 185 | ", "76400 |
| 186 | ", "68800 |
| 187 | ", "69200 |
| 188 | "}], |
| 189 | chk["mem." <> #, mi[#], j["mem"][#], 0] & /@ {"MemTotal_kb", "MemAvailable_kb", "SwapTotal_kb", "SwapFree_kb"}, |
| 190 | MapThread[chk[#1, If[StringMatchQ[#2, NumberString], ToExpression[#2], #2], j[#1], 0] &, {gk, g}], |
| 191 | {chk["ups_load_pct", uv["ups.load"], j["ups_load_pct"], 0], chk["ups_realpower_nominal_w", uv["ups.realpower.nominal"], j["ups_realpower_nominal_w"], 0], chk["ups_status", u["ups.status"], j["ups_status"], 0], chk["input_voltage", uv["input.voltage"], j["input_voltage"], 0], chk["battery_runtime_s", uv["battery.runtime"], j["battery_runtime_s"], 0]}, |
| 192 | {chk["ts_utc_vs_ts_unix", DateString[FromUnixTime[Floor[j["ts_unix"]], TimeZone -> 0], {"Year", "-", "Month", "-", "Day", "T", "Hour", ":", "Minute", ":", "Second", "Z"}], j["ts_utc"], 0]}]; |
| 193 | <|"seq" -> j["seq"], "checked" -> Length[res], "failed" -> Select[res, ! Last[#] &], "rows" -> ({#[[1]], If[NumericQ[#[[2]]] && ! IntegerQ[#[[2]]], N[#[[2]], 8], #[[2]]], #[[3]], #[[4]]} & /@ res)|>] |