[EPIC] pipekit-train: stateful layers and the Keras backend
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
- 35/100
Línea de trabajo
Read the child issues #16 and #13 and the referenced ADR D5 and geostack report 11. For #16, inspect TrainState, shard_train_state, and save_state; for #13, inspect the backend stubs and the tests in tests/test_adapters.py and tests/test_loop.py. The epic is done when all child issues are closed, BatchNorm statistics survive save and restore, and the Lightning backend reduces a small MLP's loss by at least 50%.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Theme
TrainingLoop handles models with running statistics, and its Keras backend does real training rather than raising NotImplementedError.
Parent Wave
None. This comes from geostack report 11, workstream E (ADR D5 in pipekit-train), and from pipekit-train's open issues.
Motivation
Two kinds of model can't train through TrainingLoop today.
TrainState holds no eqx.nn.State, so a BatchNorm model can't train on the Equinox backend (#16).
backend="keras" is a stub that always raises.
The Lightning backend is cancelled: pipekit won't support Lightning or PyTorch training, so #13 is closed and its stub is removed.
They're grouped because they widen what the loop accepts, and they're the least urgent pipekit-train work: no current caller is broken.
Issues
- #16
eqx.nn.Statefor stateful layers.
Not filed yet, to be filed after #16:
feat(train): the Keras 3 backend, on the samerun(loop) -> (op, backend_info)seam. ADR D5 schedules it for v0.3.feat(train): a ModelOp for Keras models.pipekit_array.ModelOpdoesn't exist at3b9582d, so Keras needs its own wrapper.
Execution Notes
#16 can be built and tested on any machine.
#16's TrainState change touches shard_train_state and save_state, which have changed since it was written: thread state through them as well.
Parallelism
- Can run in parallel with: every other epic, though #16 conflicts in
adapters/equinox.pywith #144 and #145, so stack the PR. - Blocked by (inside this wave): none.
- Must complete before: none.
Definition of Done
- All child issues closed.
- A BatchNorm model trains through
TrainingLoop, and its running statistics survivesave_stateandrestore_state.
Relationships
- Parent: none.
- Related: geostack
docs/reports/11_pipekit_train.md, workstream E
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 3 h 50 min
- PR fusionados (30 d)
- 143
Preparar el entorno
- Sin Dockerfile ni 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 jejjohnson/pipekit
-
area:code layer:0-primitives priority:p2 type:feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jejjohnson/pipekit#296 ·
Los mantenedores suelen responder en 1 día
-
area:code type:feature
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
jejjohnson/pipekit#411 ·
Los mantenedores suelen responder en 1 día
-
area:code type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
jejjohnson/pipekit#410 ·
Los mantenedores suelen responder en 1 día
-
area:code type:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
jejjohnson/pipekit#409 ·
Los mantenedores suelen responder en 1 día
-
area:code type:feature
Dificultad 3/5 1-2 días Aptitud para principiantes 75/100
jejjohnson/pipekit#408 ·
Los mantenedores suelen responder en 1 día
Todos los issues de jejjohnson/pipekit
Issues similares
-
A JSON chat answer blocks the backend event loop for the whole RAG runPosiblemente ocupada @NopeCharon la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Los mantenedores suelen responder en 1 día
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPosiblemente ocupada @jejjohnson la tomó hoy. Abiertotype:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
jejjohnson/integrix#144 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día