[EPIC] pipekit-experiment: checkpoints, metric files and provenance for long runs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Read packages/pipekit-ops/docs/design/roadmap.md and the child issues #386, #387, and #388 to understand the scope. The epic covers numbered artifact storage and rotation, JSONL and fanout writers, and run provenance; it is done when all three children are closed, pipekit-experiment is released with the additions, pipekit-train uses that release, and the README lists them.
Written by the indexing model from the issue text.
Description
Theme
pipekit-experiment holds the run records every long loop writes: numbered checkpoints that survive a crash, a metric file that one reader can parse, and the versions and commit a run used.
Parent Wave
- Wave epic: none. These are the pipekit-experiment items named at the end of
packages/pipekit-ops/docs/design/roadmap.md(merged in #374). - Package roadmap: #229.
Motivation
sesmax-experiment's run loop writes three records with code that is not specific to its models (sim/ @ 12f169f6bf):
CheckpointStore:<step>.zarrstores written as a partial and renamed when complete, keeping the newest few and every N-th.JsonLinesWriter: a flat JSON line per step, flushed as written, with non-finite numbers asnull; and a privateFanoutof writers.- A manifest with the installed versions of the run's libraries and the git commit and dirty flag.
pipekit-train needs the same records and has its own JSONLWriter, which writes a different file.
These belong in pipekit-experiment, not pipekit-ops, because they are about runs and files rather than operators.
They need only the standard library, as pipekit-experiment's core does today.
Issues
- #386 —
StepStore: numbered artifacts written under a temporary name and rotated - #387 —
JSONLWriterandFanoutWritermove to pipekit-experiment - #388 —
provenance(): the package versions, platform and git commit of a run
Parallelism
- Can run in parallel with: #379
- The three children are independent.
Definition of Done
- All child issues closed
- pipekit-experiment released with the three additions, and pipekit-train on that release
- The pipekit-experiment README lists them
Relationships
- Parent: #229
- Related: #151, #379
- 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