openxla/xla

A machine learning compiler for GPUs, CPUs, and ML accelerators

What it solves

XLA addresses the challenge of running machine learning models efficiently across diverse hardware. It prevents the need to write hardware-specific code for every model, allowing high-performance execution on GPUs, CPUs, and specialized ML accelerators.

How it works

XLA acts as a compiler that takes models from popular frameworks like PyTorch, TensorFlow, and JAX and optimizes them specifically for the target hardware platform to ensure high-performance execution.

Who it’s for

This project is primarily for ML framework developers, XLA contributors who want to develop the compiler, and integrators who need to debug or add support for new ML frontends or hardware backends.

Highlights

  • Support for major frameworks including PyTorch, TensorFlow, and JAX.
  • Cross-platform optimization for CPUs, GPUs, and ML accelerators.
  • Open-source machine learning compiler.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch