| Documentation |
|---|
| Install | API reference | Theory | Benchmarks | Gallery |
ScireX is a JAX-native library of neural operators for scientific machine learning. Neural operators learn mappings between function spaces, not between fixed-size vectors, so an operator trained on one mesh or grid can be evaluated on another without retraining. The library is for PDE solving, surrogate modelling and multi-scale physical systems, and it uses JAX's XLA compilation, automatic differentiation and accelerator support.
It provides four architectures behind one model interface:
FNO (Fourier Neural Operator),
WNO (Wavelet Neural Operator),
GINO (Geometry-Informed Neural Operator) and
Transolver (Transformer solver with
Physics-Attention), plus the experimental GIWO. Every model works with jit, vmap and grad.
Nine benchmark problems compare the models at a matched parameter budget with published
results, and physics-informed losses let you train without labelled solutions. ScireX
builds on SciREX, the earlier research framework from the AiREX Lab at IISc (a separate project).
Install
pip install scirex # CPU
pip install "scirex[cuda12]" # NVIDIA GPU, CUDA 12
From source:
git clone https://github.com/zenteiq-research/scirex
cd scirex
python3 -m venv scirex-venv && source scirex-venv/bin/activate
pip install -e . # CPU
pip install -e ".[cuda12]" # NVIDIA GPU, CUDA 12
Try your first ScireX program
import jax
import jax.numpy as jnp
from scirex.models import FNO
model = FNO(n_modes=(16, 16), hidden_channels=64, n_layers=4, in_channels=1, out_channels=1)
x = jnp.ones((4, 1, 64, 64)) # batch of 4, 1 channel, 64 x 64 grid
params = model.init(jax.random.PRNGKey(0), x)
out = model.apply(params, x)
print(out.shape) # (4, 1, 64, 64)
For more examples see the tutorials and the user guide.
Supported platforms
| Platform | Support |
|---|---|
| Ubuntu 22.04 and 24.04 LTS, x86_64, CPU | Supported, tested in CI |
| Ubuntu 22.04 and 24.04 LTS, x86_64, NVIDIA GPU (CUDA 12) | Supported |
| macOS on Apple Silicon (macOS 14 or later), CPU | Supported, tested in CI |
| Native Windows 11, Python 3.10 to 3.12, CPU | Supported; see the Windows tab of Install with pip |
| GPU on native Windows | Not supported (JAX has no CUDA build for native Windows; for an NVIDIA GPU on Windows use Ubuntu under WSL2) |
| GPU on macOS (Apple Silicon) | Not supported (JAX has no GPU backend for it; scirex runs on the CPU) |
| Ubuntu 20.04 and older | Not supported (its standard support ended in 2025) |
| CUDA 13 | Not supported in 1.0 |
See Install for the details and the check script, and Use Docker for the container images.
Optional extras and GPU settings
wandb (Weights & Biases logging) and open3d (fast radius search, MeshDataModule) are not
installed by default.
pip install -e ".[wandb]" # logging only
pip install -e ".[open3d]" # point-cloud neighbour search
pip install -e ".[benchmark]" # wandb, open3d, vtk, meshio, pandas
pip install -e ".[dev]" # development tools
pre-commit install
requirements.txt holds the exact versions the project is tested with. Use it for a
reproducible environment: pip install -r requirements.txt.
For GPU work, these variables help control JAX memory allocation and device selection:
export XLA_PYTHON_CLIENT_PREALLOCATE=false
export XLA_PYTHON_CLIENT_ALLOCATOR=platform
export CUDA_VISIBLE_DEVICES=0
Benchmarks
Each problem is trained with up to four models (FNO, WNO, GINO and Transolver; GIWO, which is experimental, on the car problems) at a matched parameter budget and compared with the numbers in the reference papers. The table shows the best ScireX model for each problem. Click a problem for the full model comparison, the setup, the error curves and the commands to reproduce it.
| Problem | Metric | Best ScireX model | Published reference |
|---|---|---|---|
| Darcy flow 2D, data-driven | Test relative L2 | Transolver, 0.532% | Transolver 0.57% [5] |
| Darcy flow 2D, physics-only (no solutions) | Test relative L2 | Transolver, 0.565% | Transolver 0.57%, with 1000 labels [5] |
| Pipe flow | Test relative L2 | Transolver, 0.386% | Transolver 0.33% [5] |
| Navier-Stokes 2D | Rollout relative L2 | GINO, 6.66% | Transolver 9.00% [5] |
| Lid-driven cavity | One-step RMSE (m/s) | GINO, 1.95e-3 | FNO 6.43e-3 [7] |
| Chip cooling | Mean absolute error in kelvin (K) | FNO, 0.122 | POD-NN 1.534 [8] |
| AirfRANS | Volume / surface error | Transolver, 0.131% / 0.046% | Transolver 0.37% / 1.42% [5] |
| ShapeNetCar | Volume / surface relative L2 | Transolver, 2.23% / 7.67% | Transolver 2.07% / 7.45% [5] |
| Car-CFD | Test relative L2 | Transolver, 6.81% | GINO 7.12% [3] |
Lower is better in every row. Where a problem was trained with several seeds, the table gives the best seed (Darcy flow: 0.532%, mean 0.556% over five seeds); the problem page lists every seed and the mean. Where a published number is better than ours (Pipe flow and ShapeNetCar), the table shows it as it is. The Pipe flow Transolver uses a recipe tuned on the test set; with the paper's recipe it reaches 0.424%. The physics-only Darcy model is trained without a single solution: its loss is the finite-element energy of the PDE.
|
Darcy flow, physics-only Transolver |
Navier-Stokes 2D, 10-step rollout |
|
AirfRANS, Transolver |
Car-CFD, Transolver |
Each animation shows the prediction, the ground truth and the absolute error. They are in the benchmark gallery. The setups are in the benchmark docs.
The trained checkpoints are on Hugging Face, one repository per model and benchmark, in the ScireX collection. The checkpoint cards list each one with its result.
Reproduce the results table
scripts/reproduce.py rebuilds the results table from the released checkpoints. It
runs each benchmark's infer.py on the released weights (inference only, no training) and
writes the numbers it measures to results.csv, results_table.csv and results_table.tex. The
cell-to-checkpoint map is in Reproduce our benchmarks.
pip install -e ".[all,cuda12]" # everything, with the NVIDIA GPU wheels
scripts/reproduce.sh # every cell of the results table, inference only
scripts/reproduce.sh --only "Pipe,Cavity" # selected rows or models
python scripts/reproduce.py --list # the cell-to-checkpoint map
python scripts/dev/check_tables.py --strict # no checkpoints: committed metrics match the doc tables
Set SCIREX_CKPT_ROOT to the folder that holds the downloaded checkpoints and SCIREX_DATA_ROOT
to the folder that holds the datasets (there is no default location). A cell
without a checkpoint is
reported as MISSING and the run continues (--strict-missing makes it fail).
Public API
Import from the package, not from the module that defines a name:
from scirex.models import FNO
from scirex.losses import LpLoss, Q4Galerkin
from scirex.training import adamw_cx
The stable API is the set of names exported by scirex.models, scirex.layers,
scirex.losses, scirex.data, scirex.training, scirex.config and scirex.utils. It follows
Semantic Versioning from 1.0, and removals go through a deprecation period of at least two minor
releases. Code under scirex.experimental (including GIWO) has no stability guarantee, and
scirex._internal is private. The API reference lists every name, the
experimental reference covers scirex.experimental, and the
API policy has the rules.
Contribution guidelines
If you want to contribute, read the Contribution Guidelines first. This project follows its Code of Conduct; by taking part you are expected to uphold it. Contributions need a signed Contributor Licence Agreement (companies use the corporate form). Governance and decision rules are in Governance.
We use GitHub Issues for bugs and feature requests. Never report a security issue in a public issue: the Security policy explains how to report it privately. For anything else write to research@zenteiq.ai.
Run the tests with:
make test-unit # fast, JIT disabled
make test-integration # JIT compiled, uses XLA cache
make test # full suite
make lint
Resources
- Install guide: Ubuntu, macOS, Windows, Docker, troubleshooting
- API reference
- Theory guide and loss guide
- Tutorials and user guide
- Benchmarks, reproducing the paper tables and the gallery
- Dataset guides
- Developer guide and API policy
- Community
Citation
If you use ScireX in research, please cite the software and the relevant method papers in References. The citation metadata is in the Citation file, and GitHub shows it behind the "Cite this repository" button.
License
GNU Lesser General Public License v3.0 only (LGPL-3.0-only) for the source code, unless a file states otherwise. Commercial and proprietary applications can use the library under the LGPLv3 conditions.
ZenteiQ-authored documentation and diagrams are licensed under CC BY 4.0; code examples stay LGPL-3.0-only unless marked otherwise. The licences of the datasets and of the model weights are stated on the Hugging Face repositories. Customer data and proprietary ZenteiQ assets are not covered by these default licences unless expressly identified. See LGPL v3 licence, GPL v3 licence, Notice and Third-party notices. Copyright (C) 2026 ZenteiQ AiTech Innovations Pvt. Ltd.
About
ScireX is a ZenteiQ open-source project, developed and maintained by ZenteiQ AiTech Innovations Pvt. Ltd. It builds on SciREX, the earlier research framework (a separate project), developed by ZenteiQ and the AiREX (AI for Research and Engineering eXcellence) Lab at the Indian Institute of Science (IISc), Bangalore. We thank the researchers, engineers, students and collaborators whose work shaped it.
References
-
Z. Li, N. Kovachki, K. Azizzadenesheli, et al., Fourier Neural Operator for Parametric Partial Differential Equations, ICLR 2021. https://arxiv.org/abs/2010.08895
-
N. Kovachki, Z. Li, B. Liu, et al., Neural Operator: Learning Maps Between Function Spaces with Applications to PDEs, Journal of Machine Learning Research (JMLR), 2023. https://arxiv.org/abs/2108.08481
-
Z. Li, N. Kovachki, C. Choy, B. Li, J. Kossaifi, S. Otta, M. A. Nabian, M. Stadler, C. Hundt, K. Azizzadenesheli, and A. Anandkumar, Geometry-Informed Neural Operator for Large-Scale 3D PDEs, NeurIPS 2023. https://arxiv.org/abs/2309.00583
-
T. Tripura and S. Chakraborty, Wavelet Neural Operator for Solving Parametric Partial Differential Equations, 2022. https://arxiv.org/abs/2205.02191
-
H. Wu et al., Transolver: A Fast Transformer Solver for PDEs on General Geometries, ICML 2024. https://arxiv.org/abs/2402.02366
-
Z. Li, D. Z. Huang, B. Liu, and A. Anandkumar, Fourier Neural Operator with Learned Deformations for PDEs on General Geometries (Geo-FNO), JMLR 2023. https://arxiv.org/abs/2207.05209
-
Costa Rocha et al., Deep Neural Network Modeling for CFD Simulations: Benchmarking the Fourier Neural Operator on the Lid-Driven Cavity Case, Applied Sciences 13(5), 3165, 2023. https://doi.org/10.3390/app13053165
-
D. Curl and H. Hu, Physically interpretable surrogate modeling of thermal fields in electronics cooling using combined proper orthogonal decomposition and neural networks, AI Thermal Fluids 6, 100040, 2026. https://doi.org/10.1016/j.aitf.2026.100040
-
F. Bonnet et al., AirfRANS: High Fidelity Computational Fluid Dynamics Dataset for Approximating Reynolds-Averaged Navier-Stokes Solutions, NeurIPS 2022 Datasets and Benchmarks. https://arxiv.org/abs/2212.07564
-
N. Umetani and B. Bickel, Learning Three-Dimensional Flow for Interactive Aerodynamic Design, ACM Transactions on Graphics 37(4), 2018. https://dl.acm.org/doi/10.1145/3197517.3201325
Metadata
Release files for scirex 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scirex-1.0.0.tar.gz | 572.2 kB | With provenance | Details for scirex-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scirex-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for scirex-1.0.0-py3-none-any.whl |
Total release size: 934.5 kB
Release files / scirex-1.0.0.tar.gz
| Download URL | scirex-1.0.0.tar.gz |
|---|---|
| Size | 572.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ed37eaa2867817e02ff7f65f497d589e3464e511bca0621d4d8fe21492c121c
|
|
BLAKE2b-256 checksum How to use checksums |
efa835a7df73f25518af09b4f1744cadfebdaa895ea7a6b39f7ebc58db480f1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / scirex-1.0.0-py3-none-any.whl
| Download URL | scirex-1.0.0-py3-none-any.whl |
|---|---|
| Size | 362.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46121c013b267add023b1b2ddc0102563123c764976b4539afd6f4fc626c6f26
|
|
BLAKE2b-256 checksum How to use checksums |
89e1f97d1d0225f4a16c1af0cde6669ccd60c40658d01da5be81e2700025f1a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logSecurity for scirex 1.0.0
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.
Attestation for scirex-1.0.0.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 Nov 13, 2026.
Transparency logA 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.