Reproduce our benchmarks
Re-evaluate the published checkpoints with
scripts/reproduce.py and compare each number with the published
reference. Nothing is trained. The published numbers come from Linux with NVIDIA GPUs.
1. Install
The scripts are in the source checkout (Build from source).
2. Download the checkpoints
Each checkpoint is its own repository on Hugging Face, named zenteiq-ai/scirex-<model>-<problem>,
for example zenteiq-ai/scirex-fno-pipe.
Download it into ckpt/<model>/<problem>, the layout reproduce.py reads:
All 33, one line per repository group (<model> is fno, gino, transolver or wno; AirfRANS has no
FNO, and the two car problems have gino, giwo and transolver):
dl() { hf download "zenteiq-ai/scirex-$1-$2" --local-dir "ckpt/$1/$3"; }
for m in fno gino transolver wno; do
dl $m chip-cooling chip_cooling
dl $m darcy darcy_s85/data_driven
dl $m darcy-physics darcy_s85/physics_only_1000
dl $m darcy-physics-extra-fields darcy_s85/physics_only_best
dl $m navier-stokes navier_stokes
dl $m pipe pipe
done
for m in gino transolver wno; do dl $m airfrans airfrans; done
for m in gino giwo transolver; do dl $m car-cfd car_cfd; dl $m shapenetcar shapenetcar; done
darcy-physics holds the runs on the 1,000 released fields and darcy-physics-extra-fields the best
run with extra unlabelled fields. Cavity has no repository, because its data is not public.
3. Get the data
Put each dataset in data/<problem>/, from its dataset guide. Three use a
subfolder: airfrans/Dataset/, car_cfd/processed-car-pressure-data/ and shapenetcar/training_data/.
Darcy needs no data; Cavity is not public.
4. Run
# one checkpoint
python scripts/reproduce.py --mode infer --model fno --problem pipe --ckpt-root ckpt --data-root data
# everything
python scripts/reproduce.py --mode infer --all --allow-archived-metrics --ckpt-root ckpt --data-root data
Add --device cpu without an NVIDIA GPU (always on macOS and Windows). --list shows every cell.
5. Read the output
Results go to reproduce_out/: results.csv (one row per cell) and results_table.csv and
results_table.tex (one column per model). The numbers are the ones measured from the checkpoints. A cell
that cannot be evaluated reads MISSING with the reason; add --strict-missing to make the run fail on it.
The checkpoint behind each number is on the checkpoint cards; maintainer details are in Checkpoints and Reproducibility.