八路并发读提示词等一分钟?降到8.5秒
Ranking
Overall
78
Content
90
Popularity
N/A
No observed public metrics; popularity remains neutral/archived.
Merged summary
TL;DR - llama.cpp PR 32342 optimizes prompt prefill for parallel Gemma 4 requests with shared KV layers. It cut eight-way prefill time on an M3 MacBook Air from 63.753 to 8.494 seconds.
- The patch prunes unnecessary prompt rows per sequence before shared layers instead of processing every row when
-npenables multiple slots. - On an M3 Air running Gemma 4 E2B Q4_0 with Metal, prefill throughput improved about 7.5×; CUDA testing on an RTX PRO 6000 showed about 2.09×.
- Validation produced identical argmax results for all 23 tested rows and no scheduler reallocations during speculative decoding tests.
- Benefits are limited to prompt prefill for compatible KV-sharing models and exclude certain embedding configurations.
Sources (1)
八路并发读提示词等一分钟?降到8.5秒
Public signals
N/A
TL;DR - llama.cpp PR 32342 optimizes prompt prefill for parallel Gemma 4 requests with shared KV layers. It cut eight-way prefill time on an M3 MacBook Air from 63.753 to 8.494 seconds.
- The patch prunes unnecessary prompt rows per sequence before shared layers instead of processing every row when
-npenables multiple slots. - On an M3 Air running Gemma 4 E2B Q4_0 with Metal, prefill throughput improved about 7.5×; CUDA testing on an RTX PRO 6000 showed about 2.09×.
- Validation produced identical argmax results for all 23 tested rows and no scheduler reallocations during speculative decoding tests.
- Benefits are limited to prompt prefill for compatible KV-sharing models and exclude certain embedding configurations.