RAPTOR#
Write the code for one sample. Run a million of them.
One sample is one independent simulation: you write its step once, in Python.
A million samples, each stopping at its own time: 48.9 ms and 102 MiB on NVIDIA H100 NVL, 2.3× faster than NVIDIA Warp, 16× faster than PyTorch with torch.compile, 25× faster than JAX and 190× faster than CuPy. The same Python source runs on your CPU.
When every sample runs the same orbit, eagle.simulate is the faster: 40.8 ms for eagle.simulate, 55.1 ms for NVIDIA Warp.
pip install "raptor-hawk[cuda12]" "raptor-eagle[cuda12]"
pip install raptor-hawk raptor-eagle without an NVIDIA GPU (the CPU route). Wheels: Linux x86_64 and aarch64, macOS 15+ on Apple silicon; Windows builds from source.
See everything built in
Differentiate
See the domains it serves
Mechanics and fluids
Particles and radiation
Reactions and life sciences
Energy, finance and control
Signals and data
Geometry and visibility
Let mathematics reveal the structure of physics. Let modern computing carry the computational burden. Why RAPTOR is built this way
Versatile, lean, performant#
- sampleone independent simulation
- laneone run of the kernel body, on a line or a grid
- carda measured record for one device
Versatile#
One kernel, many fields. Pick one for a worked case.
See the gallery
Lean#
Performant#
1,000,000 samples (adaptive RKF7(8) Kepler orbits), each stopping at its own time
than NVIDIA Warp (2.3×), JAX (25×), CuPy (190×), PyTorch with torch.compile (16×) — 1,000,000 samples finishing at different times
than CuPy and PyTorch with torch.compile — a million samples in 102 MiB, 1.4× the bare minimum state (CuPy 13×, PyTorch with torch.compile 45×)
Measured on NVIDIA H100 NVL. NVIDIA Warp’s per-thread kernel is the fastest arm in 0 of the 6 RK4 cells this card runs.
Good for
- independent per-element updates
- grids and stencils
- ensembles whose samples stop early
- assembly and binning
- graphs mixing host and GPU steps
Hands off to others
- dense tensors and training: PyTorch or JAX, arrays cross without a copy
- sparse direct solvers: not covered
- several GPUs or MPI ranks: not in the docs yet
How it compares#
Wall time for a million samples, each stopping at its own step. Pick the hardware, then the device.
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 48.9 ms, IQR 110 µs
3 repeats
1.0× the fastest bar
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 113 ms, IQR 130 µs
3 repeats
2.3× the fastest bar
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 811 ms, IQR 11.7 ms
4 repeats
16× the fastest bar
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 1.24 s, IQR 420 µs
3 repeats
25× the fastest bar
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 9.34 s, IQR 141 ms
5 repeats
190× the fastest bar
card of 2026-11-05, 0.6.0 card, script a69639ae
1,000,000 samples, each stopping at its own time. Log scale; the axis runs from 30.5 ms to 14.9 s, a margin around the fastest and the slowest bar shown. Measured on NVIDIA H100 NVL (compute capability 9.0, 132 SMs), card of 2026-11-05. Every tool, every N, and where each one fits.
Host CPU INTEL(R) XEON(R) GOLD 6526Y; GPU driver 560.35.03; CUDA runtime 12.9, driver API 12.6; Warp 1.17.0, JAX 0.11.2, PyTorch 2.12.1+cu126, CuPy 14.2.0. Card file: card_nvidia-h100-nvl.json.
Memory, as a multiple of what the samples need
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
94 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
102 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
104 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
890 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
936 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA H100 NVL
N = 1,000,000, spread, each sample stops at its own time
3138 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-05, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 2.32 s, IQR 1.47 ms
3 repeats
1.0× the fastest bar
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 4.26 s, IQR 195 µs
3 repeats
1.8× the fastest bar
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 7.24 s, IQR 3.89 ms
3 repeats
3.1× the fastest bar
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 52.8 s, IQR 39.6 ms
3 repeats
22× the fastest bar
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
bar = median, interquartile range (inclusive quartiles); median 55.3 s, IQR 2.71 ms
3 repeats
23× the fastest bar
card of 2026-11-04, 0.6.0 card, script a69639ae
1,000,000 samples, each stopping at its own time. Log scale; the axis runs from 1.45 s to 88.4 s, a margin around the fastest and the slowest bar shown. Measured on NVIDIA L4 (compute capability 8.9, 58 SMs), card of 2026-11-04. Every tool, every N, and where each one fits.
Host CPU Intel(R) Xeon(R) CPU @ 2.20GHz; GPU driver 580.178.04; CUDA runtime 12.9, driver API 13.0; Warp 1.17.0, JAX 0.11.2, PyTorch 2.12.1+cu129, CuPy 14.2.0. Card file: card_nvidia-l4.json.
Memory, as a multiple of what the samples need
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
94 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
102 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
102 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
266 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
936 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-04, 0.6.0 card, script a69639ae
NVIDIA L4
N = 1,000,000, spread, each sample stops at its own time
1340 MiB held by the process, against a minimum of 69 MiB
card of 2026-11-04, 0.6.0 card, script a69639ae
first-class: a glowing icon with its name not first-class: a faint icon on the middle band, no name number: the grade, 0 to 5; blank when no source confirms one
raptor: 13 capabilities, 12 on both CPU and GPU, 1 GPU only, 12 on the Simulation side and 1 on the AI side.
Show details
- Fixed-step ODEs CPU ✓ GPU ✓ grade 5/5 A step written for one sample, run over the batch until every sample is done.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 5/5 Generated forward- and reverse-mode derivatives, read by jax.grad, torch autograd and wp.Tape.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 5/5 Runs inside your JAX, PyTorch, Warp, CuPy and NumPy programs, and theirs inside its batches; DLPack hand-over certified with all five.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 4/5 You write one step of one sample; the batch is launched for you.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 5/5 Many independent samples in one batched run.
- Divergent workloads CPU ✓ GPU ✓ grade 5/5 Finished samples are compacted out, so each launch covers only the samples still running.
- Events and early exit CPU ✓ GPU ✓ grade 5/5 A sample stops on its own condition and leaves the work.
- Adaptive ODEs, embedded pairs CPU ✓ GPU ✓ grade 5/5 eagle.simulate runs an embedded RKF7(8) pair with per-sample step control.
- Deployment outside Python CPU ✓ GPU ✓ grade 5/5 A compiled kernel is embedded in a C++ program and run there; hawk's c target also writes standalone MISRA C, with no Python and no eagle.
- Host and GPU steps in one graph CPU – GPU ✓ grade 4/5 Host nodes, copies and GPU kernels sit in one eagle graph, captured once and replayed.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 5/5 Gradients through a whole captured run.
- Ensemble data for training CPU ✓ GPU ✓ grade 4/5 Simulated batches feed a PyTorch training loop without copies.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 5/5 A network and a physics model in one differentiable program.
Not first-class: Hand-tuned kernels, Half precision, Dense linear algebra, large solvers, Dense tensor training, Low-precision inference, Array-style programs.
- Hand-tuned kernels CPU ✓ GPU ✓ grade 5/5 You write the per-thread kernel and choose its launch.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 3/5 A time-step loop inside a per-thread kernel.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 4/5 Reverse mode through wp.Tape over its kernels.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 5/5 Zero-copy views of PyTorch, JAX, CuPy and NumPy arrays, DLPack included.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 4/5 A per-thread kernel holds one sample's model; you index it by thread.
- Half precision CPU ✓ GPU ✓ grade 4/5 float16 arrays and arithmetic.
- Dense linear algebra, large solvers CPU ✓ GPU ✓ grade 3/5 Tile Cholesky and matrix multiply, plus iterative solvers in warp.optim.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 4/5 Per-thread random numbers over a launch of many samples.
- Events and early exit CPU ✓ GPU – On the CPU a sample's loop breaks on its own condition and the work moves on.
- Deployment outside Python CPU ✓ GPU ✓ grade 3/5 Captured graphs and compiled modules are replayed from a standalone C++ program on CUDA and on the CPU device.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 4/5 Gradients through whole simulations with wp.Tape.
- Ensemble data for training CPU ✓ GPU ✓ grade 5/5 Arrays hand over to PyTorch and JAX for training without copies.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 4/5 Warp kernels inside PyTorch autograd, next to a network.
Not first-class: Divergent workloads, Adaptive ODEs, embedded pairs, Host and GPU steps in one graph, Dense tensor training, Low-precision inference, Array-style programs.
- Hand-tuned kernels CPU – GPU ✓ grade 4/5 Pallas writes custom kernels with block-level control.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 4/5 A step loop with lax.scan, batched with vmap.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 4/5 grad, jvp and vjp: forward and reverse mode.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 4/5 DLPack import and export.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 5/5 Write one sample's function; vmap batches it.
- Half precision CPU ✓ GPU ✓ grade 4/5 bfloat16 and float16 types.
- Dense linear algebra, large solvers CPU ✓ GPU ✓ grade 5/5 jax.numpy.linalg and jax.scipy.linalg.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 5/5 Batched sampling with explicit random keys.
- Adaptive ODEs, embedded pairs CPU ✓ GPU ✓ grade 3/5 jax.experimental.ode.odeint is an adaptive Dormand-Prince solver with a custom reverse-mode rule, in core JAX; gap: experimental, described as 'limited and not under active development'.
- Deployment outside Python CPU ✓ GPU ✓ grade 3/5 jax.export serialises a compiled program for other runtimes.
- Host and GPU steps in one graph CPU – GPU ✓ grade 3/5 io_callback and pure_callback call host Python from inside a jitted program.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 4/5 Gradients through a whole simulation loop.
- Ensemble data for training CPU ✓ GPU ✓ grade 4/5 Generated arrays feed a JAX training loop directly.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 4/5 A network and a physics model in one function, differentiated together.
- Dense tensor training CPU ✓ GPU ✓ grade 5/5 Training loops with grad and jit.
- Low-precision inference CPU ✓ GPU ✓ grade 3/5 Low-precision types, bfloat16, for inference.
- Array-style programs CPU ✓ GPU ✓ grade 4/5 The NumPy API, traced and compiled.
Not first-class: Divergent workloads, Events and early exit.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 3/5 A whole batch of states stepped as tensors.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 4/5 Autograd, reverse and forward mode.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 5/5 DLPack import and export.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 4/5 Write one sample's function; torch.func.vmap batches it.
- Half precision CPU ✓ GPU ✓ grade 5/5 Autocast to float16 and bfloat16 (bfloat16 on the CPU).
- Dense linear algebra, large solvers CPU ✓ GPU ✓ grade 5/5 torch.linalg.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 4/5 Batched tensors with seeded random generators.
- Deployment outside Python CPU ✓ GPU ✓ grade 4/5 torch.export and ahead-of-time compilation run models from C++.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 4/5 Gradients through a simulation written in tensors.
- Ensemble data for training CPU ✓ GPU ✓ grade 5/5 Simulated arrays taken into training without copies.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 4/5 A network and a physics model in one autograd graph.
- Dense tensor training CPU ✓ GPU ✓ grade 5/5 Modules, optimisers and training loops.
- Low-precision inference CPU ✓ GPU ✓ grade 3/5 Quantised and low-precision inference.
- Array-style programs CPU ✓ GPU ✓ grade 5/5 Eager tensor expressions.
Not first-class: Hand-tuned kernels, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Host and GPU steps in one graph.
- Hand-tuned kernels CPU – GPU ✓ grade 4/5 ElementwiseKernel, RawKernel and RawModule define kernels from Python.
- Fixed-step ODEs CPU – GPU ✓ grade 3/5 A whole batch of states stepped as arrays.
- Zero-copy hand-over (DLPack) CPU – GPU ✓ grade 5/5 DLPack and the CUDA array interface.
- Half precision CPU – GPU ✓ grade 3/5 float16 arrays and kernel type mapping to half.
- Dense linear algebra, large solvers CPU – GPU ✓ grade 5/5 cupy.linalg over the CUDA math libraries.
- Ensembles and Monte Carlo CPU – GPU ✓ grade 4/5 Batched random sampling on the GPU.
- Host and GPU steps in one graph CPU – GPU ✓ grade 3/5 Stream capture records launches, and Stream.launch_host_func adds a host function that capture can hold.
- Ensemble data for training CPU – GPU ✓ grade 5/5 Arrays hand over to PyTorch and JAX without copies.
- Array-style programs CPU – GPU ✓ grade 5/5 The NumPy API on the GPU.
Not first-class: Differentiable sensitivities, Per-sample models and RHS, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Deployment outside Python, Differentiable simulation into learning, Hybrid, physics-informed models, Dense tensor training, Low-precision inference.
- Hand-tuned kernels CPU ✓ GPU ✓ grade 5/5 Compiled loops you control, run in parallel with prange. Thread indexing, shared memory and explicit launch shapes.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 3/5 A time-step loop compiled with njit, one sample per prange iteration. A time-step loop inside a kernel.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 4/5 Works on NumPy arrays directly, which other libraries read without copies. The CUDA array interface, read by CuPy, PyTorch and others.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 5/5 guvectorize: write one sample, batched for you.
- Half precision CPU – GPU ✓ grade 3/5 float16 arithmetic in CUDA kernels.
- Dense linear algebra, large solvers CPU ✓ GPU – grade 3/5 np.linalg calls inside compiled code, LAPACK underneath.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 4/5 np.random inside compiled, parallel loops. Per-thread random number generators.
- Ensemble data for training CPU ✓ GPU ✓ grade 4/5 Results are NumPy arrays, which training frameworks read without copies. Device arrays hand over without copies through the CUDA array interface.
Not first-class: Differentiable sensitivities, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Deployment outside Python, Host and GPU steps in one graph, Differentiable simulation into learning, Hybrid, physics-informed models, Dense tensor training, Low-precision inference, Array-style programs.
- Fixed-step ODEs CPU ✓ GPU – grade 3/5 A whole batch of states stepped as arrays.
- Zero-copy hand-over (DLPack) CPU ✓ GPU – grade 4/5 DLPack import, and arrays every library reads.
- Half precision CPU ✓ GPU – grade 3/5 float16 storage and arithmetic.
- Dense linear algebra, large solvers CPU ✓ GPU – grade 5/5 numpy.linalg over LAPACK.
- Ensembles and Monte Carlo CPU ✓ GPU – grade 4/5 Batched random sampling.
- Ensemble data for training CPU ✓ GPU – grade 4/5 Arrays hand over to training frameworks without copies.
- Array-style programs CPU ✓ GPU – grade 5/5 Whole-array expressions are the model.
Not first-class: Hand-tuned kernels, Differentiable sensitivities, Per-sample models and RHS, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Deployment outside Python, Host and GPU steps in one graph, Differentiable simulation into learning, Hybrid, physics-informed models, Dense tensor training, Low-precision inference.
Compare all tools
| Capability | raptor | NVIDIA Warp | JAX | PyTorch | CuPy | Numba | NumPy |
|---|---|---|---|---|---|---|---|
| Hand-tuned kernels | 0 | both 5 | GPU 4 | 2 | GPU 4 | both CPU GPU 5 | 0 |
| Fixed-step ODEs | both 5 | both 3 | both 4 | both 3 | GPU 3 | both CPU GPU 3 | CPU 3 |
| Differentiable sensitivities | both 5 | both 4 | both 4 | both 4 | 0 | 0 | 0 |
| Zero-copy hand-over (DLPack) | both 5 | both 5 | both 4 | both 5 | GPU 5 | both CPU GPU 4 | CPU 4 |
| Per-sample models and RHS | both 4 | both 4 | both 5 | both 4 | 2 | both CPU GPU 5 | 1 |
| Half precision | 0 | both 4 | both 4 | both 5 | GPU 3 | GPU 3 | CPU 3 |
| Dense linear algebra, large solvers | 2 | both 3 | both 5 | both 5 | GPU 5 | CPU 3 | CPU 5 |
| Ensembles and Monte Carlo | both 5 | both 4 | both 5 | both 4 | GPU 4 | both CPU GPU 4 | CPU 4 |
| Divergent workloads | both 5 | 1 | 2 | ||||
| Events and early exit | both 5 | CPU | 1 | 1 | |||
| Adaptive ODEs, embedded pairs | both 5 | both 3 | 1 | 1 | |||
| Deployment outside Python | both 5 | both 3 | both 3 | both 4 | 2 | 0 | |
| Host and GPU steps in one graph | GPU 4 | 1 | GPU 3 | 1 | GPU 3 | 0 | 0 |
| Differentiable simulation into learning | both 5 | both 4 | both 4 | both 4 | 0 | 0 | 0 |
| Ensemble data for training | both 4 | both 5 | both 4 | both 5 | GPU 5 | both CPU GPU 4 | CPU 4 |
| Hybrid, physics-informed models | both 5 | both 4 | both 4 | both 4 | 0 | 0 | 0 |
| Dense tensor training | 0 | both 5 | both 5 | 0 | 0 | 0 | |
| Low-precision inference | 0 | both 3 | both 3 | 0 | 0 | 0 | |
| Array-style programs | 0 | both 4 | both 5 | GPU 5 | 2 | CPU 5 |
What each tool has a documented, first-class way to do, on CPU and on GPU; speed is in the bars and the radar.
An icon lights up only when the tool's own documentation shows a designed feature or API for it; a workaround (masking every lane, raw CUDA strings, running the slowest sample to the end) does not count. Every covered cell links to its source. The tools are complementary; overlap is not a ranking.
- 1 Ensemble speed faster is better
- 2 Footprint and turnaround lower is better
- 3 Capabilities faster is better
- 4 Tensors and precision (qualitative)
- 5 One-sample authoring (qualitative)
- 6 Low-level control (qualitative)
- 7 Reach (qualitative)
- Ensemble speed
- How fast a batch of independent samples runs: uneven, regular, small and adaptive workloads.
- Footprint and turnaround
- What the work costs around the run: the memory it holds, the time to compile and the code to write.
- Capabilities
- What the libraries support beyond the ensemble loop: wide values, fused steps, control flow, small linear algebra, contractions, FFT, scatter and reductions, each against the libraries the feature card records.
- Tensors and precision (qualitative)
- Dense tensor maths, array-style code and half precision: where PyTorch and JAX lead.
- One-sample authoring (qualitative)
- Writing the code for one sample and getting derivatives of it.
- Low-level control (qualitative)
- How much of the execution you control from the tool's own language.
- Reach (qualitative)
- Where the tool fits in: your arrays, deployment outside Python and extension to new targets.
Radar for NVIDIA H100 NVL, card of 2026-11-05, script a69639ae. Each axis is defined in the list below the chart; hover or tap one for the numbers behind it.
Show the data behind the radar
| Axis | raptor | NVIDIA Warp | JAX | PyTorch | CuPy |
|---|---|---|---|---|---|
| Ensemble speed | 1.00 of the radius (mean of 4) | 0.92 of the radius (mean of 4) | 0.51 of the radius (mean of 4) | 0.45 of the radius (mean of 4) | 0.20 of the radius (mean of 4) |
| Uneven ensembles | 48.9 ms (1.0× the best) | 113 ms (2.3× the best) | 1.24 s (25× the best) | 811 ms (16× the best) | 9.34 s (190× the best) |
| Regular ensembles | 40.8 ms (1.0× the best) | 55.1 ms (1.3× the best) | 588 ms (14× the best) | 378 ms (9.2× the best) | 4.87 s (110× the best) |
| Small jobs | 103 µs (1.0× the best) | 112 µs (1.0× the best) | 21.8 ms (210× the best) | 65.7 ms (630× the best) | 352 ms (3400× the best) |
| Adaptive ODEs | 43.6 ms (1.0× the best) | 101 ms (2.3× the best) | 1.11 s (25× the best) | 7.17 s (160× the best) | 9.06 s (200× the best) |
| Footprint and turnaround | 0.99 of the radius (mean of 3) | 0.49 of the radius (mean of 3) | 0.64 of the radius (mean of 3) | 0.50 of the radius (mean of 3) | 0.74 of the radius (mean of 3) |
| Memory | 102 MiB (1.0× the best) | 94 MiB (1.0× the best) | 890 MiB (9.4× the best) | 1506 MiB (16× the best) | 936 MiB (9.9× the best) |
| Compile time | 2.48 s (1.0× the best) | 9.28 s (3.7× the best) | 4.22 s (1.7× the best) | 3.71 s (1.4× the best) | 2.58 s (1.0× the best) |
| Code size | 21 lines (1.0× the best) | 74 lines (3.5× the best) | 25 lines (1.1× the best) | 46 lines (2.1× the best) | 25 lines (1.1× the best) |
| Capabilities | 0.70 of the radius (mean of 9) | 0.60 of the radius (mean of 2 of 9) | – | 0.95 of the radius (mean of 3 of 9) | 0.75 of the radius (mean of 5 of 9) |
| Wide values | 979 µs (2.5× the best) | – | – | 378 µs (1.0× the best) | – |
| Fused steps | 616 µs (1.0× the best) | 21.5 ms (34× the best) | – | 1.13 ms (1.8× the best) | – |
| Control flow | 10.6 ms (1.1× the best) | 9.43 ms (1.0× the best) | – | – | – |
| Small linear algebra, per lane | 1.66 ms (1.0× the best) | – | – | – | 6.44 ms (3.8× the best) |
| Small linear algebra, per team | 65.5 ms (10× the best) | – | – | 5.97 ms (1.0× the best) | 19.8 ms (3.3× the best) |
| Contractions | 28.7 µs (1.0× the best) | – | – | – | – |
| FFT | 1.08 ms (1.0× the best) | – | – | – | 1.14 ms (1.0× the best) |
| Scatter | 393 µs (1.1× the best) | – | – | – | 333 µs (1.0× the best) |
| Reductions | 185 µs (2.6× the best) | – | – | – | 71.3 µs (1.0× the best) |
| Tensors and precision (qualitative) | 1.7 of 5 | 2.7 of 5 | 4.7 of 5 | 5.0 of 5 | 4.0 of 5 |
| Tensor workloads (qualitative) | 2 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 4 of 5 |
| Array-style programming (qualitative) | 2 of 5 | 2 of 5 | 4 of 5 | 5 of 5 | 5 of 5 |
| Half precision and below (qualitative) | 1 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 3 of 5 |
| One-sample authoring (qualitative) | 5.0 of 5 | 3.5 of 5 | 4.5 of 5 | 3.5 of 5 | 1.5 of 5 |
| Single-thread abstraction (qualitative) | 5 of 5 | 3 of 5 | 4 of 5 | 3 of 5 | 2 of 5 |
| Differentiable kernels (qualitative) | 5 of 5 | 4 of 5 | 5 of 5 | 4 of 5 | 1 of 5 |
| Low-level control (qualitative) | 3.0 of 5 | 5.0 of 5 | 3.0 of 5 | 2.0 of 5 | 3.0 of 5 |
| Reach (qualitative) | 3.7 of 5 | 3.0 of 5 | 4.0 of 5 | 4.0 of 5 | 2.7 of 5 |
| Works with your arrays (qualitative) | 4 of 5 | 4 of 5 | 4 of 5 | 4 of 5 | 5 of 5 |
| Deploy outside Python (qualitative) | 4 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 1 of 5 |
| Extensibility (qualitative) | 3 of 5 | 2 of 5 | 4 of 5 | 4 of 5 | 2 of 5 |
Radar for NVIDIA L4, card of 2026-11-04, script a69639ae. Each axis is defined in the list below the chart; hover or tap one for the numbers behind it.
Show the data behind the radar
| Axis | raptor | NVIDIA Warp | JAX | PyTorch | CuPy |
|---|---|---|---|---|---|
| Ensemble speed | 1.00 of the radius (mean of 4) | 0.88 of the radius (mean of 4) | 0.71 of the radius (mean of 4) | 0.26 of the radius (mean of 4) | 0.21 of the radius (mean of 4) |
| Uneven ensembles | 2.32 s (1.0× the best) | 4.26 s (1.8× the best) | 7.24 s (3.1× the best) | 55.3 s (23× the best) | 52.8 s (22× the best) |
| Regular ensembles | 1.97 s (1.0× the best) | 2.16 s (1.0× the best) | 3.36 s (1.7× the best) | 26.6 s (13× the best) | 25.1 s (12× the best) |
| Small jobs | 441 µs (1.0× the best) | 1.64 ms (3.7× the best) | 17.6 ms (39× the best) | 64.3 ms (140× the best) | 656 ms (1400× the best) |
| Adaptive ODEs | 2.32 s (1.0× the best) | 4.27 s (1.8× the best) | 7.27 s (3.1× the best) | 55.0 s (23× the best) | 52.8 s (22× the best) |
| Footprint and turnaround | 0.99 of the radius (mean of 3) | 0.49 of the radius (mean of 3) | 0.82 of the radius (mean of 3) | 0.45 of the radius (mean of 3) | 0.72 of the radius (mean of 3) |
| Memory | 102 MiB (1.0× the best) | 94 MiB (1.0× the best) | 266 MiB (2.8× the best) | 1340 MiB (14× the best) | 936 MiB (9.9× the best) |
| Compile time | 3.81 s (1.0× the best) | 12.3 s (3.2× the best) | 4.68 s (1.2× the best) | 6.70 s (1.7× the best) | 4.03 s (1.0× the best) |
| Code size | 21 lines (1.0× the best) | 74 lines (3.5× the best) | 25 lines (1.1× the best) | 46 lines (2.1× the best) | 25 lines (1.1× the best) |
| Capabilities | 0.83 of the radius (mean of 9) | 0.57 of the radius (mean of 2 of 9) | – | 0.81 of the radius (mean of 3 of 9) | 0.72 of the radius (mean of 5 of 9) |
| Wide values | 8.06 ms (1.0× the best) | – | – | 8.66 ms (1.0× the best) | – |
| Fused steps | 5.49 ms (1.0× the best) | 199 ms (36× the best) | – | 46.8 ms (8.5× the best) | – |
| Control flow | 382 ms (1.0× the best) | 404 ms (1.0× the best) | – | – | – |
| Small linear algebra, per lane | 10.4 ms (1.0× the best) | – | – | – | 117 ms (11× the best) |
| Small linear algebra, per team | 62.0 ms (6.5× the best) | – | – | 9.49 ms (1.0× the best) | 39.3 ms (4.1× the best) |
| Contractions | 74.5 µs (1.0× the best) | – | – | – | – |
| FFT | 19.6 ms (1.0× the best) | – | – | – | 19.8 ms (1.0× the best) |
| Scatter | 576 µs (1.5× the best) | – | – | – | 374 µs (1.0× the best) |
| Reductions | 802 µs (1.2× the best) | – | – | – | 647 µs (1.0× the best) |
| Tensors and precision (qualitative) | 1.7 of 5 | 2.7 of 5 | 4.7 of 5 | 5.0 of 5 | 4.0 of 5 |
| Tensor workloads (qualitative) | 2 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 4 of 5 |
| Array-style programming (qualitative) | 2 of 5 | 2 of 5 | 4 of 5 | 5 of 5 | 5 of 5 |
| Half precision and below (qualitative) | 1 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 3 of 5 |
| One-sample authoring (qualitative) | 5.0 of 5 | 3.5 of 5 | 4.5 of 5 | 3.5 of 5 | 1.5 of 5 |
| Single-thread abstraction (qualitative) | 5 of 5 | 3 of 5 | 4 of 5 | 3 of 5 | 2 of 5 |
| Differentiable kernels (qualitative) | 5 of 5 | 4 of 5 | 5 of 5 | 4 of 5 | 1 of 5 |
| Low-level control (qualitative) | 3.0 of 5 | 5.0 of 5 | 3.0 of 5 | 2.0 of 5 | 3.0 of 5 |
| Reach (qualitative) | 3.7 of 5 | 3.0 of 5 | 4.0 of 5 | 4.0 of 5 | 2.7 of 5 |
| Works with your arrays (qualitative) | 4 of 5 | 4 of 5 | 4 of 5 | 4 of 5 | 5 of 5 |
| Deploy outside Python (qualitative) | 4 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 1 of 5 |
| Extensibility (qualitative) | 3 of 5 | 2 of 5 | 4 of 5 | 4 of 5 | 2 of 5 |
Every measured axis is the per-sample ensemble workload raptor is built for; dense tensor maths, training and half precision are the qualitative axes, where PyTorch and JAX lead. Outer is better; overlaps are complementary, not a ranking.
NVIDIA Warp gives you near-total control of every kernel, short of raw CUDA. raptor hands that control to the engine on purpose, so compaction and the launch shape are decided at run time; the two are different trade-offs, not a ranking.
How to read this radar
Each of the seven majors is the plain mean of its minor axes (the detailed radar draws every minor), with equal weights and the same rule for every tool; a minor a tool has no reading on is left out of its mean and the major's marker is drawn hollow. Hover or tap a major to see its minors.
- Ensemble speed: Uneven ensembles, Regular ensembles, Small jobs and Adaptive ODEs; measured.
- Footprint and turnaround: Memory, Compile time and Code size; measured.
- Capabilities: Wide values, Fused steps, Control flow, Small linear algebra, per lane, Small linear algebra, per team, Contractions, FFT, Scatter and Reductions; measured.
- Tensors and precision: Tensor workloads, Array-style programming and Half precision and below; qualitative.
- One-sample authoring: Single-thread abstraction and Differentiable kernels; qualitative.
- Low-level control: A single axis, so nothing is averaged; qualitative.
- Reach: Works with your arrays, Deploy outside Python and Extensibility; qualitative.
Each measured axis is stretched over its own best-to-worst range, so ring labels differ per axis (code size: at least 4x). Axes are grouped by theme, so read the axes, not the area.
Italic axes are the author's judgement, not measurements: hollow markers, a linear scale, and no marker where a tool has no reading. A hollow marker on a measured axis means a minor is missing. The hover panel has each axis's full wording.
AMD EPYC 9B45
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 2.49 s, IQR 605 µs
3 repeats
1.0× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
AMD EPYC 9B45
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 19.6 s, IQR 49.3 ms
3 repeats
7.8× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
AMD EPYC 9B45
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 60.5 s, IQR 92.9 ms
3 repeats
24× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
1,000,000 samples, each stopping at its own time. Log scale; the axis runs from 1.56 s to 96.8 s, a margin around the fastest and the slowest bar shown. Measured on AMD EPYC 9B45, card of 2026-11-10. Every tool, every N, and where each one fits.
Host CPU AMD EPYC 9B45; Python 3.12.3. Card file: cpu_card_amd-epyc-9b45.json.
Memory and the NVIDIA Warp comparison are GPU measurements: pick On a GPU to see them.
Intel Xeon W-2125
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 6.02 s, IQR 9.08 ms
3 repeats
1.0× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
Intel Xeon W-2125
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 55.0 s, IQR 21.4 ms
3 repeats
9.1× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
Intel Xeon W-2125
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 118 s, IQR 276 ms
3 repeats
19× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
1,000,000 samples, each stopping at its own time. Log scale; the axis runs from 3.76 s to 189 s, a margin around the fastest and the slowest bar shown. Measured on Intel Xeon W-2125, card of 2026-11-10. Every tool, every N, and where each one fits.
Host CPU Intel(R) Xeon(R) W-2125 CPU @ 4.00GHz; Python 3.12.16. Card file: cpu_card_intel-r-xeon-r-w-2125-cpu-4-00ghz.json.
Memory and the NVIDIA Warp comparison are GPU measurements: pick On a GPU to see them.
Apple M4 Pro
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 2.67 s, IQR 16.6 ms
3 repeats
1.0× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
Apple M4 Pro
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 17.1 s, IQR 219 ms
3 repeats
6.3× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
Apple M4 Pro
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 33.9 s, IQR 107 ms
3 repeats
12× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
1,000,000 samples, each stopping at its own time. Log scale; the axis runs from 1.67 s to 54.2 s, a margin around the fastest and the slowest bar shown. Measured on Apple M4 Pro, card of 2026-11-10. Every tool, every N, and where each one fits.
Host CPU Apple M4 Pro; Python 3.15.2. Card file: cpu_card_apple-m4-pro.json.
Memory and the NVIDIA Warp comparison are GPU measurements: pick On a GPU to see them.
Google Axion (Arm Neoverse-V2)
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 7.17 s, IQR 3.40 ms
3 repeats
1.0× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
Google Axion (Arm Neoverse-V2)
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 22.6 s, IQR 108 ms
3 repeats
3.1× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
Google Axion (Arm Neoverse-V2)
N = 1,000,000, spread, each sample stops at its own time
bar = centre; median 62.3 s, IQR 147 ms
3 repeats
8.6× the fastest bar
card of 2026-11-10, 0.6.0 card, script 988fa118
1,000,000 samples, each stopping at its own time. Log scale; the axis runs from 4.48 s to 99.7 s, a margin around the fastest and the slowest bar shown. Measured on Google Axion (Arm Neoverse-V2), card of 2026-11-10. Every tool, every N, and where each one fits.
Host CPU Google Axion (Arm Neoverse-V2); Python 3.12.3. Card file: cpu_card_aarch64.json.
Memory and the NVIDIA Warp comparison are GPU measurements: pick On a GPU to see them.
first-class: a glowing icon with its name not first-class: a faint icon on the middle band, no name number: the grade, 0 to 5; blank when no source confirms one
raptor: 13 capabilities, 12 on both CPU and GPU, 1 GPU only, 12 on the Simulation side and 1 on the AI side.
Show details
- Fixed-step ODEs CPU ✓ GPU ✓ grade 5/5 A step written for one sample, run over the batch until every sample is done.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 5/5 Generated forward- and reverse-mode derivatives, read by jax.grad, torch autograd and wp.Tape.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 5/5 Runs inside your JAX, PyTorch, Warp, CuPy and NumPy programs, and theirs inside its batches; DLPack hand-over certified with all five.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 4/5 You write one step of one sample; the batch is launched for you.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 5/5 Many independent samples in one batched run.
- Divergent workloads CPU ✓ GPU ✓ grade 5/5 Finished samples are compacted out, so each launch covers only the samples still running.
- Events and early exit CPU ✓ GPU ✓ grade 5/5 A sample stops on its own condition and leaves the work.
- Adaptive ODEs, embedded pairs CPU ✓ GPU ✓ grade 5/5 eagle.simulate runs an embedded RKF7(8) pair with per-sample step control.
- Deployment outside Python CPU ✓ GPU ✓ grade 5/5 A compiled kernel is embedded in a C++ program and run there; hawk's c target also writes standalone MISRA C, with no Python and no eagle.
- Host and GPU steps in one graph CPU – GPU ✓ grade 4/5 Host nodes, copies and GPU kernels sit in one eagle graph, captured once and replayed.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 5/5 Gradients through a whole captured run.
- Ensemble data for training CPU ✓ GPU ✓ grade 4/5 Simulated batches feed a PyTorch training loop without copies.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 5/5 A network and a physics model in one differentiable program.
Not first-class: Hand-tuned kernels, Half precision, Dense linear algebra, large solvers, Dense tensor training, Low-precision inference, Array-style programs.
- Hand-tuned kernels CPU ✓ GPU ✓ grade 5/5 You write the per-thread kernel and choose its launch.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 3/5 A time-step loop inside a per-thread kernel.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 4/5 Reverse mode through wp.Tape over its kernels.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 5/5 Zero-copy views of PyTorch, JAX, CuPy and NumPy arrays, DLPack included.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 4/5 A per-thread kernel holds one sample's model; you index it by thread.
- Half precision CPU ✓ GPU ✓ grade 4/5 float16 arrays and arithmetic.
- Dense linear algebra, large solvers CPU ✓ GPU ✓ grade 3/5 Tile Cholesky and matrix multiply, plus iterative solvers in warp.optim.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 4/5 Per-thread random numbers over a launch of many samples.
- Events and early exit CPU ✓ GPU – On the CPU a sample's loop breaks on its own condition and the work moves on.
- Deployment outside Python CPU ✓ GPU ✓ grade 3/5 Captured graphs and compiled modules are replayed from a standalone C++ program on CUDA and on the CPU device.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 4/5 Gradients through whole simulations with wp.Tape.
- Ensemble data for training CPU ✓ GPU ✓ grade 5/5 Arrays hand over to PyTorch and JAX for training without copies.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 4/5 Warp kernels inside PyTorch autograd, next to a network.
Not first-class: Divergent workloads, Adaptive ODEs, embedded pairs, Host and GPU steps in one graph, Dense tensor training, Low-precision inference, Array-style programs.
- Hand-tuned kernels CPU – GPU ✓ grade 4/5 Pallas writes custom kernels with block-level control.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 4/5 A step loop with lax.scan, batched with vmap.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 4/5 grad, jvp and vjp: forward and reverse mode.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 4/5 DLPack import and export.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 5/5 Write one sample's function; vmap batches it.
- Half precision CPU ✓ GPU ✓ grade 4/5 bfloat16 and float16 types.
- Dense linear algebra, large solvers CPU ✓ GPU ✓ grade 5/5 jax.numpy.linalg and jax.scipy.linalg.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 5/5 Batched sampling with explicit random keys.
- Adaptive ODEs, embedded pairs CPU ✓ GPU ✓ grade 3/5 jax.experimental.ode.odeint is an adaptive Dormand-Prince solver with a custom reverse-mode rule, in core JAX; gap: experimental, described as 'limited and not under active development'.
- Deployment outside Python CPU ✓ GPU ✓ grade 3/5 jax.export serialises a compiled program for other runtimes.
- Host and GPU steps in one graph CPU – GPU ✓ grade 3/5 io_callback and pure_callback call host Python from inside a jitted program.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 4/5 Gradients through a whole simulation loop.
- Ensemble data for training CPU ✓ GPU ✓ grade 4/5 Generated arrays feed a JAX training loop directly.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 4/5 A network and a physics model in one function, differentiated together.
- Dense tensor training CPU ✓ GPU ✓ grade 5/5 Training loops with grad and jit.
- Low-precision inference CPU ✓ GPU ✓ grade 3/5 Low-precision types, bfloat16, for inference.
- Array-style programs CPU ✓ GPU ✓ grade 4/5 The NumPy API, traced and compiled.
Not first-class: Divergent workloads, Events and early exit.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 3/5 A whole batch of states stepped as tensors.
- Differentiable sensitivities CPU ✓ GPU ✓ grade 4/5 Autograd, reverse and forward mode.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 5/5 DLPack import and export.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 4/5 Write one sample's function; torch.func.vmap batches it.
- Half precision CPU ✓ GPU ✓ grade 5/5 Autocast to float16 and bfloat16 (bfloat16 on the CPU).
- Dense linear algebra, large solvers CPU ✓ GPU ✓ grade 5/5 torch.linalg.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 4/5 Batched tensors with seeded random generators.
- Deployment outside Python CPU ✓ GPU ✓ grade 4/5 torch.export and ahead-of-time compilation run models from C++.
- Differentiable simulation into learning CPU ✓ GPU ✓ grade 4/5 Gradients through a simulation written in tensors.
- Ensemble data for training CPU ✓ GPU ✓ grade 5/5 Simulated arrays taken into training without copies.
- Hybrid, physics-informed models CPU ✓ GPU ✓ grade 4/5 A network and a physics model in one autograd graph.
- Dense tensor training CPU ✓ GPU ✓ grade 5/5 Modules, optimisers and training loops.
- Low-precision inference CPU ✓ GPU ✓ grade 3/5 Quantised and low-precision inference.
- Array-style programs CPU ✓ GPU ✓ grade 5/5 Eager tensor expressions.
Not first-class: Hand-tuned kernels, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Host and GPU steps in one graph.
- Hand-tuned kernels CPU – GPU ✓ grade 4/5 ElementwiseKernel, RawKernel and RawModule define kernels from Python.
- Fixed-step ODEs CPU – GPU ✓ grade 3/5 A whole batch of states stepped as arrays.
- Zero-copy hand-over (DLPack) CPU – GPU ✓ grade 5/5 DLPack and the CUDA array interface.
- Half precision CPU – GPU ✓ grade 3/5 float16 arrays and kernel type mapping to half.
- Dense linear algebra, large solvers CPU – GPU ✓ grade 5/5 cupy.linalg over the CUDA math libraries.
- Ensembles and Monte Carlo CPU – GPU ✓ grade 4/5 Batched random sampling on the GPU.
- Host and GPU steps in one graph CPU – GPU ✓ grade 3/5 Stream capture records launches, and Stream.launch_host_func adds a host function that capture can hold.
- Ensemble data for training CPU – GPU ✓ grade 5/5 Arrays hand over to PyTorch and JAX without copies.
- Array-style programs CPU – GPU ✓ grade 5/5 The NumPy API on the GPU.
Not first-class: Differentiable sensitivities, Per-sample models and RHS, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Deployment outside Python, Differentiable simulation into learning, Hybrid, physics-informed models, Dense tensor training, Low-precision inference.
- Hand-tuned kernels CPU ✓ GPU ✓ grade 5/5 Compiled loops you control, run in parallel with prange. Thread indexing, shared memory and explicit launch shapes.
- Fixed-step ODEs CPU ✓ GPU ✓ grade 3/5 A time-step loop compiled with njit, one sample per prange iteration. A time-step loop inside a kernel.
- Zero-copy hand-over (DLPack) CPU ✓ GPU ✓ grade 4/5 Works on NumPy arrays directly, which other libraries read without copies. The CUDA array interface, read by CuPy, PyTorch and others.
- Per-sample models and RHS CPU ✓ GPU ✓ grade 5/5 guvectorize: write one sample, batched for you.
- Half precision CPU – GPU ✓ grade 3/5 float16 arithmetic in CUDA kernels.
- Dense linear algebra, large solvers CPU ✓ GPU – grade 3/5 np.linalg calls inside compiled code, LAPACK underneath.
- Ensembles and Monte Carlo CPU ✓ GPU ✓ grade 4/5 np.random inside compiled, parallel loops. Per-thread random number generators.
- Ensemble data for training CPU ✓ GPU ✓ grade 4/5 Results are NumPy arrays, which training frameworks read without copies. Device arrays hand over without copies through the CUDA array interface.
Not first-class: Differentiable sensitivities, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Deployment outside Python, Host and GPU steps in one graph, Differentiable simulation into learning, Hybrid, physics-informed models, Dense tensor training, Low-precision inference, Array-style programs.
- Fixed-step ODEs CPU ✓ GPU – grade 3/5 A whole batch of states stepped as arrays.
- Zero-copy hand-over (DLPack) CPU ✓ GPU – grade 4/5 DLPack import, and arrays every library reads.
- Half precision CPU ✓ GPU – grade 3/5 float16 storage and arithmetic.
- Dense linear algebra, large solvers CPU ✓ GPU – grade 5/5 numpy.linalg over LAPACK.
- Ensembles and Monte Carlo CPU ✓ GPU – grade 4/5 Batched random sampling.
- Ensemble data for training CPU ✓ GPU – grade 4/5 Arrays hand over to training frameworks without copies.
- Array-style programs CPU ✓ GPU – grade 5/5 Whole-array expressions are the model.
Not first-class: Hand-tuned kernels, Differentiable sensitivities, Per-sample models and RHS, Divergent workloads, Events and early exit, Adaptive ODEs, embedded pairs, Deployment outside Python, Host and GPU steps in one graph, Differentiable simulation into learning, Hybrid, physics-informed models, Dense tensor training, Low-precision inference.
Compare all tools
| Capability | raptor | NVIDIA Warp | JAX | PyTorch | CuPy | Numba | NumPy |
|---|---|---|---|---|---|---|---|
| Hand-tuned kernels | 0 | both 5 | GPU 4 | 2 | GPU 4 | both CPU GPU 5 | 0 |
| Fixed-step ODEs | both 5 | both 3 | both 4 | both 3 | GPU 3 | both CPU GPU 3 | CPU 3 |
| Differentiable sensitivities | both 5 | both 4 | both 4 | both 4 | 0 | 0 | 0 |
| Zero-copy hand-over (DLPack) | both 5 | both 5 | both 4 | both 5 | GPU 5 | both CPU GPU 4 | CPU 4 |
| Per-sample models and RHS | both 4 | both 4 | both 5 | both 4 | 2 | both CPU GPU 5 | 1 |
| Half precision | 0 | both 4 | both 4 | both 5 | GPU 3 | GPU 3 | CPU 3 |
| Dense linear algebra, large solvers | 2 | both 3 | both 5 | both 5 | GPU 5 | CPU 3 | CPU 5 |
| Ensembles and Monte Carlo | both 5 | both 4 | both 5 | both 4 | GPU 4 | both CPU GPU 4 | CPU 4 |
| Divergent workloads | both 5 | 1 | 2 | ||||
| Events and early exit | both 5 | CPU | 1 | 1 | |||
| Adaptive ODEs, embedded pairs | both 5 | both 3 | 1 | 1 | |||
| Deployment outside Python | both 5 | both 3 | both 3 | both 4 | 2 | 0 | |
| Host and GPU steps in one graph | GPU 4 | 1 | GPU 3 | 1 | GPU 3 | 0 | 0 |
| Differentiable simulation into learning | both 5 | both 4 | both 4 | both 4 | 0 | 0 | 0 |
| Ensemble data for training | both 4 | both 5 | both 4 | both 5 | GPU 5 | both CPU GPU 4 | CPU 4 |
| Hybrid, physics-informed models | both 5 | both 4 | both 4 | both 4 | 0 | 0 | 0 |
| Dense tensor training | 0 | both 5 | both 5 | 0 | 0 | 0 | |
| Low-precision inference | 0 | both 3 | both 3 | 0 | 0 | 0 | |
| Array-style programs | 0 | both 4 | both 5 | GPU 5 | 2 | CPU 5 |
What each tool has a documented, first-class way to do, on CPU and on GPU; speed is in the bars and the radar.
An icon lights up only when the tool's own documentation shows a designed feature or API for it; a workaround (masking every lane, raw CUDA strings, running the slowest sample to the end) does not count. Every covered cell links to its source. The tools are complementary; overlap is not a ranking.
- 1 Ensemble speed faster is better
- 2 Footprint and turnaround lower is better
- 3 Capabilities faster is better
- 4 Tensors and precision (qualitative)
- 5 One-sample authoring (qualitative)
- 6 Low-level control (qualitative)
- 7 Reach (qualitative)
- Ensemble speed
- How fast a batch of independent samples runs: uneven, regular, small and adaptive workloads.
- Footprint and turnaround
- What the work costs around the run: the memory it holds, the time to compile and the code to write.
- Capabilities
- What the libraries support beyond the ensemble loop: wide values, fused steps, control flow, small linear algebra, contractions, FFT, scatter and reductions, each against the libraries the feature card records.
- Tensors and precision (qualitative)
- Dense tensor maths, array-style code and half precision: where PyTorch and JAX lead.
- One-sample authoring (qualitative)
- Writing the code for one sample and getting derivatives of it.
- Low-level control (qualitative)
- How much of the execution you control from the tool's own language.
- Reach (qualitative)
- Where the tool fits in: your arrays, deployment outside Python and extension to new targets.
Radar for AMD EPYC 9B45, card of 2026-11-10, script 988fa118. Each axis is defined in the list below the chart; hover or tap one for the numbers behind it.
Show the data behind the radar
| Axis | raptor | Numba | JAX | PyTorch | NumPy |
|---|---|---|---|---|---|
| Ensemble speed | 1.00 of the radius (mean of 4) | 0.56 of the radius (mean of 4) | 0.36 of the radius (mean of 4) | 0.20 of the radius (mean of 1 of 4) | 0.35 of the radius (mean of 1 of 4) |
| Uneven ensembles | 2.49 s (1.0× the best) | 19.6 s (7.8× the best) | 60.5 s (24× the best) | – | – |
| Regular ensembles | 2.06 s (1.0× the best) | 17.8 s (8.6× the best) | 28.8 s (13× the best) | – | – |
| Small jobs | 167 µs (1.0× the best) | 368 µs (2.1× the best) | 491 µs (2.9× the best) | 44.7 ms (260× the best) | 15.6 ms (92× the best) |
| Adaptive ODEs | 3.76 s (1.0× the best) | 19.9 s (5.3× the best) | 60.5 s (16× the best) | – | – |
| Footprint and turnaround | 0.60 of the radius (mean of 2 of 3) | 0.36 of the radius (mean of 2 of 3) | 0.96 of the radius (mean of 2 of 3) | – | 0.97 of the radius (mean of 1 of 3) |
| Memory | – | – | – | – | – |
| Compile time | 565 ms (7.8× the best) | 449 ms (6.2× the best) | 71.5 ms (1.0× the best) | – | – |
| Code size | 22 lines (1.0× the best) | 58 lines (2.6× the best) | 25 lines (1.1× the best) | – | 23 lines (1.0× the best) |
| Capabilities | 0.68 of the radius (mean of 7 of 9) | – | – | 0.73 of the radius (mean of 3 of 9) | 0.60 of the radius (mean of 2 of 9) |
| Wide values | 90.5 ms (1.9× the best) | – | – | 47.5 ms (1.0× the best) | 105 ms (2.2× the best) |
| Fused steps | 259 ms (2.5× the best) | – | – | 101 ms (1.0× the best) | – |
| Control flow | 694 ms (1.0× the best) | – | – | – | – |
| Small linear algebra, per lane | 41.2 ms (1.0× the best) | – | – | 299 ms (7.2× the best) | – |
| Small linear algebra, per team | – | – | – | – | – |
| Contractions | 78.8 µs (1.0× the best) | – | – | – | – |
| FFT | – | – | – | – | – |
| Scatter | 9.80 ms (2.2× the best) | – | – | – | 4.36 ms (1.0× the best) |
| Reductions | 3.63 ms (1.0× the best) | – | – | – | – |
| Tensors and precision (qualitative) | 1.7 of 5 | 2.7 of 5 | 4.7 of 5 | 5.0 of 5 | 4.0 of 5 |
| Tensor workloads (qualitative) | 2 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 4 of 5 |
| Array-style programming (qualitative) | 2 of 5 | 2 of 5 | 4 of 5 | 5 of 5 | 5 of 5 |
| Half precision and below (qualitative) | 1 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 3 of 5 |
| One-sample authoring (qualitative) | 5.0 of 5 | 2.0 of 5 | 4.5 of 5 | 3.5 of 5 | 1.0 of 5 |
| Single-thread abstraction (qualitative) | 5 of 5 | 3 of 5 | 4 of 5 | 3 of 5 | 1 of 5 |
| Differentiable kernels (qualitative) | 5 of 5 | 1 of 5 | 5 of 5 | 4 of 5 | 1 of 5 |
| Low-level control (qualitative) | 3.0 of 5 | 5.0 of 5 | 2.0 of 5 | 2.0 of 5 | 2.0 of 5 |
| Reach (qualitative) | 3.7 of 5 | 2.7 of 5 | 4.0 of 5 | 4.0 of 5 | 2.7 of 5 |
| Works with your arrays (qualitative) | 4 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 4 of 5 |
| Deploy outside Python (qualitative) | 4 of 5 | 2 of 5 | 4 of 5 | 4 of 5 | 1 of 5 |
| Extensibility (qualitative) | 3 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 3 of 5 |
Radar for Intel Xeon W-2125, card of 2026-11-10, script 988fa118. Each axis is defined in the list below the chart; hover or tap one for the numbers behind it.
Show the data behind the radar
| Axis | raptor | Numba | JAX | PyTorch | NumPy |
|---|---|---|---|---|---|
| Ensemble speed | 1.00 of the radius (mean of 2 of 4) | 0.33 of the radius (mean of 2 of 4) | 0.20 of the radius (mean of 2 of 4) | – | – |
| Uneven ensembles | 6.02 s (1.0× the best) | 55.0 s (9.1× the best) | 118 s (19× the best) | – | – |
| Regular ensembles | 4.92 s (1.0× the best) | 47.2 s (9.5× the best) | 56.4 s (11× the best) | – | – |
| Small jobs | – | – | – | – | – |
| Adaptive ODEs | – | – | – | – | – |
| Footprint and turnaround | 1.00 of the radius (mean of 1 of 3) | 0.44 of the radius (mean of 1 of 3) | 0.93 of the radius (mean of 1 of 3) | – | 0.97 of the radius (mean of 1 of 3) |
| Memory | – | – | – | – | – |
| Compile time | – | – | – | – | – |
| Code size | 22 lines (1.0× the best) | 58 lines (2.6× the best) | 25 lines (1.1× the best) | – | 23 lines (1.0× the best) |
| Capabilities | – | – | – | – | – |
| Wide values | – | – | – | – | – |
| Fused steps | – | – | – | – | – |
| Control flow | – | – | – | – | – |
| Small linear algebra, per lane | – | – | – | – | – |
| Small linear algebra, per team | – | – | – | – | – |
| Contractions | – | – | – | – | – |
| FFT | – | – | – | – | – |
| Scatter | – | – | – | – | – |
| Reductions | – | – | – | – | – |
| Tensors and precision (qualitative) | 1.7 of 5 | 2.7 of 5 | 4.7 of 5 | 5.0 of 5 | 4.0 of 5 |
| Tensor workloads (qualitative) | 2 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 4 of 5 |
| Array-style programming (qualitative) | 2 of 5 | 2 of 5 | 4 of 5 | 5 of 5 | 5 of 5 |
| Half precision and below (qualitative) | 1 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 3 of 5 |
| One-sample authoring (qualitative) | 5.0 of 5 | 2.0 of 5 | 4.5 of 5 | 3.5 of 5 | 1.0 of 5 |
| Single-thread abstraction (qualitative) | 5 of 5 | 3 of 5 | 4 of 5 | 3 of 5 | 1 of 5 |
| Differentiable kernels (qualitative) | 5 of 5 | 1 of 5 | 5 of 5 | 4 of 5 | 1 of 5 |
| Low-level control (qualitative) | 3.0 of 5 | 5.0 of 5 | 2.0 of 5 | 2.0 of 5 | 2.0 of 5 |
| Reach (qualitative) | 3.7 of 5 | 2.7 of 5 | 4.0 of 5 | 4.0 of 5 | 2.7 of 5 |
| Works with your arrays (qualitative) | 4 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 4 of 5 |
| Deploy outside Python (qualitative) | 4 of 5 | 2 of 5 | 4 of 5 | 4 of 5 | 1 of 5 |
| Extensibility (qualitative) | 3 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 3 of 5 |
Radar for Apple M4 Pro, card of 2026-11-10, script 988fa118. Each axis is defined in the list below the chart; hover or tap one for the numbers behind it.
Show the data behind the radar
| Axis | raptor | Numba | JAX | PyTorch | NumPy |
|---|---|---|---|---|---|
| Ensemble speed | 1.00 of the radius (mean of 2 of 4) | 0.32 of the radius (mean of 2 of 4) | 0.20 of the radius (mean of 2 of 4) | – | – |
| Uneven ensembles | 2.67 s (1.0× the best) | 17.1 s (6.3× the best) | 33.9 s (12× the best) | – | – |
| Regular ensembles | 2.40 s (1.0× the best) | 15.0 s (6.2× the best) | 16.0 s (6.6× the best) | – | – |
| Small jobs | – | – | – | – | – |
| Adaptive ODEs | – | – | – | – | – |
| Footprint and turnaround | 1.00 of the radius (mean of 1 of 3) | 0.44 of the radius (mean of 1 of 3) | 0.93 of the radius (mean of 1 of 3) | – | 0.97 of the radius (mean of 1 of 3) |
| Memory | – | – | – | – | – |
| Compile time | – | – | – | – | – |
| Code size | 22 lines (1.0× the best) | 58 lines (2.6× the best) | 25 lines (1.1× the best) | – | 23 lines (1.0× the best) |
| Capabilities | – | – | – | – | – |
| Wide values | – | – | – | – | – |
| Fused steps | – | – | – | – | – |
| Control flow | – | – | – | – | – |
| Small linear algebra, per lane | – | – | – | – | – |
| Small linear algebra, per team | – | – | – | – | – |
| Contractions | – | – | – | – | – |
| FFT | – | – | – | – | – |
| Scatter | – | – | – | – | – |
| Reductions | – | – | – | – | – |
| Tensors and precision (qualitative) | 1.7 of 5 | 2.7 of 5 | 4.7 of 5 | 5.0 of 5 | 4.0 of 5 |
| Tensor workloads (qualitative) | 2 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 4 of 5 |
| Array-style programming (qualitative) | 2 of 5 | 2 of 5 | 4 of 5 | 5 of 5 | 5 of 5 |
| Half precision and below (qualitative) | 1 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 3 of 5 |
| One-sample authoring (qualitative) | 5.0 of 5 | 2.0 of 5 | 4.5 of 5 | 3.5 of 5 | 1.0 of 5 |
| Single-thread abstraction (qualitative) | 5 of 5 | 3 of 5 | 4 of 5 | 3 of 5 | 1 of 5 |
| Differentiable kernels (qualitative) | 5 of 5 | 1 of 5 | 5 of 5 | 4 of 5 | 1 of 5 |
| Low-level control (qualitative) | 3.0 of 5 | 5.0 of 5 | 2.0 of 5 | 2.0 of 5 | 2.0 of 5 |
| Reach (qualitative) | 3.7 of 5 | 2.7 of 5 | 4.0 of 5 | 4.0 of 5 | 2.7 of 5 |
| Works with your arrays (qualitative) | 4 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 4 of 5 |
| Deploy outside Python (qualitative) | 4 of 5 | 2 of 5 | 4 of 5 | 4 of 5 | 1 of 5 |
| Extensibility (qualitative) | 3 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 3 of 5 |
Radar for Google Axion (Arm Neoverse-V2), card of 2026-11-10, script 988fa118. Each axis is defined in the list below the chart; hover or tap one for the numbers behind it.
Show the data behind the radar
| Axis | raptor | Numba | JAX | PyTorch | NumPy |
|---|---|---|---|---|---|
| Ensemble speed | 1.00 of the radius (mean of 4) | 0.65 of the radius (mean of 4) | 0.37 of the radius (mean of 4) | 0.20 of the radius (mean of 1 of 4) | 0.41 of the radius (mean of 1 of 4) |
| Uneven ensembles | 7.17 s (1.0× the best) | 22.6 s (3.1× the best) | 62.3 s (8.6× the best) | – | – |
| Regular ensembles | 6.11 s (1.0× the best) | 19.2 s (3.1× the best) | 29.9 s (4.8× the best) | – | – |
| Small jobs | 407 µs (1.0× the best) | 438 µs (1.0× the best) | 803 µs (1.9× the best) | 62.9 ms (150× the best) | 16.9 ms (41× the best) |
| Adaptive ODEs | 13.3 s (1.0× the best) | 22.5 s (1.6× the best) | 41.6 s (3.1× the best) | – | – |
| Footprint and turnaround | 0.72 of the radius (mean of 2 of 3) | 0.32 of the radius (mean of 2 of 3) | 0.96 of the radius (mean of 2 of 3) | – | 0.97 of the radius (mean of 1 of 3) |
| Memory | – | – | – | – | – |
| Compile time | 297 ms (3.5× the best) | 520 ms (6.2× the best) | 83.7 ms (1.0× the best) | – | – |
| Code size | 22 lines (1.0× the best) | 58 lines (2.6× the best) | 25 lines (1.1× the best) | – | 23 lines (1.0× the best) |
| Capabilities | – | – | – | – | – |
| Wide values | – | – | – | – | – |
| Fused steps | – | – | – | – | – |
| Control flow | – | – | – | – | – |
| Small linear algebra, per lane | – | – | – | – | – |
| Small linear algebra, per team | – | – | – | – | – |
| Contractions | – | – | – | – | – |
| FFT | – | – | – | – | – |
| Scatter | – | – | – | – | – |
| Reductions | – | – | – | – | – |
| Tensors and precision (qualitative) | 1.7 of 5 | 2.7 of 5 | 4.7 of 5 | 5.0 of 5 | 4.0 of 5 |
| Tensor workloads (qualitative) | 2 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 4 of 5 |
| Array-style programming (qualitative) | 2 of 5 | 2 of 5 | 4 of 5 | 5 of 5 | 5 of 5 |
| Half precision and below (qualitative) | 1 of 5 | 3 of 5 | 5 of 5 | 5 of 5 | 3 of 5 |
| One-sample authoring (qualitative) | 5.0 of 5 | 2.0 of 5 | 4.5 of 5 | 3.5 of 5 | 1.0 of 5 |
| Single-thread abstraction (qualitative) | 5 of 5 | 3 of 5 | 4 of 5 | 3 of 5 | 1 of 5 |
| Differentiable kernels (qualitative) | 5 of 5 | 1 of 5 | 5 of 5 | 4 of 5 | 1 of 5 |
| Low-level control (qualitative) | 3.0 of 5 | 5.0 of 5 | 2.0 of 5 | 2.0 of 5 | 2.0 of 5 |
| Reach (qualitative) | 3.7 of 5 | 2.7 of 5 | 4.0 of 5 | 4.0 of 5 | 2.7 of 5 |
| Works with your arrays (qualitative) | 4 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 4 of 5 |
| Deploy outside Python (qualitative) | 4 of 5 | 2 of 5 | 4 of 5 | 4 of 5 | 1 of 5 |
| Extensibility (qualitative) | 3 of 5 | 3 of 5 | 4 of 5 | 4 of 5 | 3 of 5 |
Every measured axis is the per-sample ensemble workload raptor is built for; dense tensor maths, training and half precision are the qualitative axes, where PyTorch and JAX lead. Outer is better; overlaps are complementary, not a ranking.
NVIDIA Warp gives you near-total control of every kernel, short of raw CUDA. raptor hands that control to the engine on purpose, so compaction and the launch shape are decided at run time; the two are different trade-offs, not a ranking.
How to read this radar
Each of the seven majors is the plain mean of its minor axes (the detailed radar draws every minor), with equal weights and the same rule for every tool; a minor a tool has no reading on is left out of its mean and the major's marker is drawn hollow. Hover or tap a major to see its minors.
- Ensemble speed: Uneven ensembles, Regular ensembles, Small jobs and Adaptive ODEs; measured.
- Footprint and turnaround: Memory, Compile time and Code size; measured.
- Capabilities: Wide values, Fused steps, Control flow, Small linear algebra, per lane, Small linear algebra, per team, Contractions, FFT, Scatter and Reductions; measured.
- Tensors and precision: Tensor workloads, Array-style programming and Half precision and below; qualitative.
- One-sample authoring: Single-thread abstraction and Differentiable kernels; qualitative.
- Low-level control: A single axis, so nothing is averaged; qualitative.
- Reach: Works with your arrays, Deploy outside Python and Extensibility; qualitative.
Each measured axis is stretched over its own best-to-worst range, so ring labels differ per axis (code size: at least 4x). Axes are grouped by theme, so read the axes, not the area.
Italic axes are the author's judgement, not measurements: hollow markers, a linear scale, and no marker where a tool has no reading. A hollow marker on a measured axis means a minor is missing. The hover panel has each axis's full wording.
Full numbers on the default GPU, every arm
tool |
wall (N = 1,000,000, spread batch) |
|---|---|
eagle.simulate (eagle picks the launch mode) |
48.9 ms |
Warp per-thread kernel |
113 ms |
PyTorch with torch.compile |
811 ms |
JAX jit(vmap(while_loop)) |
1.24 s |
CuPy masked |
9.34 s |
Tensor libraries compute every sample, every step – a masked array keeps computing the samples that already finished.
hawk + eagle skips finished samples and packs the live ones into the next launch, so the batch keeps shrinking as samples finish.
Warp is excellent at per-thread kernels: on a fully dense batch eagle.simulate beats it: 40.8 ms against Warp’s 55.1 ms – complementary tools, not a hierarchy.
RAPTOR adds, from the same source: per-sample Python, device-side stopping, forward- and reverse-mode derivatives, and the identical kernel on the CPU.
Measured on NVIDIA H100 NVL. Every number, every arm.
What you write#
import cupy as cp
import eagle
import hawk
from hawk import Mutable, Param, Scalar, Terminated
@hawk.kernel
def oscillator(
omega: Scalar, t_end: Param, dt: Param,
terminated: Terminated,
x: Mutable[Scalar], v: Mutable[Scalar],
t: Mutable[Scalar],
):
x, v = x + dt * v, v - dt * omega * omega * x
t += dt
terminated = t >= t_end
n = 1_000_000
result = eagle.simulate(
oscillator,
omega=cp.linspace(1.0, 3.0, n), t_end=1.0, dt=1e-3,
x=cp.ones(n), v=cp.zeros(n), t=cp.zeros(n),
max_steps=10_000,
)
print(result.status, result.steps, result.x[:3])
# needs a GPU to run (1,000,000 cupy samples); the CPU twin below shows its output
What happened
Pass the kernel’s arguments as you would call it; give an array where each sample has its own value.
eagle ran the whole step loop on the GPU, choosing how to launch from the batch size, and did all the launching in one call.
Finished samples were dropped from the next launch: eagle keeps the list of samples still running, so the batch shrank as it ran. The card measures what this saves.
NumPy arrays instead of CuPy run the same call on CPU threads.
No GPU? The same kernel with NumPy arrays (a thousand samples), run with no GPU visible:
import numpy as np
import eagle
import hawk
from hawk import Mutable, Param, Scalar, Terminated
@hawk.kernel
def oscillator(
omega: Scalar, t_end: Param, dt: Param,
terminated: Terminated,
x: Mutable[Scalar], v: Mutable[Scalar],
t: Mutable[Scalar],
):
x, v = x + dt * v, v - dt * omega * omega * x
t += dt
terminated = t >= t_end
n = 1_000
result = eagle.simulate(
oscillator,
omega=np.linspace(1.0, 3.0, n), t_end=1.0, dt=1e-3,
x=np.ones(n), v=np.zeros(n), t=np.zeros(n),
max_steps=10_000,
)
print(result.status, result.steps, result.x[:3])
Printed on a CPU:
finished 1024 [0.54057281 0.53888734 0.5371997 ]
Four libraries#
Straight to a section:
Tutorials |
How-to guides |
Explanation |
Reference |
|
|---|---|---|---|---|
hawk |
||||
eagle |
||||
raptor |
||||
aether |
Install
pip install raptor-core # the protocol spine: Python 3.9+, no dependencies
pip install raptor-hawk # hawk, CPU only (Linux x86_64 and aarch64, macOS 15+ arm64, CPython versions per `pyproject.toml`, host compiler; see Building from source for compiler versions)
pip install "raptor-hawk[cuda12]" "raptor-eagle[cuda12]" # GPU route; use [cuda13] on both for CUDA 13
Important
NVIDIA’s GPU packages come only through the extras. raptor-hawk[cuda12] pulls cuda-bindings 12,
nvidia-cuda-nvrtc-cu12 and nvidia-cuda-cccl-cu12; raptor-hawk[cuda13] pulls cuda-bindings 13,
nvidia-cuda-nvrtc 13 and nvidia-cuda-cccl 13 (CUDA 13’s wheels have no -cu13 suffix);
raptor-eagle[cuda12] / [cuda13] pull CuPy (cupy-cuda12x / cupy-cuda13x, with the CUDA headers CuPy compiles against). Without an extra pip installs no NVIDIA package: you get the CPU route, or the GPU route through a CUDA setup you already have. Pick the extra matching the CUDA version your driver reports (nvidia-smi, top right). No nvcc or CUDA
toolkit is needed.
Platforms: the wheels are built for Linux (x86_64 and aarch64) and macOS 15+ (Apple silicon, arm64) (CPython versions as listed in each package’s pyproject.toml, including the free-threaded builds, where hawk and eagle take the CPU route). What the wheel ships, what you need and what the cards measured are in the compatibility table. There are no Windows wheels and none for Intel Macs; build from source there. raptor-core and aether-dsc are pure Python and install anywhere. On free-threaded 3.14t, hawk and eagle run GIL-free.
raptor-hawk pulls aether-dsc (the sealed C++ headers hawk compiles against) automatically. eagle alone:
pip install "raptor-eagle[cuda12]" ([torch] adds PyTorch interop); its wheel ships GPU code for every NVIDIA
architecture from Pascal (sm_60) through Blackwell plus PTX for newer GPUs. aether is a header-only C++ library used through CMake;
aether-dsc on PyPI is not something C++ users install. To build everything from source (contributors, C++ users,
your own toolchain), see Building from source.
Citing
Each repository is cited independently: its own CITATION.cff carries the metadata (GitHub shows it under “Cite
this repository”), and every tagged release is archived on Zenodo: hawk doi:10.5281/zenodo.23250242, eagle doi:10.5281/zenodo.23250240, aether doi:10.5281/zenodo.23250238, raptor doi:10.5281/zenodo.23250234.
License
All four repositories — aether, raptor, eagle and hawk — are licensed under the Apache License, Version 2.0: free
for any use, commercial or not, with attribution. See each repository’s own LICENSE for the full text.




