The PQ2 weight layout, showing packed ternary codes, scales and prepared memory planes.

Making a ternary reasoning model fast in vLLM

Technical series · AI systems · GPU optimisation · Quantisation

A technical series on serving a compressed reasoning model in vLLM: kernel optimisation, careful measurement, speculative decoding and the final move from CUDA to Triton and Gluon.

10 chapters · 3 companion guides

Read the series
Least-squares fit to noisy measurements with a two-sigma uncertainty band for the fitted mean.

Chi-squared fitting

Tutorial · Statistics · Parameter estimation

Connect least squares, measurement uncertainties and Bayesian inference. Change the sample size, polynomial degree and weighting, then inspect the fitted curve and residuals.

Interactive experiment

Points, noise, polynomial degree and weighting.

Read the note
Position errors from noisy measurements, Kalman filtering and RTS smoothing on the same simulated vehicle sequence.

Kalman filtering

Tutorial · Sequential estimation · Tracking

Follow an estimate as observations arrive. Tune measurement and process noise, track a moving vehicle, and compare sequential filtering with smoothing and a batch fit.

Interactive experiment

Observation count and noise assumptions.

Read the note
Noisy position measurements and a constant-velocity estimate around a true circular path.

Tracking a turning object

Tutorial · State models · Nonlinear filtering

Compare position, velocity and acceleration models on a noisy circular path. Explore their assumptions and see how a circular extended Kalman filter models the geometry explicitly.

Interactive experiment

State model and noise assumptions.

Read the note
Two softened-gravity orbital paths with markers showing the bodies at the end of the simulated interval.

Planetary motion

Tutorial · Numerical integration · Mechanics

Build orbital simulations from Newton's laws. Switch integrators, adjust the time step and play the orbit while comparing energy conservation with trajectory accuracy.

Interactive experiment

Integrator, time step and playback.

Read the note
Injected sensor shifts compared with recovered shifts and one-sigma uncertainties in the interactive alignment example.

Aligning a tracking detector

Tutorial · Detector physics · Optimisation

Recover sensor shifts from many tracks with a global chi-squared fit. Explore the effect of track count, measurement error and detector shifts, and learn why reference constraints matter.

Interactive experiment

Tracks, measurement error and detector shifts.

Read the note