Pipe Flow: Results
Four neural operators, Transolver [1], WNO [2], FNO [3] and GINO [4], trained on the Pipe flow benchmark with the same data as the Transolver paper's exp_pipe.py. Each model maps the (x, y) mesh coordinates of a deformed pipe to the steady 2D Navier-Stokes solution on a 129 × 129 mesh. The commands to reproduce a run are on the problem card.
Result. The released Transolver reaches 0.386% test relative L2 (best of 3 seeds), against 0.33% ± 0.02% in the paper. Two things to know about that number:
- It comes from an Optuna-tuned recipe, an experimental hyperparameter search that was ranked on the test set, because this benchmark has no validation split. Treat 0.386% as optimistic.
- With the paper's own recipe the same model reaches 0.424% (best seed) and 0.460% ± 0.031% (mean over 3 seeds). The paper's PyTorch code, run on the same files, reaches 0.477%.
Setup
All four models are built in _models.py and trained by one runner (train.py) with Transolver's Pipe recipe from the paper's launch script. Each has about 3 million parameters (complex weights count as two real ones). The input is the normalised (x, y) only, and everything computes in float32.
| Model | Parameters | Main settings |
|---|---|---|
| Transolver | 3,073,985 | 8 layers, width 128, 8 heads, 64 slices, numerics as the PyTorch reference |
| WNO | 3,102,157 (+0.9%) | 4 layers, 20 channels, wavelet db4, decomposition level 3 |
| FNO | 2,999,629 (-2.4%) | 4 layers, 36 channels, n_modes=(24, 22) (12 modes each way) |
| GINO | 3,001,956 (-2.3%) | radius graph 0.05, FNO processor on the 129 × 129 mesh, 48 channels, 4 layers |
Training is the same for all four:
| Loss | Relative L2 per sample, summed over the batch |
| Optimiser | adamw_cx with weight decay 1e-5 and gradient clip 0.1 |
| Schedule | 500 epochs, cosine one-cycle learning rate with peak 1e-3 |
| Batch | 8 samples per step (GINO sums the gradients of 8 single samples) |
| Seeds and weights | Seeds 0, 1, 2; the weights after the last epoch are reported |
| Metric | Relative L2 of \(u\), mean over the 200 test samples (dimensionless) |
| Hardware | One NVIDIA RTX PRO 6000 Blackwell GPU, shared with other jobs |
FNO and GINO have complex weights, so they need the complex-aware optimiser (why). All settings are in _config.py.
Prediction
Ground truth, prediction and absolute error for one test sample per model. Transolver is drawn with the released (tuned) checkpoint.





Accuracy
Relative L2 over the 200 test samples, after the last epoch. The headline is each model's best seed, which is the released checkpoint, so infer.py on that checkpoint gives exactly this number.
| Model | Parameters | Best seed (released checkpoint) | Mean ± std (3 seeds) | Seeds 0 / 1 / 2 | Training time per seed |
|---|---|---|---|---|---|
| Transolver, Optuna-tuned recipe | 3,073,985 | 0.386% (seed 1) | 0.406% ± 0.034% | 0.446% / 0.386% / 0.387% | 106-215 min |
| WNO | 3,102,157 | 0.529% (seed 2) | 0.541% ± 0.012% | 0.542% / 0.552% / 0.529% | 11-12 min |
| FNO | 2,999,629 | 0.934% (seed 2) | 0.960% ± 0.023% | 0.979% / 0.966% / 0.934% | 17-21 min |
| GINO | 3,001,956 | 1.024% (seed 1) | 1.603% ± 0.972% | 2.725% / 1.024% / 1.061% | 188-198 min |
| Transolver, paper recipe | 3,073,985 | 0.424% (seed 0) | 0.460% ± 0.031% | 0.424% / 0.481% / 0.475% | 112-142 min |
- Transolver is the most accurate. At the same recipe, WNO's error is 1.18 times Transolver's (mean over seeds), and WNO trains about ten times faster.
- GINO varies most between seeds. Seed 0 is about 2.6 times worse than seeds 1 and 2, although all three fit the training set equally well (training error 0.12% to 0.14%). A retraining can therefore land well above 1.024%.
- A few hard geometries dominate. The worst test sample is 5.7% to 10.8% across models and seeds, against medians of 0.13% to 2.4%.
- Context. Geo-FNO's own
pipe.py(a different recipe and size, 1,188,385 parameters) reaches 0.67% in [5] and 0.678% when run unchanged on these files.
Per-seed results (mean, median, 90th percentile, worst sample)
The released checkpoint of each model is in bold.
| Model | Seed | Mean | Median | 90th percentile | Worst sample |
|---|---|---|---|---|---|
| Transolver, Optuna-tuned | 0 | 0.446% | 0.139% | 0.916% | 5.91% |
| Transolver, Optuna-tuned | 1 | 0.386% | 0.117% | 0.654% | 6.08% |
| Transolver, Optuna-tuned | 2 | 0.387% | 0.113% | 0.574% | 5.95% |
| Transolver, paper recipe | 0 | 0.424% | 0.135% | 0.636% | 6.04% |
| Transolver, paper recipe | 1 | 0.481% | 0.136% | 0.808% | 5.73% |
| Transolver, paper recipe | 2 | 0.475% | 0.143% | 1.023% | 6.10% |
| WNO | 0 | 0.542% | 0.290% | 0.635% | 6.03% |
| WNO | 1 | 0.552% | 0.288% | 0.659% | 5.99% |
| WNO | 2 | 0.529% | 0.278% | 0.601% | 6.06% |
| FNO | 0 | 0.979% | 0.407% | 2.723% | 10.38% |
| FNO | 1 | 0.966% | 0.376% | 2.442% | 10.62% |
| FNO | 2 | 0.934% | 0.354% | 2.883% | 9.52% |
| GINO | 0 | 2.725% | 2.438% | 4.469% | 10.81% |
| GINO | 1 | 1.024% | 0.672% | 1.801% | 6.88% |
| GINO | 2 | 1.061% | 0.788% | 1.506% | 7.21% |
Against the paper
| Test relative L2 | Runs | Weights | |
|---|---|---|---|
| [1], Transolver | 0.33% ± 0.02% | as reported | as reported |
Paper's exp_pipe.py (PyTorch), run here on the same files |
0.477% ± 0.050% | 3 runs | lowest test error over training |
| This repo, Optuna-tuned recipe, released checkpoint | 0.386% | best of 3 seeds | last epoch |
| This repo, Optuna-tuned recipe | 0.406% ± 0.034% | 3 seeds | last epoch |
| This repo, paper recipe | 0.424% (best seed), 0.460% ± 0.031% (mean) | 3 seeds | last epoch |
On the paper's recipe the ScireX Transolver is 1.39 times the published number (mean), and the paper's own code run here is 1.44 times it, even though that column picks each run's best epoch. The gap is therefore not specific to the JAX implementation, and its cause is not known. Both the tuned recipe and the choice of the best seed use the test set.
Error curves
Training and test error of each model's seed-0 run:

