Repository navigation
docs: record the vendor zero-op matmul single-core ceiling - #1264
Merged
Merged
Conversation
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.
Owner
|
@wOvAN Merged! Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_apiin 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.