cd/sources/hiraditya-auto-discovered· home sources Hiraditya (auto-discovered)
cat /sources/hiraditya-auto-discovered.feed | wc -l → 19

Hiraditya (auto-discovered)

articles 19 domain hiraditya.github.io → feed RSS
03:00
2026-08-17
hiraditya.github.io
ai-infrastructure

Prefill and Decode Want Different Computers

AWS is pairing its Trainium chips with Cerebras CS-3 systems to split transformer inference into prefill and decode phases, with Trainium handling prefill and Cerebras handling decode, shipping as a p…

14:00
2026-08-14
hiraditya.github.io
artificial-intelligence

Provenance Is Not Correctness

Anthropic has begun watermarking text output from Claude, embedding imperceptible watermarks in text and attaching C2PA metadata to files, with models launched on or after 2 August 2026 supporting mar…

13:00
2026-07-29
hiraditya.github.io
machine-learning

When XLA Isn't Enough: Pallas, Mosaic, and Triton

JAX's Pallas kernel system, which lowers through Triton on GPU and Mosaic on TPU, lets developers write custom kernels when XLA's automatic fusion is insufficient for operations like flash attention, …

19:00
2026-07-28
hiraditya.github.io
machine-learning

What JAX Traces, and What It Refuses

JAX, a numerical computing library, is fundamentally a tracing machine that converts pure Python functions into a typed intermediate representation called a jaxpr, refusing to execute code with contro…

19:00
2026-07-25
hiraditya.github.io
machine-learning

XLA Up Close: What It Optimizes, and What It Won't

XLA, the compiler behind JAX, TensorFlow, and PyTorch/XLA, optimizes array programs by freezing shapes, statically allocating buffers, and fusing operations against a global cost model, which makes it…

03:00
2026-07-24
hiraditya.github.io
machine-learning

A Tour of XLA: Where MLIR Lives (and Where It Doesn't)

XLA, the compiler under JAX, TensorFlow, and PyTorch/XLA, uses two intermediate representations: classic HLO (a hand-built C++ IR) and MLIR dialects such as StableHLO and CHLO, with a translation laye…

19:00
2026-07-21
hiraditya.github.io
machine-learning

How torch.compile Actually Works

Torch.compile is not a traditional compiler but a system that intercepts Python bytecode at runtime, extracts compilable regions through a multi-stage pipeline, and stitches them back with eager Pytho…

19:00
2026-07-19
hiraditya.github.io
artificial-intelligence

Triton: The Compiler That Pretends to Be a Library

Triton is a compiler with a Python frontend that parses a function's AST, runs it through an MLIR pipeline, and emits a GPU binary, never executing the Python function as Python. The compiler handles …

19:00
2026-07-14
hiraditya.github.io
developer-tools

Anatomy of a CUDA Binary

A cubin (CUDA binary) is a standard ELF64 file with NVIDIA-specific sections that encode everything needed to load and launch a kernel, including machine code, parameter layout, and register allocatio…

19:00
2026-07-13
hiraditya.github.io
developer-tools

Where Should Your Code Live?

A survey of code repository hosting in 2026 finds that GitHub remains the default for most developers, but concerns over DMCA compliance, AI training on code, account suspension, and Microsoft ownersh…

13:00
2026-06-24
hiraditya.github.io
machine-learning

Three Ways to Take a Gradient: Tape, Trace, and Source Transform

PyTorch, JAX, and compiler-level tools like Enzyme use three different representations for automatic differentiation—runtime tape, functional trace-and-transform, and source (IR) transformation—each w…

12:00
2026-06-23
hiraditya.github.io
machine-learning

A tour of MLIR: The Dialect Stack Everyone Depends On

MLIR, a compiler infrastructure framework, has become the foundation for numerous machine learning compilers including XLA, Triton, Mojo, Torch-MLIR, IREE, and ONNX-MLIR. It provides a reusable IR con…

15:00
2026-06-21
hiraditya.github.io
machine-learning

Why VLIW Architecture is Popular Again

VLIW architecture is experiencing a resurgence driven by machine learning workloads, which rely on regular, statically analyzable computation that VLIW exploits efficiently. Unlike out-of-order design…

15:00
2026-06-19
hiraditya.github.io
large-language-models

Building vLLM from Source: A Field Guide (with all the pitfalls)

A developer building vLLM from source on an AWS g5 instance with Ubuntu 26.04 and Python 3.14 encountered multiple version-skew, driver, and toolchain issues, including a pitfall where missing nvidia-…

23:32
2026-06-17
hiraditya.github.io
machine-learning

Loop Unrolling in the ML Era

Loop unrolling, a classic compiler optimization, is experiencing a resurgence in the machine learning era as a critical technique for maximizing throughput on modern compute architectures like SIMD ve…

15:00
2026-06-17
hiraditya.github.io
large-language-models

vLLM's op IR, or: where the inference engine meets the compiler

VLLM, a model-serving engine for large language models, introduced a small op-level IR to resolve the tension between acting as a compiler target and a hand-tuned kernel dispatcher. The IR allows vLLM…

15:00
2026-06-13
hiraditya.github.io
ai-infrastructure

"Hello, World!" in a Heterogeneous System

A developer explores the complexity of running a "Hello, World!" program on a heterogeneous system where a host processor launches code on a different target architecture, such as a DSP or AI accelera…