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
1 line
9.4 KiB
JSON
1 line
9.4 KiB
JSON
{"execution_summary": {"estimated_inference_time": 1129, "estimated_inference_peak_memory": 139857920, "first_load_time": 108126, "first_load_peak_memory": 111996928, "warm_load_time": 103320, "warm_load_peak_memory": 124866560, "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, 2414112], "first_load_memory_peak_range": [0, 9691168], "warm_load_memory_increase_range": [0, 2343088], "warm_load_memory_peak_range": [405504, 10119408], "inference_memory_increase_range": [0, 2125872], "inference_memory_peak_range": [0, 8857072], "all_compile_times": [], "all_first_load_times": [108126], "all_warm_load_times": [103320], "all_inference_times": [1877, 1227, 1193, 1143, 1150, 1137, 1140, 1135, 1137, 1140, 1136, 1400, 1252, 1232, 1255, 1247, 1269, 1245, 1252, 1238, 1241, 1192, 1175, 1167, 1172, 1166, 1173, 1152, 1203, 1139, 1137, 1184, 1145, 1136, 1140, 1141, 1135, 1131, 1131, 1142, 1130, 1138, 1134, 1134, 1133, 1135, 1133, 1137, 1134, 1140, 1131, 1134, 1136, 1135, 1144, 1141, 1130, 1129, 1129, 1137, 1132, 1136, 1130, 1131, 1136, 1151, 1138, 1139, 1134, 1142, 1143, 1460, 1141, 1160, 1147, 1137, 1134, 1155, 1134, 1133, 1140, 1134, 1132, 1137, 1133, 1132, 1132, 1135, 1134, 1163, 1253, 1203, 1226, 1264, 1187, 1185, 1167, 1201, 1175, 1165]}, "execution_detail": [{"name": "Input", "type": "Input", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 753219}, {"name": "rms_norm_/layers.0/Mul_1_output_0", "type": "rms", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 28894}, {"name": "OpId_20", "type": "", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 755}, {"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_197", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 105271}, {"name": "node_Slice_200", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 6085}, {"name": "node_Slice_203", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 17677}, {"name": "/layers.0/Reshape", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Reshape_1", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Reshape_2", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/g_proj/MatMul", "type": "/layers.0/g", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 5538}, {"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": 2106}, {"name": "/layers.0/Reshape_3", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3072}, {"name": "node_Slice_398", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 528}, {"name": "node_Slice_401", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 654}, {"name": "fused_/layers.0/Slice_3_/layers.0/Slice_5", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 607}, {"name": "fused_/layers.0/Slice_3_/layers.0/Slice_6", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 584}, {"name": "/layers.0/Mul_2", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3506}, {"name": "/layers.0/Neg", "type": "/layers.0/Neg", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 228}, {"name": "/layers.0/Concat", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 899}, {"name": "/layers.0/Mul_3", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3427}, {"name": "/layers.0/Add_1", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 549}, {"name": "/layers.0/Concat_1", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 1021}, {"name": "node_Slice_380", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 1066}, {"name": "node_Slice_383", "type": "node", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 1029}, {"name": "fused_/layers.0/Slice_7_/layers.0/Slice_9", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 1071}, {"name": "fused_/layers.0/Slice_7_/layers.0/Slice_10", "type": "fused", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 2146}, {"name": "/layers.0/Mul_4", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 6818}, {"name": "/layers.0/Neg_1", "type": "/layers.0/Neg", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 939}, {"name": "/layers.0/Concat_2", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 1964}, {"name": "/layers.0/Mul_5", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 3212}, {"name": "/layers.0/Add_2", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 1028}, {"name": "/layers.0/Concat_3", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 919}, {"name": "/layers.0/Concat_4", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 17605}, {"name": "/layers.0/Concat_5", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Concat_5_output_0_converted_unsigned_symmetric", "type": "/layers.0/Concat", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 462750}, {"name": "/layers.0/Reshape_4", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 290}, {"name": "/layers.0/Transpose", "type": "/layers.0/Transpose", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Transpose_output_0_converted_unsigned_symmetric", "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": 734291}, {"name": "/layers.0/Mul_6", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 2296}, {"name": "/layers.0/Add_3", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 34398}, {"name": "/layers.0/Softmax", "type": "/layers.0/Softmax", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 13723}, {"name": "/layers.0/MatMul_1", "type": "/layers.0/MatMul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 599222}, {"name": "/layers.0/Reshape_5", "type": "/layers.0/Reshape", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 0}, {"name": "/layers.0/Mul_7", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 19554}, {"name": "/layers.0/out_proj/MatMul", "type": "/layers.0/out", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 22649}, {"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_4", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 20985}, {"name": "rms_norm_/layers.0/Mul_9_output_0", "type": "rms", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 16477}, {"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": 433795}, {"name": "/layers.0/up_proj/MatMul", "type": "/layers.0/up", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 420307}, {"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_12", "type": "/layers.0/Mul", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 22637}, {"name": "/layers.0/down_proj/MatMul", "type": "/layers.0/down", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 426424}, {"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_7", "type": "/layers.0/Add", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 5772}, {"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": "Output", "type": "Output", "compute_unit": "NPU", "execution_time": 0, "execution_cycles": 5113}]} |