[EPIC] pipekit core and pipekit-jax: fail loudly under jit, then JAX-native operators
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
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- backend, machine-learning
Direzione di ricerca
Start with issue #169 and the existing JAX operator at packages/pipekit-jax/src/pipekit_jax/operator.py; the issue says the trace guards can land independently. For each remaining item, read the listed pass conditions and check the referenced README, pyproject.toml, and design docs where named. The epic is done when every child issue is closed and pipekit core imports with JAX absent.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Theme
Operators in pipekit fail loudly under jax.jit instead of returning wrong values, and pipekit-jax gains JAX-native control and observation operators.
Parent Wave
None. This comes from geostack report 5, workstreams A, B, C and E.
Motivation
pipekit core stays free of JAX, and most of it traces correctly as it is.
The exceptions are silent: Cache under jit returned [0, 4, 8] where the answer is [0, 8, 16], and Snapshot and Sink store tracers that die with the trace (#169).
The guards come first, because they stop wrong answers; the rest is added surface, gated by real use.
Issues
- #169 Trace guards in pipekit core.
Not filed yet, with what each must satisfy when it is:
| Work | Destination | Passes when |
|---|---|---|
docs: build time and trace time, covering what runs once at trace time and how to differentiate a module inside a pipeline |
pipekit docs | The page builds and is linked from pipekit-jax's README |
chore(jax): correct the README and dependencies |
pipekit-jax | The install notes list exactly pyproject.toml's dependencies; jaxtyping is declared but no source file imports it at 7c446f1, and the README links docs/design/, which doesn't exist |
feat(jax): JaxSequential, an eqx.Module pipeline that keeps summary, | and the stateful path |
pipekit-jax | Its gradient equals a rebuilt module's to 1e-9; eqx.tree_at replaces one operator; two equal-config pipelines compile once |
feat(jax): CondBranch and CondSwitch on jax.lax.cond and jax.lax.switch |
pipekit-jax | CondBranch under jit equals the eager Branch to 1e-12; mismatched arm shapes raise on the first call |
feat(jax): DebugTap on jax.debug.callback |
pipekit-jax | It fires once per call under jit: 3 calls, 3 callbacks |
JaxOperator already ships, in packages/pipekit-jax/src/pipekit_jax/operator.py @ 7c446f1.
VMapOver, Checkpoint and ScanSequential wrappers are deliberately out of scope, until a pipeline using one must round-trip through YAML.
Execution Notes
#169 is independent of everything else and can land now.
JaxSequential should wait until a project differentiates over operator parameters, because today's documented pattern, rebuilding the pipeline inside the loss, still works.
Parallelism
- Can run in parallel with: every other epic.
- Blocked by (inside this wave): none.
- Must complete before: none.
Definition of Done
- All child issues closed, including the ones above once filed.
- pipekit core imports with JAX absent.
Relationships
- Parent: none.
- Related: geostack
docs/reports/05_pipekit_jax.md
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 3h 50m
- PR unite (30g)
- 143
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jejjohnson/pipekit
-
area:code layer:0-primitives priority:p2 type:feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jejjohnson/pipekit#296 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
jejjohnson/pipekit#411 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
jejjohnson/pipekit#410 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
jejjohnson/pipekit#409 ·
I maintainer di solito rispondono entro 1 giorno
-
area:code type:feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
jejjohnson/pipekit#408 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di jejjohnson/pipekit
Issue simili
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorForse già presa @jejjohnson l’ha presa oggi. Apertatype:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
jejjohnson/integrix#144 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
freelawproject/litigant-portal#1307 ·
I maintainer di solito rispondono entro 2 giorni
-
type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
h2oai/h2o-llmstudio#1163 ·
I maintainer di solito rispondono entro 1 giorno