fix(BACKEND-ROCM): gfx1200 -Werror build break in rocm_paged_attn.hip (unused m_split, g)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- cmake, cpp
- Área
- backend, build-system
Línea de trabajo
Inspecciona src/vt/rocm/rocm_paged_attn.hip alrededor de las líneas 1207 y 1227 y, a continuación, reproduce la compilación de gfx1200 con los comandos de CMake y make proporcionados. Confirma que los diagnósticos de unused-variable se han corregido sin cambiar el comportamiento del operador y verifica que test_backend_cross_device se compile correctamente con ROCm.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Row: -
What's broken
main (current head, via commit b53e20f85e "Implement ROCm split-KV
attention decode (issue #845)", authored 2026-09-17) fails to build for
gfx1200 under the project's -Werror HIP arm. Two unused-variable
diagnostics in src/vt/rocm/rocm_paged_attn.hip:
src/vt/rocm/rocm_paged_attn.hip:1227:11: error: unused variable 'm_split' [-Werror,-Wunused-variable]
float m_split = -INFINITY;
^~~~~~~
src/vt/rocm/rocm_paged_attn.hip:1207:17: error: unused variable 'g' [-Werror,-Wunused-variable]
const int64_t g = h / (hq / num_kv_heads);
^
Compiler: ROCm's bundled Clang 22.0.0 (/opt/rocm/lib/llvm/bin/clang++),
target gfx1200.
How found
Discovered while independently reproducing the operator's gfx1200 toggle
matrix for PR #3036 (KERNEL-QUANT-CIQ-GEMM-ROCM's cooperative-tile WMMA
arms). That PR's own changed files are unaffected — git diff --stat between
the row branch's pre-merge tip and its current head (after merging main)
touches only src/vt/rocm/rocm_grouped_gemm.hip and
tests/vt/test_backend_cross_device.cpp. rocm_paged_attn.hip is untouched
by #3036; the break is inherited purely from the main merge.
git blame on both lines attributes them to b53e20f85e alone.
Impact
Any current gfx1200 build (this row's toggle matrix included) fails before a
single device test can run. Whatever CI runs for this repo does not build
ROCm/HIP (no such check appears on recent PRs, #3036 included), so this
never surfaced there — only a real gfx1200 box building current main
reproduces it.
Repro
git clone https://github.com/mudler/vllm.cpp && cd vllm.cpp
mkdir build-hip && cd build-hip
cmake .. -DVLLM_CPP_ROCM=ON -DCMAKE_HIP_ARCHITECTURES=gfx1200
make -j16 test_backend_cross_device
Host used: isravale, RX 9060 XT (gfx1200), ROCm 7.2.3.
Owed
No row claims this yet. Per AGENTS.md "An issue you do not fix in the same
flow has to say who owns it," this needs either an owning row's Row: line
or a spec's ## Owed entry — filed as - because neither exists yet; needs
triage to pick an owner (most likely folded into BACKEND-ROCM or a fresh
row for the gfx1200 -Werror arm).
FOLLOWING_AGENTS_PROTOCOL
Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:claude-sonnet-5 [Claude Code]
- Lenguaje dominante
- C++
- Estrellas
- 423
- Forks
- 53
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 382
Preparar el entorno
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 mudler/vllm.cpp
-
[Windows] full build fails in tools/bench/conv1d_scaling_probe.cpp (POSIX-only sys/resource.h)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de mudler/vllm.cpp
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
tenstorrent/tt-metal#58057 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
maplibre/maplibre-native#4690 ·
Los mantenedores suelen responder en 1 día
-
comp-query-execution
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ClickHouse/ClickHouse#122569 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100