RiptideRiptide
Download Riptide SDKInstall Riptorch
Menu
Whitepapers · Riptide · Exact integers

Exact integer filters for images, audio and quantized CNNs

Pixels, audio samples and quantized weights are small whole numbers, and a filter applied to them has one exact integer answer. Most fast libraries convert to floating point and round, so the answer changes with the kernel, the machine and the precision. This paper measures exact integer versions of four workloads on three CPUs and two GPUs, against each stock library at its fastest setting, and counts how often the stock answers are right.

Version
1.4 (updated 1 December 2026: added Method section; linked the GPU tensor-core follow-up; limitations section retitled; added "Reproduce it yourself")
Date
1 December 2026
Author
Samario Torres, Riptide
Software
Riptide's exact-integer prototype (not published); OpenCV 5.1.0, SciPy 1.18.1, NumPy 2.5.4, PyTorch 2.15.0 (CPU) and 2.9.1+cu128 (GPU), CuPy 14.2, ONNX Runtime 1.32, TensorRT 10.16.1
Download PDFOpen in new tabriptidecompute.com/whitepapers/exact-integer-signal-processing

Abstract

A 2-D image filter, an FIR audio filter and an int8 convolution layer all take small integers in and have one exact integer answer. On 1 December 2026 Riptide's exact-integer prototype ran four workloads on an Intel Xeon 8488C, an AMD EPYC 9R14, an AWS Graviton4, an RTX 4090 and an H100, against OpenCV, SciPy, NumPy, PyTorch, cuDNN, CuPy, ONNX Runtime and TensorRT, each at its fastest setting on the same machine. Every output of every implementation was compared with the exact integer answer.

  • Box filters: faster than OpenCV's boxFilter in all 105 CPU cases, by 4.9× (Xeon), 6.7× (EPYC) and 6.9× (Graviton4) on average and up to 15.6×.
  • General int8 kernels: faster than stock's fastest path in 93 of 105 CPU cases (2.6×, 2.2× and 1.8× on average); on the GPUs 2.7–2.9× faster than stock's fastest exact path (CuPy's direct float32 filter) at 11 × 11.
  • Audio filters: faster than every stock path in 54 of 60 cases, up to 26.5× faster than stock's fastest path and up to 31.7× faster than its fastest exact path. float32 paths give the right sample on 0–0.8% of outputs.
  • Where the fast method is wrong: for 24-bit cross-correlation a float64 FFT is up to 1.5× faster than Riptide on the Xeon, up to 1.9× on the EPYC and up to 3.1× on the Graviton4, but exact on only 19.7–59.4% of outputs; the only exact stock method is 130–840× slower than Riptide.
  • Quantized CNNs: ResNet-18 and MobileNetV2 in int8 give one SHA-256 of all 3,925,000 logits on all five machines, at the stock quantized accuracy. PyTorch, ONNX Runtime and TensorRT each change answers between machines.
  • Losses: the quantized CNNs are 4–13× slower than the fastest stock x86 engine (2.6–5× slower than PyTorch fbgemm) and run at 1–3% of TensorRT's throughput; int8 matrix products lose to oneDNN on Intel's AMX and AMD's VNNI.

What this lets you do

  • Filter images and audio with answers that never change. The output is the exact integer result, identical on Intel, AMD and Arm CPUs and NVIDIA GPUs, at any thread count. In most cases it is also faster than the library you would use today.
  • Know when a float result is wrong. This paper counts, per library and kernel size, how often the usual float paths round to the right integer, so you can tell when float32 is safe (random int8 kernels on uint8 images) and when it is not (positive Gaussian kernels, int16 images, 24-bit audio).
  • Run a quantized CNN and get the same logits everywhere. One hash on two x86 CPU families, Graviton4 and two NVIDIA GPU generations, at the accuracy of the stock quantized model. That makes int8 inference auditable and testable bit for bit across a fleet.

The kernels are a prototype and are not in a Riptorch release yet. Evaluation builds are available through Request an evaluation.

Method

This section describes the methods at the level of the algorithm. The kernels (C++ with CPU intrinsics, and CUDA) are not published.

The common idea: small integers side by side, accumulators sized from a bound

Every workload here is a sum of products of small integers. An exact 2-D convolution is a product of two-variable polynomials, an FIR filter a product of one-variable polynomials, and an int8 convolution layer a matrix product of byte values. Modern CPUs and GPUs have instructions that multiply 4 bytes by 4 bytes, or 2 16-bit values by 2, and add the products into a 32-bit lane exactly (AVX-512 VNNI on Intel and AMD, the dot-product and I8MM instructions on Arm, dp4a on NVIDIA GPUs). The method arranges the data once so that the integers one such instruction consumes sit next to each other in one machine word, and lets the hardware do the counting:

  • Quads. For a 2-D filter, the image is re-laid out per tile, in a cache-sized buffer, as "quads": for each pixel, the 4 consecutive bytes starting at it. A kernel row is stored as words of 4 taps. One dot-product instruction then computes 4 taps of one output, and a block of output rows reuses each quad. Zero padding is applied while the quads are built, so no padded copy of the image is made.
  • Byte limbs for wider values. A value wider than a byte is split exactly into bytes, , each limb is convolved with the byte instructions, and the results are recombined in 64-bit integers: . An int16 kernel on a uint8 image is split the same way on the kernel side; the low limb is unsigned (), so it is shifted to to fit the instruction's signed kernel operand, and (an exact box sum) is added back.
  • Accumulators from a bound. On the separable path, the largest possible partial sum is computed from the value ranges and the number of terms before each run; a 32-bit lane is used only while that bound fits, and partial sums are moved into 64-bit totals before it could be exceeded. The general 2-D filter and the matrix products rely on a bound fixed at design time instead (uint8 × int8 sums fit 32 bits for up to 65,793 terms), which every tested shape satisfies; there is no run-time check on those paths.

Box filters

The all-ones kernel needs no multiplications. A running sum down each column (add the row entering the window, subtract the row leaving it), then a running sum along each row of those column sums, gives every box sum in a fixed number of integer additions per pixel, whatever is. This is the sliding-window form of a summed-area table (Crow, 1984), kept in 32-bit unsigned integers. The column sums are windowed, so the limit depends on the kernel size, not the image size: , which holds for every up to 4,104.

Separable and general kernels

A separable kernel (such as the integer Gaussian, rows of round(127 · exp(−x²/2σ²))) runs as a row pass with byte dot products into an exact 32-bit band, then a column pass over the band, with 64-bit output when the bound needs it. A general int8 kernel uses the quads directly. On the GPUs there are two kernel versions, both in the results. The first builds the quads in global memory and shifts the image to signed bytes (dp4a is used signed × signed here), adding the shift back exactly. The second builds each thread block's quads in shared memory; its int16 Gaussian is computed as two byte limbs fused into one pass.

FIR audio filters

for int16 or 24-bit samples and int16 taps. On x86, samples are split into byte limbs (the low limbs unsigned, the top limb signed), paired with pairs of taps and multiplied with the 16-bit pair dot product into 32-bit lanes, which are flushed into 64-bit totals before they could overflow; the limb results are recombined exactly. On Arm with SVE, int16 by int16 products are added directly into 64-bit lanes: int16 samples need no limbs, and 24-bit samples are split into two 16-bit limbs, , with the low limb shifted to signed as above.

Long cross-correlation: an exact number-theoretic transform

For a full correlation of two long signals, direct methods take operations and FFTs round. The method instead uses a number-theoretic transform (Pollard, 1971) modulo the prime , for which arithmetic modulo reduces with shifts and additions and which has roots of unity of every power-of-two order needed here. Both signals are transformed, multiplied pointwise and transformed back, giving the linear convolution modulo ; the residues, read as signed numbers, are the exact results as long as every true output is smaller in magnitude than . For two full-range 24-bit signals the worst case is , which stays below for up to . At the largest tested length, , the full-range worst case would exceed it; the test signals stay exact because the second signal's samples are at most , a bound of . Full-range signals of that length would need a second modulus. The forward transform uses decimation in frequency and the inverse decimation in time, so no bit-reversal pass is needed.

Quantized CNNs with integers only

The engine reads the quantized model once and runs every layer in integers, in the style of Jacob et al. (2018), with each rounding defined exactly:

  • Convolutions and linear layers are uint8 × int8 matrix products with exact int32 accumulation (convolutions as matrix products over image patches, NHWC layout; depthwise convolutions separately). The bias is pre-converted to int32 as round(bias / ()) minus the input zero point times the weight sum, so the zero-point correction costs nothing at run time.
  • Requantization to the next layer's uint8 uses a per-channel fixed-point multiplier in Q31 and a right shift with round-half-up, so the rescaling is one integer multiply, one shift and one clamp, the same on every machine.
  • Residual additions rescale each input to the output scale with 20 extra fraction bits (Q31 multipliers again), add, and round once. Average pooling sums exactly and rescales with one Q31 multiplier; max pooling is exact by nature.

Two back ends compute this arithmetic with different operations: the CPU kernels, and a version on PyTorch's integer operations that also runs on CUDA. Because every operation is an integer operation with a defined rounding, their outputs are identical, and the five tested machines produce the same logits.

Setup

Machines

Table 1. Machines. CPUs on EC2 (us-west-2), GPUs on RunPod secure cloud. A machine record and the full package list sit next to every result file.
machineprocessorused for
c7i.4xlargeIntel Xeon Platinum 8488C (Sapphire Rapids, AVX-512 VNNI, AMX), 16 vCPUall CPU workloads
c7a.4xlargeAMD EPYC 9R14 (Zen 4, AVX-512 VNNI), 16 vCPUall CPU workloads
c8g.4xlargeAWS Graviton4 (Neoverse V2, I8MM, SVE2), 16 vCPUall CPU workloads
RTX 4090 podGeForce RTX 4090 (sm_89, 24 GB)GPU filters, quantized CNNs
H100 podH100 SXM 80 GB HBM3 (sm_90)GPU filters, quantized CNNs

Exactness

Every output is compared with the exact integer result. Float outputs are rounded to the nearest integer first, so "exact" for a float path means it rounds to the right integer; the exact share is the fraction of outputs that do. Riptide's own results were checked two ways: 683 randomized tests against int64 NumPy on each CPU (every shape and padding, including worst-case all-255 × all-−128 inputs), and an independent int64 spot check in every benchmark row (2,048 pixels, 20,000 samples or 256 matrix entries). All pass.

Baselines and timing

  • Stock, at its fastest. OpenCV (filter2D, sepFilter2D, boxFilter; all vCPUs), SciPy (ndimage, fftconvolve, oaconvolve, correlate, and an all-cores real-FFT convolution), NumPy, PyTorch CPU (conv2d / conv1d in float32 and bfloat16; quantized engines fbgemm, x86, oneDNN and qnnpack; torch._int_mm), ONNX Runtime, and on the GPUs cuDNN (float32, TF32, float16, bfloat16, float64, cudnn.benchmark on), CuPy (direct and FFT), cuFFT, cuBLASLt and TensorRT. Each case reports two baselines: stock's fastest path whatever its accuracy, and stock's fastest path that was exact on every output.
  • CPU timing: wall time of the whole call, output allocation included for every implementation, one warm-up, then up to 12 runs or 3 s; the best run is reported and all raw times are kept. Riptide and PyTorch used one thread per physical core, OpenCV all vCPUs.
  • GPU timing: CUDA events around the operation, inputs already on the device.

Data

  • Images: seeded uniform uint8 and int16 images, 512², 1024², 2048², 4096² and 7680 × 4320 (8K UHD); kernels 3 to 31 wide: random int8, an integer Gaussian (rows round(127·exp(−x²/2σ²)), σ = K/6) and an all-ones box; zero padding.
  • Audio: 60 s at 48 kHz (2,880,000 samples) of a two-tone signal with noise at full scale, 16-bit and 24-bit; 16 to 4,096 taps, a low-pass filter scaled to full-scale int16 and full-range random taps.
  • Cross-correlation: two random signals of 2¹⁶ to 2²² samples (16-bit) and 2¹⁴ to 2¹⁷ samples (24-bit).
  • Quantized CNNs: torchvision ResNet-18 and MobileNetV2 (IMAGENET1K_V1), PyTorch FX post-training quantization with the x86 qconfig mapping (per-channel symmetric int8 weights, uint8 activations), calibrated on 512 Imagenette training images, evaluated on Imagenette validation (3,925 ImageNet validation images of 10 classes, 1,000-way top-1). ONNX Runtime and TensorRT ran ONNX Runtime's own static quantization of the same float models on the same calibration images.

Results

Image filters on CPUs

Horizontal bars of geometric-mean speed-up for six workloads on three CPUs, all to the right of the 1x line, from 1.8x to 11.1x, with win counts
Figure 1. Riptide's speed-up over the fastest stock path that is exact on every output, averaged over every image and kernel size (or filter length), per CPU.
Table 2. Wins against stock's fastest path whatever its accuracy, and against its fastest exact path, over all 35 image × kernel sizes per CPU (geometric mean, range).
CPUworkloadfaster than stock's fastestgeo-mean (range)faster than stock's fastest exactgeo-mean (range)
Xeon 8488Cbox filter35/354.92× (2.26–7.08)35/354.92× (2.26–7.08)
Xeon 8488Crandom int8 kernel34/352.64× (0.93–5.84)34/353.12× (0.93–13.31)
Xeon 8488Cinteger Gaussian12/351.00× (0.53–3.23)31/352.06× (0.75–10.15)
Xeon 8488Cint16 image28/352.03× (0.30–9.85)33/352.55× (0.63–25.22)
EPYC 9R14box filter35/356.73× (2.31–15.57)35/356.73× (2.31–15.57)
EPYC 9R14random int8 kernel32/352.15× (0.71–9.36)32/352.15× (0.71–9.36)
EPYC 9R14integer Gaussian27/351.44× (0.72–4.73)33/352.70× (0.92–26.71)
EPYC 9R14int16 image27/351.69× (0.31–11.90)29/352.24× (0.63–37.90)
Graviton4box filter35/356.88× (1.43–14.49)35/356.88× (1.43–14.49)
Graviton4random int8 kernel27/351.79× (0.60–5.56)27/351.79× (0.60–5.56)
Graviton4integer Gaussian21/351.21× (0.68–4.56)29/352.50× (0.68–13.59)
Graviton4int16 image22/351.18× (0.29–4.61)27/352.05× (0.46–49.81)
Three panels of milliseconds against kernel size for a 4096 by 4096 image; the Riptide line is lowest from 5 to 15 taps on every CPU
Figure 2. A 4096 × 4096 uint8 image filtered with a random int8 kernel. Hollow markers are paths that were not exact on every pixel.

On random int8 kernels OpenCV's float32 filter2D is exact at every size here, because signed random kernels keep the sums inside float32's 24-bit mantissa; Riptide is faster from 5 to 15 taps on every CPU (1.3–3.1× at 8K). On a positive kernel the same float32 path stops being exact.

Left: percentage of exact pixels falling from 100 at 5 taps to about 1 at 31 taps for three float paths while Riptide stays at 100. Right: Riptide speed-up against stock's fastest exact path rising to 1.8 to 2.7x
Figure 3. The integer Gaussian on an 8K image. Left: how often each float path rounds to the right pixel. Right: Riptide against stock's fastest exact path (solid) and its fastest path whatever the accuracy (dotted).

OpenCV's float32 separable filter is exact on 61% of pixels at 7 taps, 7% at 15 and 1% at 31. For the Gaussian it is also the one stock path Riptide does not beat on x86 at 8K (0.68–0.93×); against stock's fastest exact Gaussian (float64) Riptide is 1.6–2.7× faster at 8K on every CPU. Over all sizes PyTorch bfloat16 is exact on 0.3–2.4% of pixels and int16 images through OpenCV float32 on 52–88%.

Image filters on GPUs

Two panels of speed-up against kernel size on RTX 4090 and H100; below 1x at 3 taps, 1.2 to 7.1x from 7 to 31 taps
Figure 4. 2-D filters on a 4096 × 4096 image on the GPUs, against cuDNN and CuPy.

From 7 taps up the exact kernel is faster than stock's fastest exact path on both GPUs: 2.73× (RTX 4090) and 2.91× (H100) at 11 × 11 for random int8 kernels, and 3.24× CuPy's float32 FFT (6.23× cuDNN) at 31 × 31 on the RTX 4090. cuDNN treats a one-channel filter as a tiny convolution layer and slows down with kernel size; its float16 path overflows to infinity on most of these sums, and bfloat16 is exact on 0–4% of pixels.

Audio filters

Two panels of speed-up against filter taps for 16-bit and 24-bit audio on three CPUs, peaking at about 32x at 64 taps on the Graviton4 and falling to about 1x at 4,096 taps
Figure 5. FIR filtering of 60 s of 48 kHz audio, against the fastest exact stock path.

Riptide's exact FIR filter beats every stock path in 54 of 60 cases. Up to 256 taps it is 10.3–26.5× faster than stock's fastest exact path on the EPYC, 7.1–14.2× on the Xeon and 5.4–31.7× on the Graviton4 (the largest gaps are at 64 taps). At 4,096 taps it is 1.3–1.9× faster for 16-bit audio and 0.6–1.05× for 24-bit, where SciPy's float64 overlap-add FFT does less work and is still exact. The float32 paths are wrong almost everywhere: PyTorch conv1d float32 and SciPy fftconvolve float32 round to the right sample on 0–0.8% of outputs, with errors up to 122,093 on 16-bit audio.

Cross-correlation, where the fast method is wrong

Left: float64 FFT exact share falling from 59 to 20 percent as signals grow. Right: time against length for Riptide, NumPy int64 and float64 FFT
Figure 6. Full cross-correlation of two 24-bit signals.

For 24-bit signals the correlation sums reach about 2⁵⁶, past float64's 53-bit mantissa. SciPy's float64 FFT is exact on only 19.7–59.4% of outputs (largest error 212), and even NumPy's direct float64 correlate is off by up to 40. The fastest float64 FFT is 1.3–1.5× faster than Riptide on the Xeon and 1.8–3.1× on the Graviton4; on the EPYC it is 0.86–1.9×, and at 131,072 samples Riptide beats it outright. Counting float32 FFTs as well (exact on 0% of outputs), Riptide runs at 0.24–0.80× the speed of the fastest inexact FFT; the only exact stock method, NumPy's int64 correlate, is 130–840× slower than Riptide. For 16-bit signals float64 FFTs stay exact up to 4M samples. On the Xeon they are 1.07–2.7× faster than Riptide; on the EPYC Riptide is faster at every length (1.1–1.5×); on the Graviton4 the FFT is 1.6–2.1× faster up to 256K samples, Riptide is 1.75× faster at 1M and level at 4M.

Quantized CNNs: one answer on every machine

Riptide's engine runs the converted int8 model with integer arithmetic only, from the uint8 input to the logits. It gave the same SHA-256 of all 3,925 × 1,000 logits on all five machines, for both models.

Table 3. SHA-256 (first 8 hex digits) of all 3,925 × 1,000 logits per engine and machine; "same" repeats the hash to its left. Identical rows: share of the 3,925 logit rows identical to the first machine's.
engineXeon 8488CEPYC 9R14Graviton4RTX 4090H100one answer?
Riptide exact, ResNet-18dd156679samesamesamesameyes
Riptide exact, MobileNetV217b6f433samesamesamesameyes
PyTorch x86 engine, ResNet-185d9563e1d56201f8 (77% rows identical)3ecc3811no
PyTorch x86 engine, MobileNetV2e42e252cc8e6c5e3 (86% rows identical)failsno
ONNX Runtime u8s8, ResNet-18 / MobileNetV2a0bb8247 / 0197d372sameef3c86ab / e9d3d97c (99.0% / 83.8%)no
ONNX Runtime s8s8, ResNet-18 / MobileNetV256d87293 / 9e36bd97samecccfdd25 / 5e4c11f8 (50.6% / 65.2%)no
TensorRT int8, ResNet-18 / MobileNetV242237423 / b8ba891ac436b3e2 / dfb2fb13 (0% rows identical)no

TensorRT int8 gives 0% identical rows between the RTX 4090 and the H100 for the same quantized model, and its top-1 predictions agree on only 96.5% (ResNet-18) and 88.8% (MobileNetV2) of images. PyTorch's fbgemm engine gives one hash on the two x86 CPUs but does not run on Arm. PyTorch's qnnpack gives one hash on all three CPUs, but on the per-channel MobileNetV2 its output is wrong: 0.0% top-1, without an error.

Table 4. Accuracy on Imagenette validation (1,000-way top-1). Agreement: share of images whose top-1 matches PyTorch fbgemm on the same CPU.
modelfloat32Riptide exactPyTorch fbgemmRiptide agreement with fbgemmPyTorch x86 / oneDNN agreement with fbgemm
ResNet-1878.2%79.0%79.2%97.2%97.8–97.9%
MobileNetV278.8%73.2%72.8%81.4%81.9–82.2%

Riptide's engine matches the stock quantized model: it agrees with fbgemm as often as PyTorch's own engines agree with each other. MobileNetV2 loses accuracy in PyTorch's quantization recipe itself (per-tensor uint8 activations); ONNX Runtime's own calibration keeps it at 77.4–79.0%, a calibration difference, not an engine one.

Paired bars of images per second on five machines for ResNet-18 and MobileNetV2; the stock bar is higher everywhere, by 34 to 87x on the GPUs
Figure 7. Throughput of Riptide's exact engine against the fastest stock int8 engine that classifies correctly on each machine.

Limitations and next steps

The limits of these results, each with its cause and, where one is planned, the next step.

  • Quantized CNNs are slower. On x86 the exact engine runs at 0.08–0.25× of the fastest stock engine on each machine (PyTorch x86/oneDNN with AMX and tuned VNNI kernels, or ONNX Runtime), and 0.20–0.38× of PyTorch fbgemm. On Graviton4 it is faster than PyTorch (ResNet-18 2.1× qnnpack and 1.4× oneDNN; MobileNetV2 2.6× oneDNN) but ONNX Runtime is 2.0× and 4.4× faster than it. On the GPUs this engine reached 1–3% of TensorRT int8's throughput; a follow-up engine on the GPUs' integer tensor cores, with the same output bits, reaches 0.92× TensorRT int8 on ResNet-18 (0.73× on MobileNetV2) on an RTX 4090 at batch 256 and 0.36–0.64× on an H100 (see Exact int8 CNNs on GPU tensor cores). Reason on the GPUs: this engine's GPU path was plain PyTorch integer operations, not kernels written for the tensor cores. Reason on the CPUs: under investigation.
  • Small filters on large images. 3 × 3 random kernels on 4K and 8K images run at 0.71–0.93× of stock's fastest path (OpenCV float32 on x86, PyTorch float32 on the Graviton4); the Xeon at 4K is the exception, where Riptide wins 1.12×. Cause: at that size the work is memory traffic, and the float paths are exact for 3 × 3.
  • Very large kernels. 31 × 31 on the Graviton4 runs at 0.60× and on the EPYC at 1.01×. Cause: OpenCV switches to an FFT there, whose cost does not grow with the kernel size.
  • int16 images. 28 of 105 int16 cases run slower than stock's fastest path, most often at 3 × 3 and 31 × 31; the worst is 0.29× (2048², 3 × 3, Graviton4), and at 8K those cases run at 0.46–0.95×. Cause: under investigation.
  • Long filters and long signals. At 4,096 taps a float64 FFT is faster than Riptide for 24-bit audio (0.6–1.0×) and on the GPUs (cuFFT float64 is 2.7–7× faster there). For 16-bit cross-correlation a float64 FFT is exact and 1.07–2.7× faster on the Xeon. Cause: an FFT's cost does not grow with the filter length.
  • The integer Gaussian against OpenCV's float32 separable filter on x86 at 8K (0.68–0.93×), and on the H100 at 31 taps against CuPy's float32 FFT (0.67×). Cause: both stock paths are float32 and inexact there (1% and 0.7% of pixels right); against the exact float64 paths Riptide is faster.
  • int8 matrix products add nothing yet. At ML shapes the prototype is faster than Riptorch 0.4.0's exact int8 matrix multiply on 26 of 27 shape × CPU pairs and 4–41× faster than torch._int_mm on the Graviton4, but oneDNN with AMX-INT8 on Sapphire Rapids is 2.7–8× faster than it, and oneDNN with VNNI on Zen 4 1.3–17×. Riptorch 0.4.0's CUDA int8 path, as shipped, is much slower than cuBLASLt (the measured call includes a host read). Cause: under investigation.

Reproduce it yourself

Run kits/exact-filters from the public riptide-reproduce repository: one command, a few minutes on a laptop, public software only. It reproduces how often OpenCV's float32 integer-Gaussian filter and SciPy's float64 FFT correlation return the exact integer answer. Every baseline's value and its error against the exact answer are printed and saved to errors.csv, and the exact results print the same hash on every machine: if your float hash differs from ours or a colleague's, that is precision drift in your pipeline.

Reproduction notes

  • Software. The exact-integer kernels and engine are a Riptide prototype and are not published. Evaluation builds are available through Request an evaluation.
  • Records. Every benchmark row with all raw times and its exactness counts, a machine record and package list per machine, the cross-device logit hashes, and the kernel test logs. The logits (190 MB) and prepared inputs are kept as well. Evaluation partners can have the raw files on request.
  • Cost. About $10 of rented machine time: about $6.1 on AWS and $3.98 on RunPod.

References

  • OpenCV: Bradski, The OpenCV Library, Dr. Dobb's Journal, 2000; OpenCV 5.1 documentation for filter2D, sepFilter2D, boxFilter.
  • Virtanen et al., SciPy 1.0: fundamental algorithms for scientific computing in Python, Nature Methods 2020.
  • Harris et al., Array programming with NumPy, Nature 2020.
  • F. C. Crow, Summed-area tables for texture mapping, SIGGRAPH 1984.
  • J. M. Pollard, The fast Fourier transform in a finite field, Mathematics of Computation 25 (1971), pp. 365–374.
  • Jacob et al., Quantization and training of neural networks for efficient integer-arithmetic-only inference, CVPR 2018.
  • He, Zhang, Ren and Sun, Deep residual learning for image recognition (ResNet), CVPR 2016.
  • Sandler et al., MobileNetV2: inverted residuals and linear bottlenecks, CVPR 2018.
  • Howard, Imagenette, fast.ai, 2019.
  • Chetlur et al., cuDNN: efficient primitives for deep learning, 2014; NVIDIA TensorRT 10 documentation.

Date and version

Version 1.4, 1 December 2026. Measurements from 1 December 2026. Updated 1 December 2026: added Method section; linked the GPU tensor-core follow-up in "Limitations and next steps". Updated 1 December 2026: limitations section retitled. Updated 1 December 2026: added "Reproduce it yourself".

Working with Riptide

Riptide works with a small number of teams. Each engagement starts with 4 weeks inside your systems, learning how your models, data and infrastructure work. Only then does Riptide apply its software to them. Contact samario@riptidecompute.com or riptidecompute.com/evaluate.