MiniMax H3 VAE working-memory docstring states ~1.3-1.4x its measured peaks; the 243-frame case is 1.44x
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- machine-learning
Línea de trabajo
Abre invokeai/backend/util/vae_working_memory.py y encuentra estimate_vae_working_memory_minimax_h3(). Actualiza únicamente la declaración final del docstring para describir la proporción medida a 90 frames y 243 frames, señalando que la proporción crece con la longitud del clip. La tarea está terminada cuando la redacción coincide con las mediciones proporcionadas y la fórmula y el comportamiento permanecen sin cambios.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found during review of invoke-ai/InvokeAI-7#84 (size VAE decode memory from measured peaks). Documentation-only; the formula itself is correct and does what the PR set out to do.
What
estimate_vae_working_memory_minimax_h3() in invokeai/backend/util/vae_working_memory.py closes its docstring with:
Calibrated 2026-08-09 on a W7900 (gfx1100, fp32, real released config), peak reserved: [...] a full 768x1344 decode 4.37 GiB at 90 frames and 7.92 GiB at 243 frames. This formula returns ~1.3-1.4x those.
Evaluating the shipped formula against those two points (released geometry: tokens_chunk_size=5, token_overlap=2, temporal_compression_ratio=4, fp32):
| Case | Measured | Formula | Ratio |
|---|---|---|---|
| 768x1344 decode, 90 frames | 4.37 GiB | 5.73 GiB | 1.31x |
| 768x1344 decode, 243 frames | 7.92 GiB | 11.38 GiB | 1.44x |
So the lower bound is right and the upper bound is slightly understated.
Why it matters
Small, but the number is load-bearing documentation. The margin here is the whole point of the change — under-reserving is not a near miss, it is an unrecoverable failure that surfaces from hipBLAS as HIPBLAS_STATUS_INTERNAL_ERROR and is not even recognised as an OOM by the model cache. Anyone later tuning MINIMAX_H3_ALLOCATOR_HEADROOM or MINIMAX_H3_CHUNK_BYTES_PER_PIXEL will reason from this sentence, and it understates how much headroom is actually being taken from the weight budget at long clip lengths.
Note the ratio is not constant — it grows with clip length, because the clip term scales with frames while the chunk term does not. "~1.3-1.4x" reads as a flat factor when it is really a range that widens.
Suggested fix
Restate as measured, e.g. "returns 1.3x at 90 frames rising to ~1.45x at 243 — the ratio grows with clip length, since the clip term scales with frame count and the chunk term does not."
Scope
Docstring only, invokeai/backend/util/vae_working_memory.py. No behaviour change. Low priority.
- Lenguaje dominante
- TypeScript
- Estrellas
- 28.9k
- Forks
- 3.1k
- Merge medio
- 3 d 18 h
- PR fusionados (30 d)
- 197
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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 invoke-ai/InvokeAI
-
[bug]: upload_image resize_to is documented as a stringified tuple, but only a JSON object with width and height is acceptedPosiblemente ocupada @GuilhermeAAV la tomó hace 3 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
invoke-ai/InvokeAI#10047 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
[bug]: FLUX final-layer modulation LoRA layer is not converted (FLUX.1 diffusers: load fails, FLUX.2 BFL: layer skipped)Posiblemente ocupada @Pfannkuchensack la tomó hace 3 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
invoke-ai/InvokeAI#10022 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
[enhancement]: Bump PyPatchMatch to latestPosiblemente ocupada @dunkeroni la tomó hace 15 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
invoke-ai/InvokeAI#9826 · 2 reacciones · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
extract_audio_pcm detects "no audio stream" by matching ffmpeg's stderr text, so a wording change turns silent clips into hard errorsPosiblemente ocupada @wunianze666-netizen la tomó hace 18 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
Todos los issues de invoke-ai/InvokeAI
Issues similares
-
bug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Export the Hemi Earn Router address and the Router and Agent ABIs from `@vetro-protocol/earn`Abiertohemi-earn
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
vetro-protocol/vetro-monorepo#1043 ·
Los mantenedores suelen responder en 1 día
-
stage 2: bare names resolve against PATH differently from the shell (empty and relative entries)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
STRML/omp-classifier#206 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
atlassian-labs/mermaid-diagrams-viewer#188 ·
Los mantenedores suelen responder en 1 día
-
dashboard enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Olanetsoft/agent-lookout#225 ·
Los mantenedores suelen responder en 1 día