Research
Research notes
Deeper technical explorations. Notes are marked ๐ฑ seedling ๐ฟ growing ๐ณ evergreen to signal maturity.
- ๐ณ Validating Numerical Precision for Low-Precision Ops Methods and tools to detect and validate numerical precision issues when implementing math ops in low-precision types like bfloat16.
- ๐ณ Numerical Precision Challenges in ATen Operations Precision-loss pitfalls in low-precision (bf16/fp16) PyTorch ATen ops โ catastrophic cancellation, absorption, ULP, and how to reason about them.
- ๐ฟ LLM Inference Optimization Where the time and memory actually go when serving large language models.
- ๐ฑ Barrett Reduction Replacing division by a constant modulus with a multiply and a shift.
- ๐ฑ Knuth Algorithm D Schoolbook long division on machine-word limbs, done carefully.
- ๐ฟ SIMD Integer Arithmetic Why integer division resists vectorization and how to work around it.