[EPIC] pipekit-array owns the stack's array plumbing

Aperta
#272 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
5/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
numpy, python
Ambito
data

Direzione di ricerca

This is a tracking epic: most child issues (#273 to #283) are already checked off, and the remaining adoption work is spread across other repositories. The only file the payload names is pipekit_array/hooks.py, which holds the shared hooks. Nothing here is a single first-timer task, so read the linked child issues before touching code. Done would mean the listed adoption issues are closed and the API pages exist.

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

Descrizione

area:code layer:0-primitives type:epic-theme

Theme

Every library of the stack takes its array plumbing from pipekit, and keeps its own subject.

Parent Wave

None. Decided by the owner on 25 Nov 2026: pipekit-array is a core library, and every library of the GeoStack may import it.

Motivation

geophysix, radiomax, diagnostix and gridax run on any array library, and each wrote helpers for what the array API standard leaves out.
functax, integrix, gaussx and kernellib wrote JAX versions of the same helpers.
This epic moves the helpers to one place, so that a function can be made to run on any library where it is.

The rule. A helper belongs here if its description needs no grid, Earth, kernel, spectrum, operator or solver.

Stays where it is Library
geometry, quadrature, bases, interpolation functax
spectra, wavelets, EOFs, climatologies, windows, columns diagnostix
physics, angles, apply_along geophysix, radiomax
solvers and curvature argminax

On JAX nothing changes. Each hook is JAX's own call on JAX data and lowers to the same jaxpr, so a library that stays on JAX loses nothing.

Issues

  • #273 — set_at, add_at, multiply_at
  • #274 — vmap, scan
  • #275 — stop_gradient, optimization_barrier, pad
  • #276 — roots, angles and powers with finite gradients
  • #277 — is_traced, is_concrete, concrete
  • #278 — check_values, require_floating
  • #279 — as_inexact
  • #280 — import_optional
  • #281 — reduction_inputs, used_weights, constants_like
  • #282 — shared test checks
  • #283 — [Design] pipekit-jax drops diffrax and integrix (option A: DiffraxForwardModel is in integrix 0.0.11)

Execution Notes

  • All but #278 (after #277) can run in parallel; #273, #274 and #275 share one new module, pipekit_array/hooks.py, so they go as a stack.
  • One release of pipekit-ops and pipekit-array carries them.
  • #283 blocks the adoption in functax, gaussx, integrix and kernellib, and nothing else here.

Adoption

Released as pipekit-array-v0.1.6 on 25 Nov 2026. Each repository has one issue, a sub-issue of this epic; the first group already pins pipekit and moves its tag first.

Repository Change
jejjohnson/geophysix#75 register_record, the test checks
jejjohnson/radiomax#79 the safe roots, register_record, the test checks
jejjohnson/gridax#576 the hooks, constants_like
jejjohnson/diagnostix#68 the reduction inputs, constants_like, the test checks
jejjohnson/geotoolz#810 import_optional, is_traced
jejjohnson/sesmax#178, jejjohnson/vardax#310 DiffraxForwardModel from integrix
jejjohnson/functax#175, then jejjohnson/integrix#106, jejjohnson/gaussx#886, jejjohnson/kernellib#315, jejjohnson/tracerax#46, jejjohnson/argminax#101 the helpers of each
jejjohnson/geostack#319 the docs and the figures

plumax moves its pin only.

Parallelism

  • Can run in parallel with: everything else in pipekit.

Definition of Done

  • All child issues closed
  • Tests for each helper on NumPy, JAX and array_api_strict
  • API pages for the new names
  • pipekit-ops and pipekit-array tagged

Relationships

  • Related: #253, #245, #247
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.