[EPIC] pipekit-experiment: registry lifecycle, trackers and lineage
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
ArtifactStoreshould 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. -
JSONLTrackerwrites 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, geostackdocs/reports/17_cycle.md, jejjohnson/geostack#76, #152
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 3h 50m
- Merged PRs (30d)
- 143
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jejjohnson/pipekit
-
area:code layer:0-primitives priority:p2 type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jejjohnson/pipekit#296 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 3/5 1-2 days Newbie friendliness 57/100
jejjohnson/pipekit#411 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
jejjohnson/pipekit#410 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 5/5 Over a week Newbie friendliness 38/100
jejjohnson/pipekit#409 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 3/5 1-2 days Newbie friendliness 75/100
jejjohnson/pipekit#408 ·
Maintainers usually reply within 1 day
All issues in jejjohnson/pipekit
Similar issues
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day