Files
vllm-omni/benchmarks/edge_harness/results/profile_ring_full_ctx1024_fp16.json
T
tzhouamandClaude Opus 5 9264ff81ab Include the baselines, comparisons and study documents, not just the fork
The packaging commit shipped the code and a summary of the numbers. It left out
everything the numbers are measured *against*, which is most of what makes them
checkable.

Added:

  baselines/                 llama.cpp runs (thread sweeps, NUMA sweeps, the
                             interleaved A/B passes behind the headline decode
                             figure) and the quality references: each build
                             against its own bf16 over 12 greedy prompts.
  benchmarks/.../results/    102 artifacts backing the published figures, each
                             with a provenance block naming the model,
                             quantization, thread set and build SHAs.
  docs/engines/              the engine analyses -- llama.cpp, ExecuTorch, MNN,
                             ncnn, vLLM, vLLM-Omni -- and the cross-engine and
                             device-simulation comparisons.
  docs/analysis/             the full study documents the summaries distil.
  docs/edge/comparisons.md   where this fork sits against llama.cpp and why:
                             decode is llama.cpp's, prefill is ours by ~2x, and
                             since neither engine exceeds 39% of the measured
                             222 GB/s ceiling the decode gap is the execution
                             model rather than the kernels.
  docs/edge/environment.md   pins and machine, and the correction below.

On "the modified vllm": there isn't one, and the doc says so plainly because it
is the obvious assumption. The vLLM checkout is clean upstream (0 commits
ahead, 0 uncommitted) and the installed wheel is stock 0.28.0+cpu. This fork
changes vLLM's CPU *behaviour* through vLLM's own extension points at import
time -- three CPU patches in vllm_omni/patch.py, the quantization-config
registry, the IR op registry, platform hooks -- specifically so the changes
survive a wheel upgrade rather than being lost on it. One of those patches is
why "KV sizing is not a memory lever" looked true for months: CpuPlatform
overwrote kv_cache_memory_bytes unconditionally, so the setting had no effect.
There is no patch series to apply; pin the version and let patch.py do the rest.

.gitignore gains explicit exceptions: upstream's blanket `*.json` and `results/`
rules were silently eating the measurement artifacts, which in this fork are the
substance rather than build output. Binary captures stay ignored.

No vLLM or llama.cpp source is redistributed -- only output produced with them.
NOTICE records both.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1ax5wYLA6XbqEL1i8L9gZ
2026-09-14 14:01:12 +08:00

1 line
11 KiB
JSON

