Skip to content
All conferences

PyTorch Conference Europe

Compiler Tax

what surprises developers moving PyTorch workloads to ASICs

Paris, 8 April 2026

De-mystifying PyTorch for ASICs: When (and Why) To Move Your Development To AI Accelerators.

A code-first check on moving PyTorch from GPUs to Google TPUs and AWS Trainium, and when it is worth doing.

The talk

GPU availability and cost are squeezing ML teams, making ASICs like Google TPUs and AWS Trainium attractive alternatives. But does the software stack hold up? The session compares the PyTorch/XLA and TorchNeuron compiler stacks through side-by-side code diffs and benchmarks, fine-tuning Llama 4, Gemma 3 and Qwen 3 and training CNNs and ViTs, and answers three questions.

The code
How much rewriting is actually required?
The performance
Which model architectures thrive on ASICs, and which ones fail due to dynamic shapes?
The debugging
What happens when you hit an out-of-memory error or a compilation hang?

Attendees leave with a Migration Decision Matrix, to judge whether their own workload is ready.

The evidence

The talk's code and assets run from infrastructure and setup through models, training, fine-tuning and inference. Its companion repository fine-tunes three models, SFT then DPO with LoRA, on both GPU and TPU. For a later measurement of serving and training on AWS's chips, read the study below.

63 to 71 ms

per token on Inferentia2 from 1 to 32 streams, while throughput grows 26×

ASICs, July and August 2026

Llama 3.1 8B on AWS Trainium and Inferentia

A fine-tune on Trainium, served on Inferentia2, measured beside an MI300X and an H200.

Where and when

Conference
PyTorch Conference Europe, Paris
Date
Wednesday 8 April 2026, 16:25 to 16:50 CEST
Room
Central Room
Track
Frameworks & Compilers, intermediate level

Watch and read

Keep reading

All conferences
  • PyTorch Day Japan

    27×

    faster prefill on a second turn: Qwen3-1.7B on ExecuTorch, reusing 1,192 tokens

    Tokyo, 10 December 2026

    When the KV Cache Cannot Roll Back

    How a phone skips re-reading a 2,050-token agent prompt, built twice because the app's two runtimes have different cache constraints.

    Alpha Romer Coma and Arjhine Ty

  • PyTorch Day Korea

    1 in 5

    replies from the compiled 1.2B cited a search it never made, on our first test set. As a GGUF, none of 640

    Seoul, 21 November 2026

    The Search It Never Made

    Whether a small model on a phone searches when it must, on 160 public questions, four phones and two builds of the same weights.

    Xynil Jhed Lacap

  • GitHub Universe

    24 tasks

    of real work on ten setups. Each bar is tasks finished; the bright ones ran locally

    San Francisco, 28 October 2026

    When is local Copilot worth it?

    The same Copilot CLI agent on the same real tasks: open-weight models you serve yourself against hosted Copilot.

    Alpha Romer Coma