Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

omnibias-jax

Trace once. Differentiate a batch. Functional directional jets compose with jit and vmap.

Trace once. Differentiate a batch.

Static poster · Narrow-screen animation · How this visual is computed

A functionally represented network, coordinates and directions enter; traced derivative operators leave. Batch with vmap, compile with jit and keep coordinates and weights as runtime arguments. The traced program can be reused across data of the same abstract shape.

The animation uses computed outputs to explain this package. Frame transitions are illustrative unless a training step is explicitly identified; it is not a performance comparison.

API reference · Source · Tests · Talk to Derivon

The mathematical connection

The bias-collapse limit is evaluated by shared polynomial kernels and forward Taylor composition. This bypasses nested high-order spatial reverse-mode graphs on supported paths. JAX also supplies tensor operations to temperature-based consumers, but directional jets are not an annealing procedure. Compilation, steady-state evaluation and numerical error are separate measurements.

Run this README

The examples use omnibias-jax on Python >=3.10. Their installed-wheel profile selects runtime features, not an editable workspace. Install the prepared prerelease from PyPI:

python -m pip install --pre "omnibias-jax==0.5.0rc1"

For local development before publication, build and test the coordinated wheelhouse using the release guide. The package's wheel profile executes the examples below outside the source checkout.

Existing published consumers may need historical primitive versions; see the compatibility policy.

Why this package exists

High-order spatial derivatives and parameter gradients are different jobs. JAX omnibias carries the former through an explicit derivative representation, while jax.grad handles learning. This separation makes the computation inspectable and lets you select a contraction rather than materialize every entry of a high-order derivative tensor.

What you can build

  • Functional directional and multivariate jets with the same coefficient convention as Torch.
  • Direct one-layer, repeated and deep Laplacian paths for supported structures.
  • Runtime parameter flow through jit, vmap and gradient transformations.

Build a scalar residual loss whose weights are ordinary function arguments. Batch the operator over points, compile the intended workload, and differentiate with respect to parameters. For small workloads a native JAX transform may win; the benchmark guide includes those cases.

A working example

import jax
import jax.numpy as jnp
from omnibias.jax.jet import mlp_jet, jet_to_tower

def loss(w):
    layers = [(w, jnp.array([0.1, 0.2]), "tanh"),
              (jnp.array([[0.6, -0.4]]), None, None)]
    tower = jet_to_tower(mlp_jet(jnp.array([0.3]), jnp.ones(1), layers, order=4))
    return jnp.mean((tower[4] + tower[0]) ** 2)

value, gradient = jax.jit(jax.value_and_grad(loss))(jnp.array([[0.5], [-0.3]]))
assert gradient.shape == (2, 1)
assert bool(jnp.all(jnp.isfinite(gradient)))

Choose the right contract

Do not close over benchmark weights or inputs: constant folding can remove the work you intend to time. Synchronize results, separate compilation from execution, and enable x64 before constructing float64 arrays. Full mixed jets enumerate coefficients; the directional and direct-contraction paths have different scaling.

Explore and validate

The API guide contains the generated module/export inventory. Use it to find the focused implementation rather than guessing a symbol from another package. The capability map connects the primitives to larger scientific workflows.

From the main repository, run the package’s regression suite:

uv run pytest packages/omnibias-jax/tests -q

License

Apache-2.0. See LICENSE and the licensing policy.

Metadata

Release files for omnibias-jax 0.5.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnibias-jax 0.5.0rc1
File Size Uploaded Provenance Actions
omnibias_jax-0.5.0rc1.tar.gz 146.9 kB With provenance Details for omnibias_jax-0.5.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnibias-jax 0.5.0rc1
File Interpreter ABI Platform Actions
omnibias_jax-0.5.0rc1-py3-none-any.whl Python 3 none any Details for omnibias_jax-0.5.0rc1-py3-none-any.whl

Total release size: 273.9 kB

Release files / omnibias_jax-0.5.0rc1.tar.gz

Download URL omnibias_jax-0.5.0rc1.tar.gz
Size 146.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5c2d3bb2380663fab83538eced48657dc3d613c1e65746f6a6a09e28eea0b50f
BLAKE2b-256 checksum
How to use checksums
4bd5fd29a12e5d462dccdfb38cd8cae34ef04100fbac2d317e90d3a6453b3177
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / omnibias_jax-0.5.0rc1-py3-none-any.whl

Download URL omnibias_jax-0.5.0rc1-py3-none-any.whl
Size 127.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91d5c31d10f16ca413d0b22afe233ee62068da13caa0f21207cbc52e1ada3fd5
BLAKE2b-256 checksum
How to use checksums
7c213e115a8fbb85dacceecc1a4057733b78f5b4399f6672932edba603c80623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Security for omnibias-jax 0.5.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for omnibias_jax-0.5.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page