IBM

Dataflow Execution Models

IBM

Dataflow Execution Models

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

5 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • ·Explain dataflow firing rules and the trade-offs of static and dynamic scheduling.

  • ·Trace a PyTorch model with torch.fx and annotate graph nodes with compute and memory cost.

  • ·Compare how TPU, Groq, Cerebras, and IBM Spyre implement dataflow execution.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

October 2026

Assessments

2 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Dataflow Architectures for AI Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 8 modules in this course

This module defines the classical dataflow abstraction: a program expressed as a graph of nodes and edges, in which a node becomes eligible to execute when all of its inputs are available. An attention block is traced step by step to show how concurrency follows from graph topology. The module then separates two properties that are often confused: scheduling commitment, meaning how much of the schedule is fixed at compile time, and runtime dynamism. It introduces a six-layer execution model that applies to any accelerator, explains the energy savings of dataflow execution, and examines the main cost of compile-time commitment, which is the requirement for static shapes.

What's included

2 videos

This module covers how a PyTorch program becomes a graph that a compiler can process. It describes the structure of a torch.fx graph, including node types, targets, arguments, and the output node. It then identifies what the traced graph does not contain, such as concrete tensor shapes and memory layout, and explains the guards that record the assumptions under which a traced graph is valid. The module concludes with the sequence of compiler stages that take a captured graph to hardware execution.

What's included

1 video

This module places accelerator architectures in a two-dimensional design space defined by memory model and compile-time scheduling commitment. It describes the GPU warp as the unit of SIMT execution and then presents the TPU systolic array step by step, from weight loading to the completed wavefront. It covers the TPU's compiler-managed dataflow and the organization of TPU pods connected by the inter-chip interconnect. It then describes the Groq Tensor Streaming Processor, including its functional slices, superlanes, and the separate paths for instructions and tensor data. The module ends with a comparison of five architectures across six design dimensions, which forms the Week 2 row of the Accelerator Landscape Map.

What's included

1 video

Moving data between chips is slow and costs energy. Cerebras keeps most of that traffic on a single wafer-sized chip. This module looks at how that choice affects memory, routing, compilation and the handling of manufacturing defects.

What's included

1 video

Each core on IBM Spyre has a small scratchpad that software manages directly. As a result, the compiler’s choices about tile size and data lifetime decide much of the performance. This module is based on public architecture and software documentation, and it separates the software path in use today from the KTIR work that is still being developed.

What's included

1 video

The attention computation stays the same and the hardware changes. You will follow it through the Spyre and TPU compiler stacks and explain each difference in their output from the hardware, not from the names of compiler passes.

What's included

1 video

This lab traces a transformer block into a dataflow graph with torch.fx and visualizes it as a DAG in Google Colab. Students annotate every node with FLOPs and bytes, compute per-node arithmetic intensity, and classify each node as compute-bound or memory-bound against their GPU's ridge point. Re-classifying the same graph against a dataflow accelerator's scratchpad ridge shows the partition shift while the graph stays unchanged.

What's included

1 assignment1 ungraded lab

This quiz covers all six modules of the course: dataflow firing rules and the six-layer execution model, PyTorch FX graphs, the six-question comparison of accelerators, Cerebras, Spyre, and the attention case study on Spyre and TPU. It has 19 questions, including shape-bucket padding and SRAM capacity calculations. Allow about 50 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.

What's included

1 assignment

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Kaoutar El Maghraoui
1 Course1 learner

Offered by

IBM

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions