LLMs, Vision & Systems

Notes from ongoing research and experiments around machine learning and computer vision.

SAM32025-12-2112 min

MLX SAM3

A worklog to share some understanding of Meta's latest segmentation model SAM3 ported to mlx to run on Apple Silicon with a demonstrable application.

View code on GitHub
LLMs2025-11-1812 min

KV Cache in Large Language Models

A practical guide to understanding and implementing KV Cache in large language models. Implementation is using mlx framework, a NumPy-like array framework optimized for Apple Silicon's Unified Memory Architecture.

View code on GitHub