An lwf_continue run on another numpy version or CPU cannot write what the uninterrupted run wrote, and the state file's fingerprint records neither
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Read docs/algorithms.rst and LiuWestFilter._build_fingerprint in pybnf/algorithms/filters/liu_west.py (around line 651), then review issue #1035 for the reported numerical differences. Decide how the fingerprint or documented promise should account for NumPy and CPU differences; done means the continuation behavior or its documented guarantee clearly reflects those differences.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
docs/algorithms.rst promises that an lwf_continue run "writes byte for byte what an uninterrupted run writes". The state file's fingerprint (LiuWestFilter._build_fingerprint, pybnf/algorithms/filters/liu_west.py:651) records the PyBNF and bngsim versions and their builds, but nothing about numpy or the CPU.
Why that breaks the promise. numpy's results for exp, log and pow differ in the last bit between versions and between SIMD paths. #1035 measured it: on AVX-512 CPUs with numpy 1.26, SVML and the C library disagree for about a quarter of float64 pow values. A run continued on another numpy, or on a node with or without AVX-512, therefore cannot write the uninterrupted run's bytes, and nothing says so.
Options:
- Record numpy's version, and maybe
np.show_runtime()'s SIMD features, in the fingerprint. Refuse on a mismatch, or warn. - Narrow the documented promise to the same numpy and CPU.
Raising the numpy floor to 2.x would remove the address dependence #1035 fixed, but not differences between versions or CPUs.
- Lenguaje dominante
- Python
- Estrellas
- 25
- Forks
- 25
- Merge medio
- 4 h 5 min
- PR fusionados (30 d)
- 10
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 lanl/PyBNF
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug tech debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug silent-incorrectness
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
Todos los issues de lanl/PyBNF
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
software-mansion-labs/Diplomat#20 ·
Los mantenedores suelen responder en 1 día
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPosiblemente ocupada @lijy91 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
libnativeapi/nativeapi#53 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
View Counts discarded due to field name mismatchPosiblemente ocupada @rsiva0400 la tomó hoy. Abiertosite-bug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Model version publishes the new UK firm entity as a personPosiblemente ocupada @vahid-ahmadi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PolicyEngine/policyengine.py#764 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
spcl/HPCAgent-Bench#264 ·
Los mantenedores suelen responder en 1 día