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

Aperta
#151 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
3h 50m
PR unite (30g)
143

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jejjohnson/pipekit

Tutte le issue di jejjohnson/pipekit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.