gauss_flows layout: gauss-flows-maps in Core, gauss-flows-models in GeoML
Design · gauss_flows, geonnax, argminax, gaussx, pyrox, sesmax and the dependency graph
1 Dec 2026 · every decision on this page made by the owner on 1 Dec 2026; issues filed the same day (see Filed issues)
Status: decided 1 Dec 2026 (the split, the names and per-package layers)
Repositories: gauss_flows (split into two packages), geonnax, argminax, gaussx, pyrox, sesmax (consumers and donors), geostack (the dependency graph)
Supersedes: where the four companion pages put things: gauss_flows conditioning (conditioners in geonnax, and its tier move S1), gauss_flows reparametrisation (the contract in
argminax.reparam, GR-O1 and GR-O2), and the destination of gauss_flows#166 (filed as argminax#110). The maths, gates and API of those pages stand; only the package that owns each name changes.
1Decision¶
gauss_flows becomes a uv workspace of two packages, cut along the role ladder:
| Package | Layer, tier | Rungs | Holds |
|---|---|---|---|
gauss-flows-maps | Core, 1 | ⓪ ① ② and setup | invertible and conditioned maps |
gauss-flows-models | GeoML, 0 | ③ ④ and setup | flows, distributions, filters, training |
gauss-flows-maps (imported as gauss_flows_maps) holds the nouns, verbs and adverbs of the stack’s parameterised maps: the bijection, surjection and injection contract with its log-determinants; the elementwise and structured reparametrisations and their paramax storage; the conditioners; the monotone inverse and its root finder; and the bijection layers built from them.
gauss-flows-models (imported as gauss_flows_models) holds the noun phrases and sentences built from them: flows, distributions, filters, continuous-time flows, training, initialisation and information theory.
geonnax, argminax, sesmax and pyrox import the maps package, which collects names that today live in geonnax, argminax, gaussx and sesmax.
Nothing imports gauss-flows-models except pyrox.
What does not change: the maths, gates and APIs of the four companion pages, flowjax as the base of every bijection, paramax as the storage of unconditional parameters, and functax and gaussx as the homes of interpolation and Gaussian algebra.
2Motivation¶
The four companion pages left three conflicts.
gauss_flows and geonnax. The conditioning page put conditioners in geonnax and moved gauss_flows a tier up to import them, although conditioners are about producing a map’s parameters, which is gauss_flows’s subject.
gauss_flows and argminax. gauss_flows was to import argminax (
monotone_inverse, the reparametrisation contract), and the owner’s wish that argminax use gauss_flows’s bijections would have closed a cycle.Weight and layer. argminax is Core; gauss_flows is GeoML and brings flowjax, diffrax, scikit-learn and (until gauss_flows#165) numpyro, so argminax could not import it whole.
The role ladder cuts gauss_flows where the layers need it cut. Its bijections, surjections, reparametrisations and conditioners are ⓪ structures with ① primitives and ② strategies, which the libraries below and beside gauss_flows need. Its flows, distributions and filters are ③ models and ④ algorithms, which only gauss_flows’s own users and pyrox need.
The cut is clean in the code. On origin/main (1 Dec 2026), no module of transforms/, nn/time_net.py, conditioning.py, _protocols.py or utils.py imports distributions/, flows/, inference/, init/ or info_theory.py at runtime; only two docstring examples (transforms/stochastic/vae.py and transforms/surjections/pool.py) import SurVAEFlow and VAE from the top level, and they move to the models package’s docs. The other direction is used: flows/gaussianization.py, flows/survae.py, flows/class_cond_flow.py, distributions/sphere.py and init/rbig.py import from transforms/.
There are no users, so there is no compatibility to keep (the owner, 1 Dec 2026).
3User stories¶
As a library author below GeoML (argminax, a solver, a reparametrised model), I want bijections and positive maps from a light Core package, so that I do not install flows, distributions and their dependencies to get a softplus with an inverse.
As a neural-field author in geonnax, I want FiLM and hypernetworks from the same package that gives gauss_flows its conditioners, so that both start from the same initialisation rules.
As a flow author, I want the parts I compose (layers, conditioners, maps) separate from the models I fit, so that each has one obvious home.
4Background: the rungs¶
Each piece of the four companion pages sits on one rung and in one package.
| Piece | Rung | Package | Comes from |
|---|---|---|---|
| bijection, surjection, injection contract | ⓪ structure | maps | gauss_flows transforms/base.py, flowjax |
| elementwise maps (exp, softplus, sigmoid, composed) | ⓪ structure | maps | argminax Reparametrised |
| structured maps (Cholesky factor, simplex) | ⓪ structure | maps | new (Reparametrisation page R2) |
| bijection layers: affine, coupling, linear, normalisation, periodic, reshape, classic | ⓪ structure | maps | gauss_flows transforms/bijections/ |
| spline and histogram bijections, on functax | ⓪ structure | maps | gauss_flows elementwise/, coupling/ |
| surjections and stochastic transforms | ⓪ structure | maps | gauss_flows transforms/surjections/, stochastic/ |
conditioners: AffineModulation, ConcatConditioner, HyperLinear | ⓪ structure | maps | geonnax conditioning/ |
time gates (TimeFourier, TimeTanh, TimeIdentity) | ⓪ structure | maps | gauss_flows nn/time_net.py |
forward, inverse, log_det, parameter(), zero_readout, pack_time_control | ① primitive | maps | several |
monotone_inverse | ① primitive | maps | gaussx mixture_quantile |
Chandrupatla | ② strategy | maps | gaussx |
| identity-at-init, hyperfan calibration | setup | maps | Shared conditioning page B1, B3 |
flows (Transformed builders, Gaussianization, RBIG, SurVAE, class-conditional) | ③ model | models | gauss_flows flows/ |
distributions (LowRankGaussian, StructuredGaussian, GMRFBase, LinearGaussianSSM, mixtures, conditional Gaussians, sphere) | ③ model | models | gauss_flows distributions/, Gaussians page |
| continuous-time flows (FFJORD) and their vector-field nets | ⓪ structure (a continuous bijection and its fields) | models | gauss_flows transforms/bijections/continuous/, nn/diffeq_nets.py, _divergence.py |
normalizing_kalman_filter, transform and conjugate filters | ③ model, ④ algorithm | models | gauss_flows flows/ |
| information theory, training, RBIG initialisation | ④ algorithm, setup | models | gauss_flows info_theory.py, inference/train.py, init/ |
Continuous-time flows go to the models package. A continuous flow’s forward map is an ODE solve and its log-determinant a stochastic trace, so it is an algorithm over a vector field rather than a layer; it is also the only part of the maps side that needs diffrax and matfree. Moving it keeps the maps package’s third-party dependencies to jax, jaxtyping, equinox, einops, einx, paramax, flowjax and optimistix, plus functax for the spline and histogram bijections.
geonnax keeps the models built from conditioners. ConditionedINR and HyperSIREN are ③ models over geonnax’s SIREN; they import their conditioners from the maps package.
argminax keeps the algorithms over maps. The Laplace push-forward and sampling through a map are ④ algorithms; they take any object with forward through a Protocol, so argminax does not import the maps package.
5Background: dependencies¶
| Package | Layer, tier | Imports (ours) |
|---|---|---|
| gaussx | Core, 0 | none |
| functax | Core, 0 | none |
gauss-flows-maps | Core, 1 | functax |
| argminax | Core, 1 | gaussx; maps only through a Protocol |
gauss-flows-models | GeoML, 0 | gauss-flows-maps, functax, gaussx |
| geonnax | GeoML, 0 | gauss-flows-maps, functax |
| kernellib | GeoML, 1 | geonnax, gaussx |
| pyrox (pyrox-flows, -nn, -gp, -ssm, -gauss) | GeoML, 2 | gauss-flows-models, gauss-flows-maps, geonnax, kernellib, argminax, gaussx |
| sesmax | GeoModels | gauss-flows-maps, argminax and others |
Every edge points down a tier or a layer. The three conflicts are gone:
gauss_flows and geonnax. Neither imports the other; both import the maps package, so they stay side by side at GeoML tier 0 and the gauss_flows conditioning page’s tier move S1 is dropped.
gauss_flows and argminax. The models package needs nothing from argminax, because
monotone_inverseis in the maps package and a flow already is a map; argminax needs nothing from gauss_flows, because it types maps with aProtocol. Neither imports the other.gaussx.
mixture_quantileandChandrupatlamove up into the maps package, which gaussx never imports.
Why the maps package is Core tier 1, not 0. Its spline and histogram bijections are built on functax’s interpolants (Core tier 0), and the graph forbids imports within a tier. At tier 1 it sits beside argminax and integrix, which is why argminax reaches it through a Protocol rather than an import.
6What moves¶
| From | Names | To |
|---|---|---|
geonnax conditioning | AbstractConditioner, ConcatConditioner, AffineModulation (FiLM), HyperLinear | maps |
argminax solve | Reparametrised | maps |
gaussx _primitives | mixture_quantile (as monotone_inverse), Chandrupatla | maps |
| sesmax-core | positive, interval | maps (Reparametrised(...).parameter) |
| gauss_flows | everything in the rung table above | maps or models |
geonnax keeps ConditionedINR, GeneratedSiren and HyperSIREN; argminax keeps Laplace, laplace_mode and its push-forward and sampling; gaussx keeps mixture_quantile_gaussian_approx.
Every move drops the old name with no deprecation window, and each PR body lists the old and new paths.
pyrox-nn’s Bayesian conditioners swap the fields proj and generator by name; the fields keep their names, and only pyrox-nn’s import path changes.
7The graph needs per-package layers¶
geostack’s scripts/dependency_graph.py gives each repository one layer (the CORE set, or the folder under references/), and lets a workspace package take a different tier inside that layer (PACKAGE_TIERS, used for pyrox-gauss and pyrox-xtreme).
gauss-flows-maps needs a different layer from the rest of its repository.
The script gains a PACKAGE_LAYERS table, {"gauss_flows": {"gauss-flows-maps": ("core", 1)}}, read wherever it now reads the repository’s layer, and its rules and generated guards treat the package as a Core repository of tier 1.
Recommended over giving the maps package its own repository, because workspaces are where the stack is heading (geostack#252, geostack#253).
8Background numerics¶
Nothing computes differently. The split moves modules between packages; no forward map, inverse, log-determinant or initialisation changes in L2. The numerical changes of the companion pages (identity at init, the hypernetwork scale, exact monotone inverses, gaussx densities) land in their own issues, each with its own gates.
paramax storage is unchanged. A Parameterize leaf is unwrapped by flowjax’s distributions inside log_prob and sample, by flowjax’s losses, and by sesmax’s models, exactly as today; parameter() only builds the leaf.
One jit boundary. Neither package jits internally; the caller jits once at the top, as in the rest of the stack.
Import cost. import gauss_flows_maps must not import diffrax, matfree, scikit-learn or numpyro (gate GL-G4), so a consumer such as argminax’s tests or geonnax pays only for flowjax and optimistix.
9API proposal¶
Each package’s root lists its public modules, and every name is reached through its module (gauss_flows_maps.bijections.AffineCoupling), as in functax and argminax. A name keeps its spelling when it moves; only the import path changes, with no deprecation window.
gauss-flows-maps (gauss_flows_maps)¶
| Module | Public names | Today |
|---|---|---|
bijections | ActNorm, ActNorm1D, BatchNorm, GeneralizedDivisiveNormalization, GeneralizedDivisiveNormalization1D | gauss_flows normalisation |
bijections | AffineCoupling, GINCoupling, ContinuousAffineCoupling, DeepSigmoidCoupling, MixtureGaussianCDFCoupling, RQSplineCoupling, CircularRQSplineCoupling | gauss_flows coupling |
bijections | HistogramCDF, InverseGaussCDF, MixtureGaussianCDF, MixtureLogisticCDF, RQSplineMarginal, CircularRationalQuadraticSpline | gauss_flows elementwise |
bijections | FixedRotation, HouseholderRotation, OrthogonalRotation, Invertible1x1Conv, Orthogonal1x1Conv, OrthogonalConvExponential, LULinearPermute, MatrixExponential, HaarWavelet | gauss_flows linear |
bijections | PeriodicShift, PeriodicWrap, PlanarFlow, SylvesterFlow, Squeeze | gauss_flows periodic, classic, reshape |
bijections | TimeFourier, TimeTanh, TimeIdentity | gauss_flows nn |
surjections | AbstractSurjection, AbstractStochastic, ConditionalDistribution, Augment, Slice, SimpleAbsSurjection, SimpleMaxPoolSurjection2d, SimpleSortSurjection, StochasticPermutation, VAE | gauss_flows surjections, stochastic |
sphere | expmap_sphere, logmap_sphere, tangent_basis | gauss_flows |
reparam | AbstractReparametrisation, Reparametrised, Composed, CholeskyFactor, Simplex | argminax Reparametrised; new |
conditioning | AbstractConditioner, ConcatConditioner, AffineModulation, HyperLinear, Conditioner, zero_readout | geonnax; gauss_flows.Conditioner |
conditioning | pack_time_control, unpack_time_control, time_control_cond_shape | gauss_flows |
monotone | monotone_inverse, Chandrupatla | gaussx (gauss_flows#166) |
geonnax’s alias FiLM for AffineModulation is dropped: with no users, one name per object is simpler.
The bijections keep flowjax’s AbstractBijection as their base, so flowjax.distributions.Transformed, flowjax.bijections.Chain and Coupling keep working; flowjax’s base class is imported from flowjax, never re-exported.
# gauss_flows_maps.reparam: the contract every map satisfies (proposed, L4)
class AbstractReparametrisation(eqx.Module):
def forward(self, u): ...
def inverse(self, x): ...
def log_det_jacobian(self, u) -> Float[Array, ""]: ...
def parameter(self, value) -> paramax.Parameterize:
"""Parameterize(self.forward, self.inverse(value))."""
# gauss_flows_maps.monotone (proposed, gauss_flows#166)
def monotone_inverse(fn, target, lower, upper, *, solver=None, rtol=1e-4, atol=1e-6,
max_steps=64, throw=False): ...The conditioner, map and inverse signatures are those of the gauss_flows conditioning, gauss_flows reparametrisation and gauss_flows monotone maps pages.
gauss-flows-models (gauss_flows_models)¶
| Module | Public names | Today |
|---|---|---|
flows | gaussianization_flow, coupling_gaussianization_flow, iterative_rbig, SurVAEFlow, ClassCondFlow | gauss_flows flows |
flows | FFJORD, DiffeqMLP, DiffeqConcat | gauss_flows continuous bijections and nn (GL-D4) |
distributions | LowRankGaussian, StructuredGaussian, GMRFBase, LinearGaussianSSM | new or renamed (gauss_flows Gaussians page) |
distributions | GaussianMixture, ClassCondDiagGaussian, ConditionalDiagGaussian, UniformOnSphere, VonMisesFisher | gauss_flows distributions |
filters | normalizing_kalman_filter, TransformFilter, ConjugateTransformFilter, rbig_conjugate_filter | gauss_flows flows |
inference | fit_gaussianization_flow, fit_rbig, fit_rbig_coupling | gauss_flows inference, init |
info_theory | entropy, negentropy, total_correlation, mutual_information, kl_divergence, entropy_reduction, total_correlation_reduction, kl_divergence_reduction, information_reduction | gauss_flows |
info_theory | gaussian_entropy, gaussian_kl_divergence, gaussian_total_correlation, gaussian_mutual_information | gauss_flows, on gaussx (gauss_flows Gaussians page) |
Leaving gauss_flows for good: GaussianPCA (replaced by LowRankGaussian), and NumpyroBase, FlowDist and FlowGuide (to pyrox-flows, pyrox#591, gauss_flows#165).
The workspace¶
# gauss_flows/pyproject.toml (the workspace root; no package of its own)
[tool.uv.workspace]
members = ["packages/*"]
# packages/gauss-flows-maps/pyproject.toml
[project]
name = "gauss-flows-maps"
dependencies = ["jax", "equinox", "jaxtyping", "einops", "einx", "paramax",
"flowjax", "optimistix", "functax[jax] @ git+…"]
# packages/gauss-flows-models/pyproject.toml
[project]
name = "gauss-flows-models"
dependencies = ["gauss-flows-maps", "flowjax", "diffrax", "matfree", "scikit-learn",
"gaussx @ git+…", "functax[jax] @ git+…"]Each package gets its own release-please component and tag (gauss-flows-maps-vX.Y.Z, gauss-flows-models-vX.Y.Z), as pyrox’s members do. Version floors are set by L2 from the environment gate E-G1 of the gauss_flows conditioning page.
What the consumers change¶
# argminax: algorithms over any map, with no import of gauss_flows_maps (proposed, L6)
class Reparametrisation(Protocol):
def forward(self, u): ...
def inverse(self, x): ...
def push_forward(reparam: Reparametrisation, posterior: Laplace) -> Laplace: ...
def sample(reparam: Reparametrisation, posterior: Laplace, n: int, *, key) -> Array: ...geonnax’s geonnax.conditioning keeps ConditionedINR, GeneratedSiren and HyperSIREN, whose conditioner_cls now takes the classes of gauss_flows_maps.conditioning (L7). sesmax-core’s positive(value) and interval(value, lower, upper) become Reparametrised("softplus").parameter(value) and Reparametrised("sigmoid", lower=lower, upper=upper).parameter(value) (L8). pyrox-nn’s Bayesian conditioners import from gauss_flows_maps.conditioning and keep swapping proj and generator.
10API usage examples¶
The blocks use the code-sketch markers; proposed (L2) is the layout’s issue L2, and names whose only change is the import path are marked with the issue that moves them. The running example is a 2-D conditional density, a neural field over sea-surface temperature, and a positive viscosity in an ocean model.
A flow author composes layers from the maps package and fits a model from the models package.
import jax.random as jr
from gauss_flows_maps.bijections import AffineCoupling
from gauss_flows_models.flows import gaussianization_flow
from gauss_flows_models.inference import fit_gaussianization_flow
# Shapes: D = 2 event dims; N = 5,000 samples
# proposed (L2; today gauss_flows.gaussianization_flow)
# p(x) = 𝒩(T⁻¹(x); 0, I) |det ∂T⁻¹/∂x|, T a chain of marginal and rotation layers
flow = gaussianization_flow(jr.key(0), n_dims=2, n_layers=8)
# proposed (L2; today gauss_flows.fit_gaussianization_flow)
# maximum likelihood on the samples
# (N, D) → model, losses
flow, losses = fit_gaussianization_flow(jr.key(1), flow, samples)
# proposed (L2; today gauss_flows.AffineCoupling)
# one coupling layer conditioned on a 3-vector, to chain by hand
coupling = AffineCoupling(jr.key(2), shape=(2,), cond_dim=3)A neural-field author in geonnax conditions a SIREN on a context with the maps package’s FiLM.
import jax.numpy as jnp
import jax.random as jr
from gauss_flows_maps.conditioning import AffineModulation
from geonnax.conditioning import ConditionedINR
from geonnax.fields import SIREN
# Shapes: D_in = 2 coordinates; K = 4 context features; C = 64 hidden features
# today (geonnax)
# a 4-layer SIREN on (lon, lat), 64 features wide
inner = SIREN.init(2, 64, 1, depth=4, key=jr.key(0))
# proposed (L7)
# y = γ(c) ⊙ h + β(c) after every hidden layer; the identity at init (B1)
field = ConditionedINR.init(inner, conditioner_cls=AffineModulation, cond_dim=4,
key=jr.key(1))
# today (geonnax)
# (D_in,), (K,) → (1,)
sst = field(jnp.array([0.1, -0.3]), jnp.zeros(4))A retrieval in argminax fits a Laplace posterior in an unconstrained u and reports it in x through a maps-package map, which argminax never imports.
import jax.random as jr
from argminax.solve import laplace_mode, sample
from gauss_flows_maps.reparam import Reparametrised
# Shapes: P = 3 parameters; S = 1,000 draws
# proposed (L4)
# x = 10⁻⁶ + softplus(u)
positive = Reparametrised("softplus", lower=1e-6)
# today* (argminax)
# û, Σ_u from a Laplace fit of the cost written in u
posterior_u = laplace_mode(cost_in_u, u0)
# proposed (L6)
# x_s = g(u_s), u_s ~ 𝒩(û, Σ_u); argminax reads only forward and inverse
# → (S, P)
draws_x = sample(positive, posterior_u, 1000, key=jr.key(0))A modeller in sesmax stores a positive viscosity as a paramax leaf.
import paramax
from gauss_flows_maps.reparam import Reparametrised
# proposed (L8; today sesmax_core positive(1e-4))
# ν = softplus(u), stored as u = softplus⁻¹(10⁻⁴)
viscosity = Reparametrised("softplus").parameter(1e-4)
# today (paramax)
# ν = 10⁻⁴ after unwrapping
# → ()
nu = paramax.unwrap(viscosity)samples, cost_in_u and u0 are the user’s; laplace_mode’s arguments are sketched (today*).
11Gates¶
| Gate | Passes when |
|---|---|
| GL-G1 cut | maps imports nothing from models |
| GL-G2 graph | geostack’s dependency check passes with the new layers |
| GL-G3 protocol | argminax samples through a maps object it never imported |
| GL-G4 weight | installing maps pulls no diffrax, matfree, scikit-learn or numpyro |
| GL-G5 consumers | geonnax, argminax, sesmax and pyrox tests pass |
GL-G1 cut. A test in the maps package fails if any module under src/gauss_flows_maps imports gauss_flows_models, and its doctests run without the models package installed.
GL-G2 graph. tests/test_dependency_graph.py in geostack passes with gauss-flows-maps at Core tier 1 and gauss-flows-models at GeoML tier 0, and the generated guards of gauss_flows, geonnax and argminax list the new edges.
GL-G3 protocol. argminax’s sample and push_forward, given a gauss_flows_maps.reparam.Reparametrised and a Laplace, equal the results of today’s Reparametrised.sample and push_forward to 1e-12 in float64, in a test that imports the maps package only in the test.
GL-G4 weight. uv pip install gauss-flows-maps in a clean environment installs none of diffrax, matfree, scikit-learn or numpyro.
GL-G5 consumers. geonnax’s conditioning tests, argminax’s reparametrisation tests, sesmax-core’s tests and pyrox-nn’s conditioning tests pass against the first maps release, with only import paths changed.
12Risks¶
The workspace split is a migration. CI, release-please, the docs site and geostack’s submodule change for gauss_flows. Mitigation: one issue does the split with no behaviour change, before anything moves in.
flowjax in Core. The maps package brings flowjax, and through it optax, lineax, paramax and tqdm, into Core. They are third-party and small; accepted.
Many repositories move at once. Mitigation: the order below adds each name to the maps package before its donor removes it, so no consumer is ever without a home.
13Follow-up issues¶
Each issue is written to be self-contained when filed.
| ID | Repo | Title |
|---|---|---|
| L1 | geostack | feat(dependency-graph): per-package layers, with gauss-flows-maps in Core tier 1 |
| L2 | gauss_flows | build: a uv workspace of gauss-flows-maps and gauss-flows-models, with no behaviour change |
| L3 | gauss_flows | gauss_flows#166: feat(maps): monotone_inverse and Chandrupatla (filed as argminax#110, transferred 1 Dec 2026) |
| L4 | gauss_flows | feat(maps): reparametrisations: Reparametrised, Composed, CholeskyFactor, Simplex and parameter() |
| L5 | gauss_flows | feat(maps): conditioners with identity at init and hyperfan calibration |
| L6 | argminax | refactor!: Reparametrised leaves for gauss-flows-maps; push_forward and sample take a Protocol |
| L7 | geonnax | refactor!: conditioners come from gauss-flows-maps; ConditionedINR and HyperSIREN stay |
| L8 | sesmax | refactor(sesmax-core): positive and interval from gauss-flows-maps |
| L9 | gauss_flows (models) | refactor(models): continuous flows and training reuse integrix, gaussx and pipekit where they own the piece |
gaussx#905 (gaussx drops mixture_quantile) and pyrox#590 (pyrox-nn’s exact quantiles) point at L3 instead of argminax. The models-side issues of the Gaussians and gauss_flows monotone maps pages land in gauss-flows-models or gauss-flows-maps by the rung table, and the gauss_flows conditioning page’s gauss_flows issues F1 to F4 land in the maps package.
Order. L1 and L2 go first and in parallel. L3, L4 and L5 follow L2. L6 follows L4, L7 follows L5, and L8 follows L4. gaussx#905 follows L3. L9 follows L2.
L9, the audit GL-D4 asks for. Moving the continuous flows and the training code into the models package is the moment to hand each piece to the library that owns its concept. The candidates found on origin/main (1 Dec 2026), each to be confirmed in L9 before it moves:
| Piece in gauss_flows today | Candidate owner | Why |
|---|---|---|
continuous/_ode.py: the ODE solve and its adjoint picked by name (backsolve, direct, recursive checkpoint) | integrix | integrix owns adjoint specs (Checkpointed, Truncated, to_diffrax_adjoint) and ODE stepping (integrix.march) |
_divergence.py: the Hutchinson divergence through matfree’s stochastic trace | gaussx | gaussx owns stochastic trace and log-determinant estimators on lineax operators; the divergence is the trace of a Jacobian operator |
inference/train.py: a wrapper over flowjax’s fit_to_data | pipekit-train, or kept | pipekit-train owns training loops; keep the wrapper if pipekit-train adds nothing for one flow |
init/rbig.py: per-dimension Gaussian mixtures fitted with scikit-learn | gauss_flows itself, or argminax | a JAX EM fit would drop scikit-learn from the models package; argminax only if it is a general fit |
utils.py: stable_norm_logpdf | gaussx, or jax.scipy.stats.norm.logpdf | a standard-normal log-density needs no helper of its own |
functax already takes the interpolation pieces through the gauss_flows monotone maps page.
14Filed issues¶
Filed on 1 Dec 2026. Every issue is a sub-issue of its page’s epic, and the epics are sub-issues of the umbrella; the blocked-by links follow each page’s Order section.
| Draft ID | Page | Issue |
|---|---|---|
| Umbrella epic | — | gauss_flows#167 |
| Layout epic | gauss_flows_layout.md | gauss_flows#168 |
| Conditioning epic | gauss_flows_conditioning.md | gauss_flows#169 |
| Gaussians epic | gauss_flows_gaussians.md | gauss_flows#170 |
| Monotone maps epic | gauss_flows_monotone_maps.md | gauss_flows#171 |
| Reparametrisation epic | gauss_flows_reparametrisation.md | gauss_flows#172 |
| L1 | gauss_flows_layout.md | geostack#342 |
| L2 | gauss_flows_layout.md | gauss_flows#173 |
| L4 (also GR’s R1) | gauss_flows_layout.md | gauss_flows#174 |
| L5 | gauss_flows_layout.md | gauss_flows#175 |
| L6 (also GR’s R2) | gauss_flows_layout.md | argminax#111 |
| L7 (also GC’s B4) | gauss_flows_layout.md | geonnax#205 |
| L8 (also GR’s R4) | gauss_flows_layout.md | sesmax#340 |
| L9 | gauss_flows_layout.md | gauss_flows#176 |
| B1 | gauss_flows_conditioning.md | gauss_flows#177 |
| B2 | gauss_flows_conditioning.md | gauss_flows#178 |
| B3 | gauss_flows_conditioning.md | gauss_flows#179 |
| B5 | gauss_flows_conditioning.md | pyrox#594 |
| F2 | gauss_flows_conditioning.md | gauss_flows#180 |
| F3 | gauss_flows_conditioning.md | gauss_flows#181 |
| F4 | gauss_flows_conditioning.md | gauss_flows#182 |
| S2 | gauss_flows_gaussians.md | geostack#343 |
| G1 | gauss_flows_gaussians.md | gauss_flows#183 |
| G2 | gauss_flows_gaussians.md | gauss_flows#184 |
| G3 | gauss_flows_gaussians.md | gauss_flows#185 |
| G4 | gauss_flows_gaussians.md | gauss_flows#186 |
| G5 | gauss_flows_gaussians.md | gauss_flows#187 |
| G6 | gauss_flows_gaussians.md | gauss_flows#188 |
| M1 | gauss_flows_monotone_maps.md | functax#190 |
| M2 | gauss_flows_monotone_maps.md | functax#191 |
| N2 | gauss_flows_monotone_maps.md | gauss_flows#189 |
| R3 | gauss_flows_reparametrisation.md | gauss_flows#190 |
| L3 | gauss_flows_layout.md | gauss_flows#166 (filed as argminax#110) |
| NumPyro move | gauss_flows_gaussians.md | pyrox#591, gauss_flows#165 |
| N1 | gauss_flows_monotone_maps.md | gauss_flows#162, re-scoped in place on 1 Dec 2026 |
| N3 | gauss_flows_monotone_maps.md | gauss_flows#114, re-scoped in place on 1 Dec 2026 |
15Decisions¶
| ID | Decision | Status |
|---|---|---|
| GL-D1 | gauss_flows splits into gauss-flows-maps (Core 1) and gauss-flows-models (GeoML 0) along the role ladder | decided 1 Dec 2026 |
| GL-D2 | the names: gauss-flows-maps (not -ops, which means pipekit Operators in this stack) and gauss-flows-models | decided 1 Dec 2026 |
| GL-D3 | geostack’s graph gains per-package layers, rather than a separate repository for the maps package | decided 1 Dec 2026 |
| GL-D4 | continuous-time flows go to the models package, so the maps package needs neither diffrax nor matfree; moving them is also the moment to hand pieces to integrix, gaussx or pipekit where those own them (L9) | decided 1 Dec 2026 |
GL-D4 was decided by the owner on 1 Dec 2026, with the instruction to refactor where needed and pull out pieces that belong in integrix, argminax or functax; L9 is that audit.
16References¶
The role ladder: Kinds and roles.
The rules of the graph: the dependency graph page.