Kumo Forecast mixed-precision predictions diverge from upstream beyond its precision budget
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- machine-learning
Línea de trabajo
Start by locating Kumo Forecast’s preprocessing, positional value generation, encoder and normalization paths, then compare them with the upstream SDK using the four-feature hourly fixture and the M4, NN5 and synthetic stress inputs described in the issue. Reproduce the mixed-precision discrepancy and isolate the interacting dtype and rounding differences; promoting the encoder stream alone is already known to leave counterexamples. Done means the tested cohort meets the stated agreement target, with remaining FP32 differences, budget exceptions, latency and memory costs, and saved-state key changes documented.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Reader Digest
Summary
Kumo Forecast in SDM can return different predictions from the upstream SDK with the same pretrained weights and histories.
On 20,736 predictions, the mixed-precision discrepancy averaged 1.33 times upstream's own mixed-versus-FP32 discrepancy, with occasional sign changes near zero.
FP32 was much closer, but that does not validate mixed precision.
Tenant, Data, and Specs
- Affected: Local Kumo Forecast inference using the existing pretrained checkpoints; observed in both cross-channel variants.
- Data and connector: Public SDK four-feature hourly fixture, M4 and NN5 histories, and labeled synthetic stress inputs; no connector.
- Machine: NVIDIA L40S, Python 3.12.14, PyTorch 2.12.1+cu130, CUDA 13.0, driver 595.91.07, NumPy 1.26.4.
- Deployment: Source-installed Python packages, public inference APIs; no serving container.
Root Cause
- The port changes preprocessing rounding and regenerates positional values on the GPU.
- Mixed precision changes encoder-stream and normalization dtypes relative to upstream.
- Input layout, GELU and attention execution introduce additional rounding differences.
- These effects interact; promoting the encoder stream alone leaves reproducible counterexamples.
Fix Blast Radius
Keep the correction local to Forecast, with optional division precision in the shared standardizer and unchanged defaults for other models.
The candidate achieves exact mixed agreement in the tested cohort, but retains small FP32 differences and pointwise budget exceptions.
Measured latency/memory costs and saved-state key changes require disclosure; numerical agreement is not forecasting accuracy.
No retraining or checkpoint-weight change is required.
Verdict: Contained. Fixing this addresses the root cause.
- Lenguaje dominante
- Python
- Estrellas
- 429
- Forks
- 46
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 227
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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/structured-data-models
-
Create bug report issue templateAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
NVIDIA/structured-data-models#1248 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
NVIDIA/structured-data-models#1318 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
NVIDIA/structured-data-models#1276 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Introduce documentation versioningPosiblemente ocupada @AkilsuryaS la tomó hace 2 días. Abiertodocumentation enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
NVIDIA/structured-data-models#1246 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
NIM errorPosiblemente ocupada @am-porter la tomó hace 10 días. Abiertoquestion
Dificultad 4/5 1-3 horas Aptitud para principiantes 15/100
NVIDIA/structured-data-models#1136 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/structured-data-models
Issues similares
-
PluginProvider.storeInstance races and clobbers the dedup cache for concurrent loadsPosiblemente ocupada @Wilson0511 la tomó hoy. Abiertoneeds-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
community documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
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 85/100
kagent-dev/kagent#3462 ·
Los mantenedores suelen responder en 1 día