gemini-2.5-pro| input-price: 1.25 output-price: 10 max-context-length: 200_000 (cost: $0.05) Β· Anfrage: 2025-09-11T21:58:14.249764

Generated by rs-summarizer Version unbekannt

Abstract:

This talk by Eugene Zhulenev from Google provides a comprehensive overview of the XLA (Accelerated Linear Algebra) compiler's architecture, key design principles, and internal workings. It begins by defining XLA as a compiler designed to accelerate machine learning workloads by taking a high-level graph representation and generating optimized machine code for various hardware backends like TPUs, GPUs, and CPUs.

The presentation highlights the core design decisions that have shaped XLA: a reduced instruction set (HLO) to manage complexity, a reliance on statically shaped programs for predictable performance and memory planning, and a split architecture with a shared frontend for generic optimizations and specialized backends for device-specific code generation. The talk details fundamental XLA concepts such as the array data structure, memory layouts, tiling for TPUs, and the use of tokens for managing control dependencies. It then walks through the compiler pipeline, covering crucial frontend passes like operator fusion, layout assignment, and buffer assignment, which are key to XLA's performance. Finally, it contrasts the execution models of the different backends: the host-driven, kernel-by-kernel execution on GPUs and CPUs versus the on-device, single-binary execution on TPUs. The relationship between the high-level PjRt API for frameworks and XLA's internal runtime is also clarified.

JAX/OpenXLA DevLab 2025 - XLA Architecture

Summary Rating: No ratings yet
Article Rating: No ratings yet

Source