JAX benchmarks by platform

float32 and float64 on CPUs and GPUs, each measured in a fresh process. Results from QuantEcon/benchmarks.

Loading results…

Against the reference, kernel by kernel

Each platform's peak warm throughput over the reference platform's, on four kernels that each stand for one kind of bound. Bars run from 1× out to the platform's lead, on a log scale. Method.

Peak warm throughput over every problem size each platform ran, in its first environment. Every platform measured is in the table below. On Ampere and later cards, float32 matmul uses TF32 by default.

Peak measured throughput

Each platform's best warm throughput over every size it ran, as a multiple of the reference platform's, with the absolute value beneath. Higher is faster. Hover a value for the size it came at; values below 1× are in grey.

By problem size

One fresh process per cell. The platforms in colour are QuantEcon's machines, the cards rented for comparison and the CI runner; the rest are grey until shown.

Every platform and environment

By problem size

Table

Float64 time over float32 time

Warm time per call. 1× means float64 costs nothing; 2× is what twice the bytes alone would cost.

Table

Relative speed

Table

Platforms and environments