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

オープン
#151 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend, databases

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
0
フォーク
0
平均マージ
3時間 50分
マージ済み PR(30日)
143

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jejjohnson/pipekit のほかの issue

jejjohnson/pipekit の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。