Compute cost
| Model | Per epoch (median) | First epoch (JIT compilation) | Total (500 epochs) |
|---|---|---|---|
| Transolver, paper recipe (batch 8) | ~13.5 s | ~31-78 s | 112-142 min per seed |
| Transolver, Optuna-tuned (batch 4) | ~12.5 s alone, ~25 s with two runs on one GPU | ~25-55 s | 106-215 min per seed |
| WNO | ~1.4 s | ~5-8 s | 11-12 min per seed |
| FNO | ~2.0 s | ~4.5-6.3 s | 17-21 min per seed |
| GINO | ~22.6 s | ~26-43 s | 188-198 min per seed, plus a few minutes to build the neighbour graphs |
The runs shared their GPU with other jobs, so the times are indicative, not a controlled benchmark.

Reproduce the Transolver runs
export PIPE_DATA_DIR=<DATA_DIR>
# 1. Train seeds 0, 1 and 2 (about 2 h each). transolver_tuned is the released
# checkpoint's recipe; transolver is the paper recipe shared with WNO, FNO and GINO.
python scripts/benchmarks/pipe/train.py --run transolver_tuned transolver
# 2. Evaluate the saved checkpoints and redraw the figures (about 1 min, no training)
python scripts/benchmarks/pipe/infer.py --run transolver_tuned transolver --out-dir <OUT_DIR>
# Or evaluate only the released checkpoint (prints 0.00386)
python scripts/benchmarks/pipe/infer.py --checkpoint <CKPT_DIR>/transolver \
--run transolver_tuned --out-dir <OUT_DIR>
The checkpoints were trained on 2026-10-26 and 2026-10-27 (paper recipe, from a clean working tree) and finished on 2026-11-04 (tuned recipe). metrics.json records the commit, library versions and each checkpoint's SHA-256, and infer.py reproduces the logged last-epoch error of every seed. The test error is also logged every epoch for the error curve, but no epoch is chosen by it.
Background
Tuned recipe
The released Transolver uses training settings found by an Optuna search, which is experimental and not part of the standard ScireX recipe. The question was how much of the gap to the paper's 0.33% better optimisation settings alone can close. The architecture stayed fixed.
| Searched | learning rate, weight decay, gradient clip, the three one-cycle schedule settings, batch size (4, 8 or 16) |
| Method | Optuna TPE through Ray Tune (tune_transolver.py), 20 trials, 4 at a time, 100 epochs each, seed 0 |
| Ranking | Lowest test relative L2, because there is no validation split. The chosen setting is therefore optimistic for this test set. |
| Outcome | 19 trials finished; one ran out of GPU memory. The best trial was the first one sampled, and none of the 18 after it improved on it. |
Batch size is the clearest pattern: batch-4 trials reached 0.58% to 0.63%, batch-8 trials 0.69% to 1.03%, and batch-16 trials 0.80% to 1.22%. The best setting, retrained for 500 epochs with seed 0:
| Setting | Paper recipe | Tuned |
|---|---|---|
| Learning rate (one-cycle peak) | 1e-3 | 2.79e-3 |
| Weight decay | 1e-5 | 2.50e-4 |
| Gradient clip | 0.1 | 0.488 |
pct_start / div_factor / final_div_factor |
0.3 / 25 / 1e4 | 0.334 / 7.13 / 8313 |
| Batch size | 8 | 4 |
| Test relative L2, seed 0 | 0.523% | 0.416% |
(These two seed-0 numbers come from the earlier _transolver.py port, a JAX port of exp_pipe.py with Flax defaults and plain optax.adamw.) The benchmark runner then trained the tuned setting for seeds 0, 1 and 2 (--run transolver_tuned, _config.TUNED_TRANSOLVER_RECIPE): mean 0.406% ± 0.034%, against 0.460% ± 0.031% for the paper recipe, a 12% lower mean. Seed 1 is the released checkpoint.
Commands to repeat the search or the seed-0 port run
# Seed-0 port run (0.416%)
python scripts/benchmarks/pipe/_transolver.py \
--epochs 500 --seed 0 \
--n-hidden 128 --n-layers 8 --n-heads 8 --mlp_ratio 2 --slice_num 64 \
--lr 0.002789574430295683 --weight_decay 0.0002497328610406061 \
--max_grad_norm 0.4884053941402852 --batch-size 4 \
--pct-start 0.33415875288593666 --div-factor 7.126045321233962 \
--final-div-factor 8313.101133778735 \
--data_path <path-to-Dataset>
# Repeat the search (needs the `tune` extra: pip install -e ".[tune]")
CUDA_VISIBLE_DEVICES=0 python scripts/benchmarks/pipe/tune_transolver.py \
--data-path <path-to-Dataset> --study-dir <output-dir>
Optimiser for complex weights
For a real loss and a complex weight w, jax.grad returns the conjugate of the direction that PyTorch stores and that every optax transform expects. With plain optax.adamw on raw JAX gradients, the real part of each spectral weight therefore descends while the imaginary part ascends. adamw_cx conjugates complex gradients first and updates real weights exactly as AdamW does, so every model on this benchmark uses it.
How it was found: Geo-FNO's pipe.py, run unchanged, reaches 0.678%, while a JAX port of the same recipe on this library's FNO reached 7.07%. A line-for-line Flax port of its network isolates the cause (test relative L2 after 25 epochs):
| Run | Epoch 25 |
|---|---|
PyTorch pipe.py |
2.14% |
| Flax port, plain optax | 21.77% |
| Flax port, gradients conjugated before optax | 2.41% |
| Flax port, complex weights stored as real/imaginary pairs | 2.29% |
This library's FNO, gradients conjugated before optax |
2.49% |
Compute precision
WNO computes in bfloat16 unless told otherwise. Rounding the true test fields to bfloat16 already gives a relative L2 of 0.17%, a noticeable part of the error at this level, so every model here computes in float32.
Differences from the PyTorch reference
Hyperparameter gap and JAX port check
The argparse defaults of exp_pipe.py (TransolverPipe: width 64, 3 layers, 4 heads, 32 slices, 272,621 parameters) are not what the paper's launch script Transolver_Pipe.sh used for the published number. That script sets a much bigger model (TransolverPipeOfficial: width 128, 8 layers, 8 heads, 64 slices, gradient clip 0.1, 3,073,985 parameters). The defaults reach 0.709% (2.1 times the paper's 0.33%), so this page uses the launch script's settings.
Before the shared runner, Transolver was trained by _transolver.py, a port of exp_pipe.py with Flax defaults (tanh GELU, LayerNorm eps 1e-6, Flax conv init) and plain optax.adamw. It was compared with the unmodified exp_pipe.py on the same data, 3 runs each. Both report each run's lowest test error over training, so they are not comparable with the last-epoch numbers above:
| Run | JAX port | PyTorch |
|---|---|---|
| 1st | 0.005230 | 0.004706 |
| 2nd | 0.004894 | 0.004298 |
| 3rd | 0.004701 | 0.005294 |
| Mean | 0.004942 | 0.004766 |
| Sample std | 0.000268 | 0.000501 |
The means are within 3.7% of each other, inside either one's run-to-run spread, so the port and the reference agree. The numbers are recorded in doc/assets/benchmarks/pipe_transolver/exp_pipe_reference.json. The port still runs as python scripts/benchmarks/pipe/train.py --run transolver_exp_pipe.
References
- Wu et al., Transolver: A Fast Transformer Solver for PDEs on General Geometries, ICML 2024. https://arxiv.org/abs/2402.02366
- Tripura and Chakraborty, Wavelet Neural Operator for Solving Parametric Partial Differential Equations in Computational Mechanics Problems, Computer Methods in Applied Mechanics and Engineering 404, 115783 (2023). https://arxiv.org/abs/2205.02191
- Li et al., Fourier Neural Operator for Parametric Partial Differential Equations, ICLR 2021. https://arxiv.org/abs/2010.08895
- Li et al., Geometry-Informed Neural Operator for Large-Scale 3D PDEs, NeurIPS 2023. https://arxiv.org/abs/2309.00583
- Li et al., Fourier Neural Operator with Learned Deformations for PDEs on General Geometries (Geo-FNO), Journal of Machine Learning Research 24(388), 2023. https://arxiv.org/abs/2207.05209