williamhtan commited on
Commit
d39caa2
·
verified ·
1 Parent(s): 7ac4192

Add MANIFEST_v4.md

Browse files
Files changed (1) hide show
  1. MANIFEST_v4.md +91 -0
MANIFEST_v4.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # KernelSight Dataset v4.0
2
+
3
+ Camera-ready dataset for the CS231N project report.
4
+
5
+ ## Overview
6
+
7
+ | | |
8
+ |---|---|
9
+ | **Snapshots** | 1,444 |
10
+ | **Tensor shape** | `[24, 512]` (24 channels, 512 time bins) |
11
+ | **Label vocab** | 12 L1 classes, 73 L2 classes |
12
+ | **Segments** | 45,860 labeled segments |
13
+ | **Overlap ground truth** | 472 snapshots (`has_overlap=1`) |
14
+ | **Splits** | train 1,124 / val 160 / test 160 |
15
+ | **CI** | 26,996 passed, 0 failed |
16
+
17
+ ## Corpus composition
18
+
19
+ | Source | Motif | Snapshots | L1 classes | Notes |
20
+ |---|---|---|---|---|
21
+ | Microbenchmark | `vector_add` | 20 | elementwise | coalesced BW-bound |
22
+ | Microbenchmark | `gather` | 17 | memory_movement | random-indexed |
23
+ | Microbenchmark | `reduction` | 16 | reduction | tree + atomic |
24
+ | Microbenchmark | `scatter` | 31 | memory_movement | atomic histogram |
25
+ | Microbenchmark | `wgmma` | 1 | matmul | tensor-core GEMM |
26
+ | KernelBench | `kernelbench` | 480 | all 11 populated | PyTorch L1+L2 ops |
27
+ | CUTLASS | `cutlass_gemm` | 278 | matmul | ex48 TF32 WS-GEMM |
28
+ | CUTLASS | `cutlass_fmha` | 85 | attention | ex88 FA3 |
29
+ | CUTLASS | `cutlass_ws_overlap` | 472 | matmul (overlap) | ex48 + %globaltimer markers |
30
+ | CUTLASS | `cutlass_fp8_gemm` | 14 | matmul | ex54 FP8 WS-GEMM |
31
+ | CUTLASS | `cutlass_sparse_gemm` | 18 | matmul | ex62 2:4 structured sparsity |
32
+ | CUTLASS | `cutlass_grouped_gemm` | 12 | matmul | ex57 grouped GEMM |
33
+
34
+ ## Per-L1 distribution (snapshots containing each class)
35
+
36
+ | L1 class | snapshots | segments |
37
+ |---|---|---|
38
+ | matmul | 849 | 3,257 |
39
+ | activation | 147 | 11,654 |
40
+ | reduction | 125 | 7,155 |
41
+ | conv | 98 | 6,418 |
42
+ | attention | 92 | 295 |
43
+ | elementwise | 86 | 2,887 |
44
+ | normalization | 79 | 6,546 |
45
+ | pooling | 62 | 2,019 |
46
+ | memory_movement | 48 | 48 |
47
+ | loss | 42 | 4,860 |
48
+ | softmax | 28 | 721 |
49
+
50
+ ## Per-snapshot artifacts
51
+
52
+ Each snapshot directory contains:
53
+
54
+ ```
55
+ <variant>/
56
+ input/tensor_input.npz 24-channel [24, 512] profiler heatmap
57
+ labels/labels.npz L1+L2 workload labels, segments, multi-hot
58
+ fingerprint/fingerprint.npz 32-D instruction-mix fingerprint
59
+ ```
60
+
61
+ ## Splits
62
+
63
+ | Split | n | Description |
64
+ |---|---|---|
65
+ | `train.json` | 1,124 | 80% L2-stratified training set |
66
+ | `val.json` | 160 | 10% validation |
67
+ | `test.json` | 160 | 10% test |
68
+ | `iid.json` | 433 | 30% random IID sample (overlapping tag) |
69
+ | `param_ood.json` | 956 | geometry-sweep variants (overlapping tag) |
70
+ | `composed.json` | 1,124 | multi-kernel traces (overlapping tag) |
71
+
72
+ ## Tools included
73
+
74
+ - `workload_taxonomy.py` — L1/L2 vocab, anchor overrides (single source of truth)
75
+ - `sass_dataloader_stub.py` — PyTorch Dataset for loading tensor+labels
76
+
77
+ ## Changes from v3.1
78
+
79
+ - Deleted `megakernel` (PoC, 1 snapshot) and `tiled_gemm_poc` (hand-written PoC, 590 snapshots)
80
+ - Added 3 new CUTLASS Hopper GEMM datapaths: FP8 (ex54), 2:4 sparse (ex62), grouped (ex57)
81
+ - Selective KernelBench expansion: activation, normalization, pooling, reduction, elementwise
82
+ - Microbenchmark geometry sweep: vector_add, gather, reduction, scatter
83
+ - CUTLASS geometry sweep: cutlass_gemm (264), cutlass_ws_overlap (456), cutlass_fmha (72)
84
+ - Corpus grew from 262 (v3.1) to 1,444 (v4.0); overlap ground truth from 29 to 472
85
+ - CI: 26,996 passed, 0 failed
86
+
87
+ ## Collection environment
88
+
89
+ - GPU: NVIDIA H100 80GB HBM3 (sm_90a)
90
+ - Profilers: CUPTI Range Profiler (19-metric warp-stall set), NVBit region profiler, Nsight Systems
91
+ - CUTLASS: Hopper examples from the CUTLASS 3.x tree (build_ex48 / build_ex88)