RTX 4080 / NVIDIA 621.01: the corpus's two largest compute pipelines fail to compile (NVVM), a few take 8-16 GB and up to 26 min, and --jobs 14 crashed the driver
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
- 12/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- compilers, performance
Línea de trabajo
The payload points at vk_pipeline_check and the pipelines stage, where --jobs now reaches the checker (#641), and at the OpSwitch chunking from commit d7cbc3e. Start by reading how concurrent compiles are scheduled for very large modules. Reproducing the NVVM failure needs the same GPU and driver, so no simple test is named. Done would mean the two compute pipelines compile on NVIDIA and peak memory stays within the machine's RAM, which the issue does not define in full.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The full shader corpus from my own 1.0.2.1 copy, translated at 91b36cf with --wave64-emulate (26503/26503 pass spirv-val, see #539), run through vk_pipeline_check on an RTX 4080 (NVIDIA 621.01, Windows 10 22H2, 32 GB RAM):
1. Two compute pipelines fail on NVIDIA: NVVM compilation failed: 3. They are #539's two shaders, the two largest modules in the corpus:
| sorted-index position | words | blocks | OpSwitch |
largest switch | result alone (--jobs 1) |
|---|---|---|---|---|---|
| 20946 | 15,086,959 | 44,048 | 4 | 16,000 cases | NVVM compilation failed: 3 after 411 s, peak 2.8 GB |
| 22428 | 15,054,923 | 43,829 | 4 | 16,000 cases | NVVM compilation failed: 3 after 401 s, peak 11.2 GB |
Corpus for scale: median 43,243 words, p99 1,241,960. These are the modules where d7cbc3e now splits the dispatch OpSwitch into chunks of 16,000; they pass spirv-val but NVIDIA's compiler gives up on them. (On main 4a36bb1 they no longer reach the driver at all: since #755 they exceed the SPIR-V id bound, see #881. So these driver numbers are from 91b36cf.)
2. A few compute pipelines need minutes and gigabytes each:
| position | words | blocks | OpSwitch |
time alone | peak RAM |
|---|---|---|---|---|---|
| 20767 | 7,980,747 | 46,112 | 0 | 1,585 s | 15.9 GB |
| 22496 | 2,010,092 | 4,251 | 1 (3,279 cases) | 772 s | 9.0 GB |
| 21097 | 1,765,803 | 4,109 | 1 (3,137 cases) | 622 s | 8.0 GB |
In the full run, 78 pipelines took 60 s or more (45 compute, 33 vertex), 29 took 120 s or more, 8 took 300 s, 6 took 600 s, and 2 took 900 s.
3. With --jobs 14 the driver crashed. After 23,250 of 26,503 pipelines (106 min), vk_pipeline_check.exe exited with 0xC0000005. The Windows event log puts the fault in nvgpucomp64.dll 32.0.16.2101. At that moment the four heavy compute pipelines above were compiling side by side; together they need about 44 GB alone, on a 32 GB machine. So running out of memory inside the driver is the likely cause. That's an inference: memory wasn't recorded at the crash, and none of them crashed when compiled one at a time. A checkpoint cache (3.0 GB) had been saved 4 minutes earlier.
Possible directions, for whoever owns them: a different lowering for these dispatch-loop giants; or, in vk_pipeline_check and the pipelines stage, fewer concurrent compiles for very large modules (#641 made --jobs reach the checker). Positions are in vk_pipeline_check's sorted index order; names and shader data stay on my machine. Happy to rerun anything on this GPU.
AI-assisted (Claude Code in OpenCode): it ran these on this machine.
- Lenguaje dominante
- Python
- Estrellas
- 14.9k
- Forks
- 1.2k
- Merge medio
- 1 h 58 min
- PR fusionados (30 d)
- 40
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 ItsNotRexed/Leonida
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ItsNotRexed/Leonida#3990 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
ItsNotRexed/Leonida#4257 · 18 comentarios ·
Los mantenedores suelen responder en 1 día
-
Python SPIR-V assembler encodes BF16 constants as IEEE halfPosiblemente ocupada @lumenpearson la tomó hoy. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
ItsNotRexed/Leonida#4237 ·
Los mantenedores suelen responder en 1 día
-
SPIR-V reflection rejects Int8 array length constantsPosiblemente ocupada @lumenpearson la tomó hoy. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 22/100
ItsNotRexed/Leonida#4221 ·
Los mantenedores suelen responder en 1 día
-
Interrupted stub rebuild can truncate a valid SPIR-V outputPosiblemente ocupada @lumenpearson la tomó hoy. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 18/100
ItsNotRexed/Leonida#4183 ·
Los mantenedores suelen responder en 1 día
Todos los issues de ItsNotRexed/Leonida
Issues similares
-
pydanty:is-working
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pydantic/pydantic-ai#14187 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[Bug]: legacy_json_to_doc crashes on persisted docs with "relationships": nullPosiblemente ocupada @Harsh23Kashyap la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
run-llama/llama_index#24392 ·
Los mantenedores suelen responder en 2 días
-
Add server: crowllm-mcpAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
pathintegral-institute/mcpm.sh#568 ·
Los mantenedores suelen responder en 21 días