interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / evidence / CUDAPP-OM-ENGINE-SUBMIT-20261106 / logs / test-gpu-serving-alloc.log

64 lines · 6979 bytes Raw Blame History
1./build/gpu_serving_alloc_count_test plain
2MEASURE 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)
3MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1
4MEASURE free sizes (0 distinct):
5MEASURE 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)
6MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1
7MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1
8MEASURE 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)
9MEASURE alloc sizes (102 distinct): 573440x2 4096x5 16384x1 24576x1 32768x1 40960x1 ... last 2179072x1
10MEASURE free sizes (101 distinct): 311296x2 8192x1 16384x1 24576x1 32768x1 40960x1 ... last 917504x1
11MEASURE 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)
12MEASURE alloc sizes (65 distinct): 4096x6 827392x1 835584x1 843776x1 851968x1 860160x1 ... last 1343488x1
13MEASURE free sizes (65 distinct): 4096x6 819200x1 827392x1 835584x1 843776x1 851968x1 ... last 1335296x1
14MEASURE 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)
15MEASURE alloc sizes (202 distinct): 8192x5 1351680x1 1359872x1 1368064x1 1376256x1 1384448x1 ... last 2981888x1
16MEASURE free sizes (202 distinct): 4096x8 1343488x1 1351680x1 1359872x1 1368064x1 1376256x1 ... last 8192x3
17MEASURE 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)
18MEASURE alloc sizes (65 distinct): 4096x5 2990080x1 2998272x1 3006464x1 3014656x1 3022848x1 ... last 3506176x1
19MEASURE free sizes (66 distinct): 8192x2 2981888x1 4096x3 2990080x1 2998272x1 3006464x1 ... last 3497984x1
20MEASURE AFTER WARM-UP: 458 driver allocations, 456 driver frees over 428 tokens of context (final ctx 428)
21MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 8)
22MEASURE live driver buffers at end: 25 ; session opens: 1 ; launches reaching the fake: 48840
23MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 33396, attention ok 0, attention UNWRITTEN 15444, other 0
24MEASURE leaked at close: 0
25gpu_serving_alloc_count_test plain: PASS (0 failed checks)
26./build/gpu_serving_alloc_count_test reserve
27MEASURE 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)
28MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1
29MEASURE free sizes (0 distinct):
30MEASURE 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)
31MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1
32MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1
33MEASURE 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)
34MEASURE 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)
35MEASURE 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)
36MEASURE 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)
37MEASURE 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)
38MEASURE AFTER WARM-UP: 0 driver allocations, 0 driver frees over 428 tokens of context (final ctx 428)
39MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 32)
40MEASURE live driver buffers at end: 38 ; session opens: 1 ; launches reaching the fake: 60688
41MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 34408, attention ok 0, attention UNWRITTEN 26280, other 0
42MEASURE leaked at close: 0
43gpu_serving_alloc_count_test reserve: PASS (0 failed checks)
44./build/gpu_serving_alloc_count_test bounds
45MEASURE bounds: refused calls made 0 driver allocations; 33 rows -> TOO_LARGE, ctx 257 -> TOO_LARGE; error "serving reservation exceeded: ..."
46gpu_serving_alloc_count_test bounds: PASS (0 failed checks)
47./build/gpu_serving_alloc_count_test bounds-block
48MEASURE bounds-block: 16 and 64 tokens (one 64-token block) served with 0 driver traffic; 65 tokens -> TOO_LARGE
49gpu_serving_alloc_count_test bounds-block: PASS (0 failed checks)
50./build/gpu_serving_alloc_count_test rollback
51MEASURE rollback: 6 injected failures during reserve, none left anything flagged; the un-injected control stayed reserved
52gpu_serving_alloc_count_test rollback: PASS (0 failed checks)
53./build/gpu_serving_alloc_count_test sweep
54MEASURE sweep prepare: 83 driver allocations (one code buffer per distinct kernel)
55MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 0 driver allocations, 83 distinct kernels, 0 refused, 0 other
56gpu_serving_alloc_count_test sweep: PASS (0 failed checks)
57./build/gpu_serving_alloc_count_test pin
58gpu_serving_alloc_count_test pin: PASS (0 failed checks)
59./build/gpu_serving_alloc_count_test seal-bare
60gpu_serving_alloc_count_test seal-bare: PASS (0 failed checks)
61./build/gpu_serving_alloc_count_test update
62gpu_serving_alloc_count_test update: PASS (0 failed checks)
63sweep-skip (control): MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 174 driver allocations, 83 distinct kernels, 0 refused, 0 other
64reserve-skip (no reservation call): fails as required (5 failing checks)