Skip to content

docs: record the vendor zero-op matmul single-core ceiling - #1264

Merged
0xShug0 merged 1 commit into
0xShug0:mainfrom
wOvAN:rknn-zeroop-core-note
Nov 12, 2026
Merged

0xShug0 merged 1 commit into
0xShug0:mainfrom
wOvAN:rknn-zeroop-core-note

Conversation

@wOvAN

@wOvAN wOvAN commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Follow-up to the merged front-shard work (#1261), a documentation-only note.

The compiled-graph sidecars are the shipped NPU form, and a natural next question is why not lift the backbone GEMMs out of the compiled graph into the zero-op rknn_matmul_api in the same library. This records the measured answer so a future reader does not re-derive it: that API refuses the multicore mask (Not support core mask: 7, fallback to single core auto mode), so one matmul is one core, measured at 0.22-0.67 TFLOP/s fp16 / 0.89-1.73 TOPS int8 on the front-shard seq768 shapes (M=1536, 30 loops, native layouts). The multicore fp16 headroom (about 2.5x) lives in a register-level open-source matmul library; it is AGPL-3.0-only and the author declined to dual-license, so it is not integrable into this Apache-2.0 runtime, and int8 through the vendor matmul measures at parity with that library's int8 (no hidden speed, only quantization risk).

Docs only, no code change. Measured facts, no behavior change, so no runtime validation applies.

rknn_matmul_api refuses the multicore mask, so one GEMM is one core
(measured fp16 0.22-0.67 TFLOP/s on the OmniVoice front-shard shapes).
The multicore fp16 headroom is in a register-level open library that is
AGPL-only and declined to dual-license; int8 measures at parity there.
@0xShug0
0xShug0 merged commit 60bb6df into 0xShug0:main Nov 12, 2026
7 checks passed
@0xShug0

0xShug0 commented Nov 12, 2026

Copy link
Copy Markdown
Owner

@wOvAN Merged! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants