[EPIC] pipekit-experiment: registry lifecycle, trackers and lineage

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

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
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Start with the symbols and destinations in the issue’s table, then inspect the referenced source at 7c446f1; the epic says its claims were checked there except where marked unverified. The work spans registry lifecycle, tracking, adapters, training, reruns, and lineage, so first identify which child issue has been filed before choosing an entry point. Done means each proposed row is filed and closed or removed with a reason, and the listed lifecycle, tracker, and lineage requirements are met.

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

Descripción

area:code priority:p2 type:epic-theme

Theme

pipekit-experiment gets a registry with a lifecycle, trackers that exist, and artifacts that can be rerun and traced to their parents.

Parent Wave

None. This comes from geostack report 12, workstreams A to E, and report 17, workstream B.

Motivation

pipekit-experiment defines the ExperimentTracker protocol at 7c446f1 but ships no tracker, so nothing writes a run's metrics out of the box.
Its registry can store and tag, but it can't delete, garbage-collect or say which model depends on which.
Later waves that need versioned packaged pipelines (jejjohnson/geostack#73, jejjohnson/geostack#76) will build on this package, so it matters that its contract is settled first.

This epic sets the scope only.
Its children aren't filed yet, because nothing depends on them today; each row below becomes one issue when the work starts, and the claims in "At 7c446f1" were checked against the source.

Issues

Proposed issue Symbols and destination At 7c446f1
feat(experiment): rebuild a model with weights on load load(ref, like=None) calls like.from_registry(self, ref) load(self, ref) has no like
fix(experiment): put a weightless model's architecture in its hash JaxModelOp.state, EquinoxModelOp.state, or a check in store Per report 12, Linear(40, 40) and Linear(3, 7) share a hash without weights (unverified at this pin)
feat(experiment): registry lifecycle gc(keep=...), delete(hash), untag(name), and _tags/_history.jsonl recording each tag move None exist
feat(experiment): a public registry address ModelRegistry.location, used for model_registry_uri in callbacks.py _where() is private, and Checkpoint writes registry://<hash>, which doesn't say which registry
feat(experiment): JSONLTracker pipekit_experiment.trackers: a directory per run with config.json, metrics.jsonl and artifacts.json No tracker ships
feat(experiment): MLflow and W&B adapters MLflowTracker, WandbTracker, MLflowModelRegistry in adapters/ adapters/ holds only dvc.py, hydra.py and metaflow.py
fix(train): normalise the tracker run id _run_id(handle) in loop.py, and log_artifact at train end loop.py stores repr(run) and only when run has __getitem__
feat(experiment): rerun and hash-only pins TrainingArtifact.rerun(build_loop), and hash-only pins in InferenceArtifact No rerun exists
feat(experiment): lineage in the hashed payload store(op, *, parents=()) writes lineage.json; ArtifactLineage; dependents(hash), descendants(hash) None exist
feat(experiment): run records RunMetrics.to_dataframe(), and RunArtifacts.attach accepting a Path or Operator attach(name, uri) takes a string; no to_dataframe
fix(experiment): orchestration adapters Nested _target_ in hydra.py, self.next(...) in metaflow.py, YAML parsing of .dvc pointers in dvc.py Per report 12 (unverified at this pin)

Execution Notes

Lineage goes in the hash, so it changes hashes, and it should land before anything depends on them long-term.
JSONLTracker should come before the MLflow and W&B adapters, because it is the testable offline reference.

Parallelism

  • Can run in parallel with: #152, although report 15's ArtifactStore should share this epic's storage layout.
  • Blocked by (inside this wave): none.
  • Must complete before: the pipeline primitives of jejjohnson/geostack#73, if jejjohnson/geostack#76 chooses external provenance.

Definition of Done

  • Every row above is filed as a sub-issue and closed, or removed with a reason.
  • A tag moves only with force=True, and each move appends to the history.
  • JSONLTracker writes a run that a test reads back.
  • Replacing a tag can't change a model's lineage, because the lineage is inside the hash.

Relationships

  • Parent: none.
  • Related: geostack docs/reports/12_pipekit_experiment.md, geostack docs/reports/17_cycle.md, jejjohnson/geostack#76, #152
Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
3 h 50 min
PR fusionados (30 d)
143

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 jejjohnson/pipekit

Todos los issues de jejjohnson/pipekit

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.