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-20261107 / oracle-seq23.wl
| 1 | Module[{j, s0, s1, cpu, busy, la, psi, mi, g, gk, u, uv, chk, res}, |
| 2 | j = ImportString["{\"battery_runtime_s\": 2275, \"core_busy_pct\": {\"c0\": 100.0, \"c1\": 21.94, \"c10\": 10.31, \"c11\": 38.87, \"c12\": 11.87, \"c13\": 13.32, \"c14\": 15.68, \"c15\": 9.66, \"c16\": 14.03, \"c17\": 17.74, \"c18\": 100.0, \"c19\": 100.0, \"c2\": 10.37, \"c3\": 10.48, \"c4\": 31.59, \"c5\": 99.6, \"c6\": 83.83, \"c7\": 6.68, \"c8\": 7.69, \"c9\": 6.85}, \"gpu_mem_util_pct\": 0.0, \"gpu_power_w\": 17.93, \"gpu_pstate\": \"P0\", \"gpu_sm_mhz\": 1007.0, \"gpu_temp_c\": 59.0, \"gpu_util_pct\": 38.0, \"input_voltage\": 122, \"loadavg\": [11.01, 8.97, 8.1], \"mem\": {\"MemAvailable_kb\": 73108508, \"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\": 15.85, \"some_avg300\": 4.23, \"some_avg60\": 11.02, \"some_total\": 69303242816}, \"psi_io\": {\"full_avg10\": 0.26, \"full_avg300\": 1.72, \"full_avg60\": 1.36, \"full_total\": 12753291591, \"some_avg10\": 0.39, \"some_avg300\": 1.98, \"some_avg60\": 1.81, \"some_total\": 13621011703}, \"psi_mem\": {\"full_avg10\": 0.0, \"full_avg300\": 0.0, \"full_avg60\": 0.0, \"full_total\": 1060561871, \"some_avg10\": 0.0, \"some_avg300\": 0.0, \"some_avg60\": 0.0, \"some_total\": 1118326917}, \"runnable\": \"9/4559\", \"sample_cost_us\": 424823, \"seq\": 23, \"thermal_c\": {\"tz0\": 74.9, \"tz1\": 64.7, \"tz2\": 69.4, \"tz3\": 63.0, \"tz4\": 74.9, \"tz5\": 62.3, \"tz6\": 68.8}, \"ts_unix\": 1794037569.548, \"ts_utc\": \"2026-11-07T07:46:09Z\", \"ups_load_pct\": 22, \"ups_realpower_nominal_w\": 1000, \"ups_status\": \"OL\"}", "RawJSON"]; |
| 3 | s0 = "cpu 43958919 193847232 69189504 1277638760 14747793 0 421562 0 0 301 |
| 4 | cpu0 1533568 5481356 3350602 67871330 1005441 0 20512 0 0 9 |
| 5 | cpu1 1386280 6933800 3105832 67452095 913231 0 57336 0 0 0 |
| 6 | cpu2 1315253 5733887 3233153 68525556 1091455 0 4413 0 0 0 |
| 7 | cpu3 1291860 6566087 3094636 68171040 855234 0 4099 0 0 51 |
| 8 | cpu4 1216771 6781991 3128722 68109624 739261 0 4055 0 0 9 |
| 9 | cpu5 4937214 7358735 3356169 63676921 718097 0 8792 0 0 16 |
| 10 | cpu6 3262768 12564232 3250804 60433892 583595 0 6176 0 0 12 |
| 11 | cpu7 3363105 10095768 3016159 63001341 604008 0 7115 0 0 53 |
| 12 | cpu8 3373501 11679646 3364996 61110227 551533 0 7226 0 0 20 |
| 13 | cpu9 3065088 12764474 3062650 60784573 444499 0 6280 0 0 0 |
| 14 | cpu10 1121734 14163518 5308398 58533378 870543 0 5120 0 0 25 |
| 15 | cpu11 1126991 14103850 5143036 58900837 770354 0 4743 0 0 38 |
| 16 | cpu12 1169832 11503360 3590894 62796657 955122 0 4068 0 0 30 |
| 17 | cpu13 1337724 11233580 3509454 62816010 660603 0 223967 0 0 0 |
| 18 | cpu14 1294370 11934045 3528611 62640732 638767 0 20382 0 0 0 |
| 19 | cpu15 2931405 9364031 3327901 63624965 709588 0 7462 0 0 10 |
| 20 | cpu16 2803418 8831435 3324790 64393651 730586 0 7451 0 0 0 |
| 21 | cpu17 2794199 8855631 3192115 64571666 694532 0 7417 0 0 17 |
| 22 | cpu18 2380971 8960861 3191231 64936080 655068 0 7425 0 0 3 |
| 23 | cpu19 2252858 8936937 3109344 65288176 556267 0 7515 0 0 0 |
| 24 | intr 13451885662 0 360900179 18225545 0 0 65777988 1303233 0 0 2 0 2258 3387761421 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 2569181 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 222231963 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 85649060 0 0 0 0 0 0 0 92289358 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 42574 63597554 65708869 57963587 34799883 33032546 30656843 26385144 71668115 73061624 32637793 32366610 28814292 27434285 25495633 20770541 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 182710 |
| 25 | ctxt 14642792724 |
| 26 | btime 1793232395 |
| 27 | processes 376528161 |
| 28 | procs_running 10 |
| 29 | procs_blocked 0 |
| 30 | softirq 3985812411 710713 326443272 35884 355379356 26705660 0 5239210 591084121 5583342 2674630853 |
| 31 | "; s1 = "cpu 43959360 193849694 69190067 1277644832 14747809 0 421573 0 0 301 |
| 32 | cpu0 1533568 5481813 3350644 67871330 1005441 0 20512 0 0 9 |
| 33 | cpu1 1386301 6933800 3105876 67452343 913232 0 57341 0 0 0 |
| 34 | cpu2 1315288 5733887 3233169 68525997 1091455 0 4413 0 0 0 |
| 35 | cpu3 1291898 6566087 3094650 68171482 855236 0 4099 0 0 51 |
| 36 | cpu4 1216780 6782134 3128727 68109963 739262 0 4055 0 0 9 |
| 37 | cpu5 4937214 7359118 3356285 63676921 718099 0 8792 0 0 16 |
| 38 | cpu6 3262769 12564649 3250806 60433973 583595 0 6176 0 0 12 |
| 39 | cpu7 3363131 10095768 3016166 63001798 604012 0 7115 0 0 53 |
| 40 | cpu8 3373521 11679646 3365014 61110682 551534 0 7226 0 0 20 |
| 41 | cpu9 3065106 12764474 3062666 60785034 444500 0 6280 0 0 0 |
| 42 | cpu10 1121764 14163518 5308418 58533813 870543 0 5120 0 0 25 |
| 43 | cpu11 1127017 14103907 5143145 58901138 770355 0 4743 0 0 38 |
| 44 | cpu12 1169867 11503360 3590918 62797095 955122 0 4068 0 0 30 |
| 45 | cpu13 1337763 11233580 3509472 62816407 660603 0 223971 0 0 0 |
| 46 | cpu14 1294412 11934045 3528643 62641129 638768 0 20382 0 0 0 |
| 47 | cpu15 2931446 9364031 3327908 63625413 709589 0 7462 0 0 10 |
| 48 | cpu16 2803456 8831439 3324818 64394079 730587 0 7451 0 0 0 |
| 49 | cpu17 2794221 8855633 3192157 64571972 694532 0 7417 0 0 17 |
| 50 | cpu18 2380971 8961361 3191231 64936080 655068 0 7425 0 0 3 |
| 51 | cpu19 2252858 8937437 3109344 65288176 556267 0 7515 0 0 0 |
| 52 | intr 13452011482 0 360900794 18259077 0 0 65778082 1303241 0 0 2 0 2258 3387847723 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 2569223 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 222233591 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 85650410 0 0 0 0 0 0 0 92290295 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 42574 63597568 65708873 57963597 34799893 33032547 30656843 26385144 71668538 73061726 32637794 32366722 28814292 27434489 25495913 20770692 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 182710 |
| 53 | ctxt 14642894579 |
| 54 | btime 1793232395 |
| 55 | processes 376529589 |
| 56 | procs_running 11 |
| 57 | procs_blocked 0 |
| 58 | softirq 3985833498 710715 326446230 35884 355383790 26705661 0 5239397 591087157 5583392 2674641272 |
| 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["11.01 8.97 8.10 9/4559 3418309 |
| 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: 30967688 kB |
| 67 | MemAvailable: 73108508 kB |
| 68 | Buffers: 7644392 kB |
| 69 | Cached: 35479260 kB |
| 70 | SwapCached: 0 kB |
| 71 | Active: 23567932 kB |
| 72 | Inactive: 38805356 kB |
| 73 | Active(anon): 20466140 kB |
| 74 | Inactive(anon): 14547572 kB |
| 75 | Active(file): 3101792 kB |
| 76 | Inactive(file): 24257784 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: 454932 kB |
| 84 | Writeback: 0 kB |
| 85 | AnonPages: 19281260 kB |
| 86 | Mapped: 8912608 kB |
| 87 | Shmem: 15762320 kB |
| 88 | KReclaimable: 20974868 kB |
| 89 | Slab: 24411892 kB |
| 90 | SReclaimable: 20974868 kB |
| 91 | SUnreclaim: 3437024 kB |
| 92 | KernelStack: 73424 kB |
| 93 | ShadowCallStack: 18404 kB |
| 94 | PageTables: 254764 kB |
| 95 | SecPageTables: 56976 kB |
| 96 | NFS_Unstable: 0 kB |
| 97 | Bounce: 0 kB |
| 98 | WritebackTmp: 0 kB |
| 99 | CommitLimit: 63799264 kB |
| 100 | Committed_AS: 183726504 kB |
| 101 | VmallocTotal: 135288315904 kB |
| 102 | VmallocUsed: 275740 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: 98304 kB |
| 110 | FilePmdMapped: 0 kB |
| 111 | CmaTotal: 0 kB |
| 112 | CmaFree: 77404 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["38, 0, 17.93, 59, 1007, 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: 2275 |
| 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: 122.0 |
| 151 | input.voltage.nominal: 120 |
| 152 | output.voltage: 122.0 |
| 153 | ups.beeper.status: enabled |
| 154 | ups.delay.shutdown: 20 |
| 155 | ups.delay.start: 30 |
| 156 | ups.load: 22 |
| 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=15.85 avg60=11.02 avg300=4.23 total=69303242816 |
| 175 | full avg10=0.00 avg60=0.00 avg300=0.00 total=0 |
| 176 | "}, {"psi_mem", "some avg10=0.00 avg60=0.00 avg300=0.00 total=1118326917 |
| 177 | full avg10=0.00 avg60=0.00 avg300=0.00 total=1060561871 |
| 178 | "}, {"psi_io", "some avg10=0.39 avg60=1.81 avg300=1.98 total=13621011703 |
| 179 | full avg10=0.26 avg60=1.36 avg300=1.72 total=12753291591 |
| 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] &, {"74900 |
| 182 | ", "64700 |
| 183 | ", "69400 |
| 184 | ", "63000 |
| 185 | ", "74900 |
| 186 | ", "62300 |
| 187 | ", "68800 |
| 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)|>] |