ML & Autodiff
3 articles
Implementing a Quantized Matrix Multiplication Extension in MLX from Scratch
Group quantization, nanobind C++ bindings, and custom Metal GPU kernels on Apple Silicon
Forward-Mode and Reverse-Mode Autodiff via JVP and VJP
Understanding Jacobian-vector and vector-Jacobian products in PyTorch, JAX, and MLX
Solutions to Tensor Puzzlers: A Deep Dive into Tensor Operations
Vectorized solutions and broadcasting patterns for Sasha Rush's Tensor Puzzles