Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Split FIFO optimization into multiple optimizers, don't call write explictily

Abierto
#705 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
compilers

Línea de trabajo

Start with the FifoDepthOptimization optimizer, where it calls ModelGraph.write() and so runs self._writer_flow in the middle of another flow. Read how #641 fixed the related problem before changing anything. Done would mean the FIFO depth work is split into optimizers chained by new flows, with no explicit write call inside an optimizer, and the existing tests still passing.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Details

The FifoDepthOptimization optimizer calls ModelGraph.write(), which executes the self._writer_flow as part of the optimizer, outside the main flow being executed. The main flow continues when the optimizer ends.

Potentially it would be safer to implement the fifo depth optimization as a flow, without an external flow interrupting it. This external flow calls many of the same optimizers a second time, which has more potential for problems. A problems discovered with this setup was fixed with #641, and it appears to be working, so this change is fairly low priority, unless we run into another problem.

Parts of hls4ml being affected

The FifoDepthOptimization would likely have to be split into multiple optimizers and new flows would have to be defined.

Lenguaje dominante
Python
Estrellas
2.2k
Forks
605
Merge medio
7 d 35 min
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fastmachinelearning/hls4ml

Todos los issues de fastmachinelearning/hls4ml

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.