Dense Qwen retains duplicate attention and FP8 input staging across graph capacities
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- performance
Línea de trabajo
Read the experimental branch linked in the issue and compare its scratch-bank capacity views with the upstream path at 1fd1f91. The issue does not name source files or tests to begin with; first trace the attention and FP8 input-staging lifetimes across graph capacities and full/recurrent layers. Done means a separately scoped implementation is chosen and validated on current main, with the stated regression and memory checks.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Measured problem
The attention change at prefill 4096 is not GPU-qualified.
Dense Qwen constructor allocations retain full-attention and TensorFP8 input intermediates separately across graph capacities and across full/recurrent layers. Sharing the CUDA graph pool alone does not remove those allocations. This leaves less memory for native prefix cache and contributes to 32GB preparation pressure with the official target plus a parallel drafter.
The focused MLP issue (https://github.com/NVIDIA/flare-local-inference/issues/45) handles four MLP buffers independently. This issue records the remaining attention/input-staging work and offers a separate experimental implementation: https://github.com/Maxrio9/flare-local-inference/tree/qwen38-dense-memory-experiments-20261023, the combined MLP/attention follow-up to the DFlash2 proposal branch. It is not an independently rebased current-main fix.
Evidence
On RTX PRO4500 Blackwell/SM120/32GB, official nvidia/Qwen3.8-27B-NVFP4@482ca0f plus calibrated maurienne-ai/Qwen3.8-27B-DFlash2-NVFP4-RTNcal@bd7a934, C4/64K/prefill1024, 2GiB reserve:
- native fixed mappings approximately22.23→22.07GiB;
- final cache budget7.02GiB, KV-token ceiling192512→196608, snapshot slots30→31.
These limits share a physical memory budget and are not simultaneous per-request guarantees. Retained allocation totals are not measured live-memory peaks. No throughput improvement is claimed for this storage change.
The implementation binds seven disjoint BF16 attention fields and FP8 input staging through capacity views in the existing prefill/decode Scratch banks. Full and recurrent target layers consume input staging serially. Persistent caches, verification records and draft windows remain independent. Other recipes' context projections or overlapping branches must not inherit these aliases without their own lifetime analysis.
Validation boundary and requested direction
On the original experimental stack: two CPU storage/tail tests;69 state/ring,21 MTP and one compiled-scoring GPU check per memory stage;C4 inactive-hole coverage. Target full-vocabulary logits at18 fixed prefixes/512-row compiled graphs were bit-exact before/after. A64K/prefill1024 exported package passed native long-prefix reuse and capacity checks; a131072-context package passed130800prompt+128generated tokens. These are not current-main rebase results.
The qualified4096 package contains only the earlier MLP change. The optional22-prefix/1024-row comparison needs its corrected reference fixture rerun. Full other-model/shared-path regressions, FP8 draft KV and embedding offload are not claimed.
Would you prefer a separate attention/staging PR after the DFlash2 integration, or an ordinary-dense-only port first? Upstream was checked at1fd1f91; equivalent paths in other recipes need individual lifetime review rather than a general switch.
Authored and scratch-lifetime-reviewed by Codex (GPT-6), AI-assisted. Claude's review is limited to accounting, tests and reporting, not restricted Opus scratch-design work.
- Lenguaje dominante
- Rust
- Estrellas
- 800
- Forks
- 106
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 100
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/hyperflare-inference
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/hyperflare-inference#268 ·
Los mantenedores suelen responder en 1 día
-
break out engram wait timeAbiertoarea:caching area:engram enhancement performance triage:design-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/hyperflare-inference#230 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
NVIDIA/hyperflare-inference#278 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
NVIDIA/hyperflare-inference#276 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
NVIDIA/hyperflare-inference#271 ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/hyperflare-inference
Issues similares
-
bug UI
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
wardian-app/Wardian#1746 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
jlcodes99/cockpit-tools#3125 ·
Los mantenedores suelen responder en 2 días
-
bug user-sprint
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Vondor/KassenSturz#967 ·
Los mantenedores suelen responder en 1 día
-
area/ci
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[BUG] Incremental sync warns "no stored highest_uid" on every round for folders with no new mailAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
rustmailer/bichon#411 ·