interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / WIDEPF-460-CHIP-7e041401 / red-df9bd9c4 / serving-alloc-omega-prefix.log

52 lines · 7085 bytes Raw Blame History
1gcc -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
4MEASURE 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)
5MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1
6MEASURE free sizes (0 distinct):
7MEASURE 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)
8MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1
9MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1
10MEASURE 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)
11MEASURE alloc sizes (102 distinct): 573440x2 4096x5 16384x1 24576x1 32768x1 40960x1 ... last 2179072x1
12MEASURE free sizes (101 distinct): 311296x2 8192x1 16384x1 24576x1 32768x1 40960x1 ... last 917504x1
13MEASURE 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)
14MEASURE alloc sizes (65 distinct): 4096x6 827392x1 835584x1 843776x1 851968x1 860160x1 ... last 1343488x1
15MEASURE free sizes (65 distinct): 4096x6 819200x1 827392x1 835584x1 843776x1 851968x1 ... last 1335296x1
16MEASURE 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)
17MEASURE alloc sizes (202 distinct): 8192x5 1351680x1 1359872x1 1368064x1 1376256x1 1384448x1 ... last 2981888x1
18MEASURE free sizes (202 distinct): 4096x8 1343488x1 1351680x1 1359872x1 1368064x1 1376256x1 ... last 8192x3
19MEASURE 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)
20MEASURE alloc sizes (65 distinct): 4096x5 2990080x1 2998272x1 3006464x1 3014656x1 3022848x1 ... last 3506176x1
21MEASURE free sizes (66 distinct): 8192x2 2981888x1 4096x3 2990080x1 2998272x1 3006464x1 ... last 3497984x1
22MEASURE AFTER WARM-UP: 458 driver allocations, 456 driver frees over 428 tokens of context (final ctx 428)
23MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 8)
24MEASURE live driver buffers at end: 25 ; session opens: 1 ; launches reaching the fake: 48840
25MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 33396, attention ok 0, attention UNWRITTEN 15444, other 0
26MEASURE leaked at close: 0
27gpu_serving_alloc_count_test plain: PASS (0 failed checks)
28./build/gpu_serving_alloc_count_test reserve
29MEASURE 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)
30MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1
31MEASURE free sizes (0 distinct):
32MEASURE 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)
33MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1
34MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1
35MEASURE 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)
36MEASURE 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)
37MEASURE 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)
38MEASURE 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)
39MEASURE 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)
40MEASURE AFTER WARM-UP: 0 driver allocations, 0 driver frees over 428 tokens of context (final ctx 428)
41MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 32)
42MEASURE live driver buffers at end: 38 ; session opens: 1 ; launches reaching the fake: 60688
43MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 34408, attention ok 0, attention UNWRITTEN 26280, other 0
44MEASURE leaked at close: 0
45gpu_serving_alloc_count_test reserve: PASS (0 failed checks)
46./build/gpu_serving_alloc_count_test bounds
47FAIL tests/gpu_serving_alloc_count_test.c:218: in-bounds paged calls touched the driver (1 allocs, 0 frees)
48FAIL tests/gpu_serving_alloc_count_test.c:221: a refused paged call touched the driver
49MEASURE bounds: refused calls made 0 driver allocations; 33 rows -> TOO_LARGE, ctx 257 -> TOO_LARGE; error "serving reservation exceeded: ..."
50gpu_serving_alloc_count_test bounds: FAIL (2 failed checks)
51make: *** [mk/omega-gpu-engine.mk:93: test-gpu-serving-alloc] Error 1
52omega-prefix exit=2