{"execution_summary": {"estimated_inference_time": 1567, "estimated_inference_peak_memory": 143167488, "first_load_time": 121550, "first_load_peak_memory": 114778112, "warm_load_time": 117498, "warm_load_peak_memory": 126844928, "compile_time": 0, "compile_peak_memory": 0, "compile_memory_increase_range": [0, 0], "compile_memory_peak_range": [0, 0], "first_load_memory_increase_range": [0, 2441456], "first_load_memory_peak_range": [1359872, 11835536], "warm_load_memory_increase_range": [0, 1691984], "warm_load_memory_peak_range": [0, 10525536], "inference_memory_increase_range": [0, 28720], "inference_memory_peak_range": [0, 9662544], "all_compile_times": [], "all_first_load_times": [121550], "all_warm_load_times": [117498], "all_inference_times": [2677, 2072, 1930, 2042, 1982, 1969, 1903, 1912, 1846, 1784, 1692, 1993, 1785, 1812, 1787, 1756, 1743, 1670, 1613, 1606, 1599, 1621, 1618, 1601, 1596, 2285, 1599, 1607, 1588, 1617, 1597, 1638, 1702, 1693, 1645, 1595, 1616, 1652, 1612, 1591, 1642, 1588, 1581, 1573, 1584, 1595, 1581, 1577, 1570, 1580, 1567, 1638, 1591, 1584, 1598, 1617, 1690, 1738, 1663, 1617, 1629, 1641, 1643, 1917, 2078, 1761, 2192, 1656, 1631, 1637, 1779, 1783, 1766, 1842, 1810, 1917, 1760, 1681, 1768, 1971, 1943, 1774, 1854, 1835, 1790, 1685, 1717, 1633, 1619, 1603, 1642, 1640, 1619, 1674, 1624, 1602, 1630, 1720, 1611, 1605]}, "execution_detail": [{"name": "Input", "type": "Input", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 83386}, {"name": "QNN_DATATYPE_FLOAT_32_converted_x_QNN_DATATYPE_FLOAT_16", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 171352}, {"name": "rms_norm_/layers.0/Mul_1_output_0", "type": "rms", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 28930}, {"name": "/layers.0/q_k_v_proj/MatMul", "type": "/layers.0/q", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/q_k_v_proj/MatMul_post_reshape", "type": "/layers.0/q", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "node_Slice_141", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 284809}, {"name": "node_Slice_144", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 82995}, {"name": "node_Slice_147", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 48282}, {"name": "/layers.0/Reshape", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 558}, {"name": "/layers.0/Reshape_1", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 288}, {"name": "/layers.0/Reshape_2", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 230}, {"name": "/layers.0/g_proj/MatMul", "type": "/layers.0/g", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/g_proj/MatMul_post_reshape", "type": "/layers.0/g", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Sigmoid", "type": "/layers.0/Sigmoid", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 7087}, {"name": "/layers.0/Reshape_3", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 7297}, {"name": "node_Slice_120", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "node_Slice_123", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 572}, {"name": "fused_/layers.0/Slice_3_/layers.0/Slice_5", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "fused_/layers.0/Slice_3_/layers.0/Slice_6", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "QNN_DATATYPE_FLOAT_32_converted_cos_full_QNN_DATATYPE_FLOAT_16", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 22821}, {"name": "/layers.0/Mul_2", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 342}, {"name": "/layers.0/Neg", "type": "/layers.0/Neg", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 520}, {"name": "/layers.0/Concat", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "QNN_DATATYPE_FLOAT_32_converted_sin_full_QNN_DATATYPE_FLOAT_16", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 6280}, {"name": "/layers.0/Mul_3", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 312}, {"name": "/layers.0/Add_1", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3224}, {"name": "/layers.0/Concat_1", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 2145}, {"name": "node_Slice_127", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "node_Slice_130", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "fused_/layers.0/Slice_7_/layers.0/Slice_9", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "fused_/layers.0/Slice_7_/layers.0/Slice_10", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Mul_4", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3335}, {"name": "/layers.0/Neg_1", "type": "/layers.0/Neg", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 10800}, {"name": "/layers.0/Concat_2", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Mul_5", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 157}, {"name": "/layers.0/Add_2", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 2435}, {"name": "/layers.0/Concat_3", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Reshape_4", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 211}, {"name": "QNN_DATATYPE_FLOAT_32_converted_k_cache_0_QNN_DATATYPE_FLOAT_16", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 199466}, {"name": "/layers.0/Transpose", "type": "/layers.0/Transpose", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/MatMul", "type": "/layers.0/MatMul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 590639}, {"name": "/layers.0/Mul_6", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 20116}, {"name": "/layers.0/Mul_7", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 8160}, {"name": "/layers.0/ReduceSum", "type": "/layers.0/ReduceSum", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 6063}, {"name": "/layers.0/Mul_8", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3481}, {"name": "/layers.0/Concat_4", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "QNN_DATATYPE_FLOAT_32_converted_mask_full_QNN_DATATYPE_FLOAT_16", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 9367}, {"name": "/layers.0/Add_3", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 34369}, {"name": "/layers.0/Softmax", "type": "/layers.0/Softmax", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 13540}, {"name": "node_Slice_134", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "node_Slice_137", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "QNN_DATATYPE_FLOAT_32_converted_v_cache_0_QNN_DATATYPE_FLOAT_16", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 153430}, {"name": "/layers.0/MatMul_1", "type": "/layers.0/MatMul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 161754}, {"name": "/layers.0/Mul_9", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 4297}, {"name": "/layers.0/Add_4", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 4647}, {"name": "/layers.0/Reshape_5", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 446}, {"name": "/layers.0/Mul_10", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3998}, {"name": "/layers.0/out_proj/MatMul", "type": "/layers.0/out", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 159460}, {"name": "/layers.0/out_proj/MatMul_post_reshape", "type": "/layers.0/out", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Add_5", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 51739}, {"name": "rms_norm_/layers.0/Mul_12_output_0", "type": "rms", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3858}, {"name": "/layers.0/gate_proj/MatMul", "type": "/layers.0/gate", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/gate_proj/MatMul_post_reshape", "type": "/layers.0/gate", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "node_Gelu_0", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 886133}, {"name": "/layers.0/up_proj/MatMul", "type": "/layers.0/up", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 867797}, {"name": "/layers.0/up_proj/MatMul_post_reshape", "type": "/layers.0/up", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Mul_15", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 11363}, {"name": "/layers.0/down_proj/MatMul", "type": "/layers.0/down", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 862011}, {"name": "/layers.0/down_proj/MatMul_post_reshape", "type": "/layers.0/down", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Add_8", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 8430}, {"name": "/layers.0/Concat_3_identity", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Reshape_2_identity", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "QNN_DATATYPE_FLOAT_16_converted_output_0_QNN_DATATYPE_FLOAT_32", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "QNN_DATATYPE_FLOAT_16_converted_output_1_QNN_DATATYPE_FLOAT_32", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "QNN_DATATYPE_FLOAT_16_converted_output_2_QNN_DATATYPE_FLOAT_32", "type": "QNN", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "Output", "type": "Output", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 16134}]}