Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/evidence/WIDEPF-460-CHIP-7e041401/green-7e041401/serving-alloc-omega-main.log # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / evidence / WIDEPF-460-CHIP-7e041401 / green-7e041401 / serving-alloc-omega-main.log` 65 lines ยท 8001 bytes Raw Blame History 1 gcc -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -pthread -ffp-contract=off -Isrc -Itests -I/home/drakestapleton/workspace/pkv514-pins/physics/m16 -I/home/drakestapleton/workspace/pkv514-pins/physics/nvrm -I/home/drakestapleton/workspace/pkv514-pins/physics/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/home/drakestapleton/workspace/pkv514-pins/physics/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/home/drakestapleton/workspace/pkv514-pins/physics/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/home/drakestapleton/workspace/pkv514-pins/physics/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include \ 2 -o build/gpu_serving_alloc_count_test tests/gpu_serving_alloc_count_test.c tests/fake_m16_native.c src/omega_gpu_session.c src/omega_gpu_platform.c src/omega_gpu_platform_linux.c src/omega_gpu_fmt.c src/omega_gpu_matmul_api.c src/omega_gpu_attention_api.c src/omega_gpu_serving.c src/omega_gpu_wait.c src/omega_blackwell_codegen.c src/omega_blackwell_encoder.c src/omega_blackwell_qmd.c src/omega_blackwell_matmul.c src/sha256.c -lm 3 ./build/gpu_serving_alloc_count_test plain 4 MEASURE phase LOAD (session+6 weights) allocs 10 frees 0 alloc_bytes `924852224` matmul_calls 0 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 0 (allocs 0) 5 MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1 6 MEASURE free sizes (0 distinct): 7 MEASURE phase WARMUP decode ctx=1 allocs 17 frees 4 alloc_bytes `11214848` matmul_calls 253 (code-cache misses 6, of which on a shape seen before 0, other scratch growth 6) attention_calls 36 (allocs 5) 8 MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1 9 MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1 10 MEASURE phase PREFILL-A 100 tokens allocs 107 frees 105 alloc_bytes `45051904` matmul_calls 253 (code-cache misses 5, of which on a shape seen before 0, other scratch growth 3) attention_calls 3600 (allocs 99) 11 MEASURE alloc sizes (102 distinct): 573440x2 4096x5 16384x1 24576x1 32768x1 40960x1 ... last 2179072x1 12 MEASURE free sizes (101 distinct): 311296x2 8192x1 16384x1 24576x1 32768x1 40960x1 ... last 917504x1 13 MEASURE phase DECODE-A 64 tokens allocs 70 frees 70 alloc_bytes `69492736` matmul_calls 16192 (code-cache misses 6, of which on a shape seen before 6, other scratch growth 0) attention_calls 2304 (allocs 64) 14 MEASURE alloc sizes (65 distinct): 4096x6 827392x1 835584x1 843776x1 851968x1 860160x1 ... last 1343488x1 15 MEASURE free sizes (65 distinct): 4096x6 819200x1 827392x1 835584x1 843776x1 851968x1 ... last 1335296x1 16 MEASURE phase PREFILL-B 200 tokens allocs 212 frees 212 alloc_bytes `435912704` matmul_calls 506 (code-cache misses 11, of which on a shape seen before 1, other scratch growth 1) attention_calls 7200 (allocs 200) 17 MEASURE alloc sizes (202 distinct): 8192x5 1351680x1 1359872x1 1368064x1 1376256x1 1384448x1 ... last 2981888x1 18 MEASURE free sizes (202 distinct): 4096x8 1343488x1 1351680x1 1359872x1 1368064x1 1376256x1 ... last 8192x3 19 MEASURE phase DECODE-B 64 tokens allocs 69 frees 69 alloc_bytes `207900672` matmul_calls 16192 (code-cache misses 5, of which on a shape seen before 5, other scratch growth 0) attention_calls 2304 (allocs 64) 20 MEASURE alloc sizes (65 distinct): 4096x5 2990080x1 2998272x1 3006464x1 3014656x1 3022848x1 ... last 3506176x1 21 MEASURE free sizes (66 distinct): 8192x2 2981888x1 4096x3 2990080x1 2998272x1 3006464x1 ... last 3497984x1 22 MEASURE AFTER WARM-UP: 458 driver allocations, 456 driver frees over 428 tokens of context (final ctx 428) 23 MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 8) 24 MEASURE live driver buffers at end: 25 ; session opens: 1 ; launches reaching the fake: 48840 25 MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 33396, attention ok 0, attention UNWRITTEN 15444, other 0 26 MEASURE leaked at close: 0 27 gpu_serving_alloc_count_test plain: PASS (0 failed checks) 28 ./build/gpu_serving_alloc_count_test reserve 29 MEASURE phase LOAD (session+6 weights) allocs 10 frees 0 alloc_bytes `924852224` matmul_calls 0 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 0 (allocs 0) 30 MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1 31 MEASURE free sizes (0 distinct): 32 MEASURE phase WARMUP decode ctx=1 allocs 17 frees 4 alloc_bytes `11214848` matmul_calls 253 (code-cache misses 6, of which on a shape seen before 0, other scratch growth 6) attention_calls 36 (allocs 5) 33 MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1 34 MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1 35 MEASURE phase WARMUP row classes allocs 21 frees 0 alloc_bytes 106496 matmul_calls 1012 (code-cache misses 21, of which on a shape seen before 6, other scratch growth 0) attention_calls 10836 (allocs 0) 36 MEASURE phase PREFILL-A 100 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 253 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 3600 (allocs 0) 37 MEASURE phase DECODE-A 64 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 16192 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 2304 (allocs 0) 38 MEASURE phase PREFILL-B 200 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 506 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 7200 (allocs 0) 39 MEASURE phase DECODE-B 64 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 16192 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 2304 (allocs 0) 40 MEASURE AFTER WARM-UP: 0 driver allocations, 0 driver frees over 428 tokens of context (final ctx 428) 41 MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 32) 42 MEASURE live driver buffers at end: 38 ; session opens: 1 ; launches reaching the fake: 60688 43 MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 34408, attention ok 0, attention UNWRITTEN 26280, other 0 44 MEASURE leaked at close: 0 45 gpu_serving_alloc_count_test reserve: PASS (0 failed checks) 46 ./build/gpu_serving_alloc_count_test bounds 47 MEASURE bounds: refused calls made 0 driver allocations; 33 rows -> TOO_LARGE, ctx 257 -> TOO_LARGE; error "serving reservation exceeded: ..." 48 gpu_serving_alloc_count_test bounds: PASS (0 failed checks) 49 ./build/gpu_serving_alloc_count_test bounds-block 50 MEASURE bounds-block: 16 and 64 tokens (one 64-token block) served with 0 driver traffic; 65 tokens -> TOO_LARGE 51 gpu_serving_alloc_count_test bounds-block: PASS (0 failed checks) 52 ./build/gpu_serving_alloc_count_test rollback 53 MEASURE rollback: 6 injected failures during reserve, none left anything flagged; the un-injected control stayed reserved 54 gpu_serving_alloc_count_test rollback: PASS (0 failed checks) 55 ./build/gpu_serving_alloc_count_test sweep 56 MEASURE sweep prepare: 83 driver allocations (one code buffer per distinct kernel) 57 MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 0 driver allocations, 83 distinct kernels, 0 refused, 0 other 58 gpu_serving_alloc_count_test sweep: PASS (0 failed checks) 59 ./build/gpu_serving_alloc_count_test pin 60 gpu_serving_alloc_count_test pin: PASS (0 failed checks) 61 ./build/gpu_serving_alloc_count_test seal-bare 62 gpu_serving_alloc_count_test seal-bare: PASS (0 failed checks) 63 sweep-skip (control): MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 174 driver allocations, 83 distinct kernels, 0 refused, 0 other 64 reserve-skip (no reservation call): fails as required (5 failing checks) 65 omega-main exit=0