XLA does for TensorFlow/JAX: compiles computation graphs for TPU/GPU execution

How can you speed up your favorite video game?

Image: GuavaTrain, CC0, via Wikimedia Commons

XLA does for TensorFlow/JAX: compiles computation graphs for TPU/GPU execution

How can you speed up your favorite video game?

Imagine you're playing a fast-paced racing game on your console, and you want to hit the track as quickly as possible. You notice that sometimes the game lags, making it hard to keep up with your friends.

XLA helps by optimizing the game's code so it can run faster on your console's powerful graphics card, making the game smoother and quicker to respond to your commands.

Example

Without XLA, your game might take 10 seconds to load a new track, but with XLA, it loads in just 5 seconds.

Remember this

XLA compiles computation graphs for TPU/GPU execution, speeding up your game's performance.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath