Windows prefill and the NPU's 4 KB page translations (driver request: amd/xdna-driver#1817)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp, linux
- Ambito
- backend, performance
Direzione di ricerca
Start by comparing FastFlowLM’s Windows and Linux prefill paths and measuring DMA behavior with different page sizes; the issue names no source files or tests. The driver request amd/xdna-driver#1817 is the starting reference for 2 MB host memory mappings. Done looks like Windows/Linux prefill measurements that show whether page size affects performance.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
On Windows the NPU driver maps host memory in 4 KB pages, and every page a shim DMA row lands on costs a translation: past a cache of about 512 pages, all DMA channels together get 70-80 million translations a second (Krackan Point, Windows 11). On Linux the NPU gets 2 MB pages (transparent huge pages) and pays nothing. Krackan Point, Linux on one laptop and Windows 11 on another:
| 16 channels, rows 64 KB + one row apart | Linux (2 MB pages) | Windows 11 |
|---|---|---|
| gather 256 B rows | 89.6 GB/s | 15.6 GB/s |
| write 128 B rows | 73.2 GB/s | 6.0 GB/s |
| read stream | 96.9 GB/s | 81.0 GB/s |
A prefill that writes a GEMM's output as one short row per token, a whole activation row apart, pays one translation per row on Windows: for Llama 3.2 1B, 7.5 M per 1024-token chunk with 4 KB pages, 0.22 M with 2 MB pages, ~100 ms of DMA per chunk at Windows' rate. If FastFlowLM's prefill on Windows trails Linux on the same machine, this is likely part of it.
A request to map the NPU's host memory with 2 MB pages, with measurements by page size: amd/xdna-driver#1817. FastFlowLM's Windows / Linux numbers there would strengthen it.
- Lingua principale
- C++
- Stelle
- 2.1k
- Fork
- 184
- Merge medio
- 12h 22m
- PR unite (30g)
- 239
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ROCm/FastFlowLM
-
Update Gemma tokenizer.json after Google's recent fixForse già presa @four1er l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ROCm/FastFlowLM#1057 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ROCm/FastFlowLM#757 ·
I maintainer di solito rispondono entro 1 giorno
-
No valid checkpoint to restore + Max length reached on multi-turn tool calls (Qwen3.6-MoE, NPU)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ROCm/FastFlowLM#744 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Truncated tool call is emitted as a complete one (unterminated heredoc reaches the client)Forse già presa @Javinator9889 l’ha presa 72 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ROCm/FastFlowLM#741 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Download timeoutForse già presa @stdevPavelmc l’ha presa 200 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ROCm/FastFlowLM#520 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ROCm/FastFlowLM
Issue simili
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
difficulty:easy func:gui prio:normal type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NatronGitHub/Natron#2118 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
bug difficulty:easy prio:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NatronGitHub/openfx-io#523 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
ArduPilot/ardupilot_gazebo#195 ·