IBM

Compilation for Dataflow

kurs ist nicht verfügbar in Deutsch (Deutschland)

Wir übersetzen es in weitere Sprachen.
IBM

Compilation for Dataflow

Bei Coursera PlusMehr erfahren enthalten

Verschaffen Sie sich einen Einblick in ein Thema und lernen Sie die Grundlagen.
Stufe Mittel

Empfohlene Erfahrung

5 Stunden zu vervollständigen
Flexibler Zeitplan
In Ihrem eigenen Lerntempo lernen
Verschaffen Sie sich einen Einblick in ein Thema und lernen Sie die Grundlagen.
Stufe Mittel

Empfohlene Erfahrung

5 Stunden zu vervollständigen
Flexibler Zeitplan
In Ihrem eigenen Lerntempo lernen

Was Sie lernen werden

  • Trace the PyTorch 2 compilation path from TorchDynamo through TorchInductor.

  • Find and fix graph breaks and diagnose recompilation in compiled models.

  • Compare fusion, tiling, layout, and scheduling decisions across Inductor, XLA, and Spyre.

Kompetenzen, die Sie erwerben

  • Kategorie: Model Optimization
  • Kategorie: Performance Tuning
  • Kategorie: Debugging
  • Kategorie: Hardware Architecture
  • Kategorie: Dataflow
  • Kategorie: Performance Testing
  • Kategorie: Computer Architecture

Werkzeuge, die Sie lernen werden

  • Kategorie: PyTorch (Machine Learning Library)

Wichtige Details

Zertifikat zur Vorlage

Zu Ihrem LinkedIn-Profil hinzufügen

Kürzlich aktualisiert!

Oktober 2026

Bewertungen

2 Aufgaben

Unterrichtet in Englisch

Erfahren Sie, wie Mitarbeiter führender Unternehmen gefragte Kompetenzen erwerben.

 Logos von Petrobras, TATA, Danone, Capgemini, P&G und L'Oreal

Erweitern Sie Ihre Fachkenntnisse

Dieser Kurs ist Teil der Spezialisierung Spezialisierung „Dataflow Architectures for AI“
Wenn Sie sich für diesen Kurs anmelden, werden Sie auch für diese Spezialisierung angemeldet.
  • Lernen Sie neue Konzepte von Branchenexperten
  • Gewinnen Sie ein Grundverständnis bestimmter Themen oder Tools
  • Erwerben Sie berufsrelevante Kompetenzen durch praktische Projekte
  • Erwerben Sie ein Berufszertifikat zur Vorlage

In diesem Kurs gibt es 8 Module

This module covers the part of compilation that every PyTorch backend shares. It starts from the FX graph introduced in week two and explains why torch.compile exists. You will then follow a model through TorchDynamo, AOTAutograd and Core ATen decomposition, and see how graph breaks and guards affect what the backend receives.

Das ist alles enthalten

1 Video

A compiler uses several intermediate representations between source code and machine code. This module covers five of them: FX, Core ATen, HLO, MLIR and KTIR. For each one, you will see what it makes explicit and what it no longer records, and why different transformations need different levels.

Das ist alles enthalten

1 Video

Five compiler passes matter most for dataflow hardware: decomposition, operator fusion, layout, tiling for on-chip memory, and scheduling. This module explains what each pass decides and how a decision in one pass limits the others. It also introduces tile-level kernel languages such as Triton.

Das ist alles enthalten

1 Video

XLA is a compiler built for TPU, and its design follows from the hardware. A large systolic matrix unit is efficient only when it receives regular, correctly shaped data on every cycle. This module covers why TPU needs a whole-graph compiler, what the HLO representation makes possible, the two ways a PyTorch model reaches XLA, and the cost of requiring static shapes.

Das ist alles enthalten

1 Video

On Spyre, many decisions that a GPU leaves to caches or runtime scheduling are made by the compiler before execution. This module studies torch-spyre, the open-source frontend for Spyre, and the plans it produces. It distinguishes features that are published, features that are implemented today and features that are planned.

Das ist alles enthalten

1 Video

One attention block is compiled with XLA for TPU and with torch-spyre for Spyre. You will see where the two pipelines make the same choices and where they differ. Some transformations follow from the graph alone. Others depend on local memory size, matrix-array shape, the interconnect or the scheduling model.

Das ist alles enthalten

1 Video

This lab compiles a transformer block with torch.compile in Google Colab and measures the speedup over eager execution, weighing one-time compilation latency against the per-call steady-state saving. Students ablate the eager, aot_eager, and inductor backends to locate where the speedup originates, then detect and repair graph breaks that prevent whole-graph compilation. Reading the generated Triton and cuBLAS kernels connects operator fusion to dataflow execution. The lab adds the Week 3 row to the Accelerator Landscape Map.

Das ist alles enthalten

1 Aufgabe1 Unbewertetes Labor

This quiz covers all six modules of the course: the PyTorch compilation frontend, intermediate representations from FX to KTIR, the main compiler passes, XLA on TPU, torch-spyre on Spyre, and the two compilers side by side. It has 18 questions, including calculations of fusion traffic, padding waste and scratchpad slice size. Allow about 45 minutes and keep a calculator nearby. You need 80% to pass, and you can take the quiz up to 3 times. Your highest score counts.

Das ist alles enthalten

1 Aufgabe

Erwerben Sie ein Karrierezertifikat.

Fügen Sie dieses Zeugnis Ihrem LinkedIn-Profil, Lebenslauf oder CV hinzu. Teilen Sie sie in Social Media und in Ihrer Leistungsbeurteilung.

Dozent

Kaoutar El Maghraoui
6 Kurse78 Lernende

von

IBM

Warum entscheiden sich Menschen für Coursera für ihre Karriere?

Felipe M.

Lernender seit 2018
„Es ist eine großartige Erfahrung, in meinem eigenen Tempo zu lernen. Ich kann lernen, wenn ich Zeit und Nerven dazu habe.“

Jennifer J.

Lernender seit 2020
„Bei einem spannenden neuen Projekt konnte ich die neuen Kenntnisse und Kompetenzen aus den Kursen direkt bei der Arbeit anwenden.“

Larry W.

Lernender seit 2021
„Wenn mir Kurse zu Themen fehlen, die meine Universität nicht anbietet, ist Coursera mit die beste Alternative.“

Chaitanya A.

„Man lernt nicht nur, um bei der Arbeit besser zu werden. Es geht noch um viel mehr. Bei Coursera kann ich ohne Grenzen lernen.“

Was führt Sie heute zu Coursera?

Häufig gestellte Fragen