AI Engineer World's Fair 2026

Taming the AI Hardware Cambrian Explosion — Abdul Dakkak, Modular

Loading slides…

Read the talk

Taming the AI Hardware Cambrian Explosion

Abdul Dakkak explains how Modular connects Mojo kernels, MAX inference and distributed deployment—and why its performance comparisons need to be read alongside their workloads, hardware and costs.

From a talk by Abdul Dakkak

At a glance

Ideas worth remembering

  • Modular connects three levels of work: Mojo implements portable device code, MAX executes and serves models, and Cloud operates distributed endpoints.

  • Mojo’s performance strategy combines portable kernel abstractions with low-level access; open kernels let developers test the claims on their own workloads.

  • MAX keeps model authoring in Python while exposing multi-GPU, multi-node and heterogeneous execution, including separate hardware for prefill and decode.

  • Time to first token, throughput and baseline-relative speedups answer different questions. Hardware price must enter the comparison before drawing a cost conclusion.

  • The subsecond image example makes the application stake concrete: faster execution shortens the wait between a changed prompt and its visual result.

More chips leave software with more choices to manage

Compute can be booked out for years while the choice of processors keeps expanding. That is the opening tension in Abdul Dakkak’s account of Modular: NVIDIA GPU generations coexist with hardware from Intel, Arm and Apple, each covering different needs. More hardware creates more possible places to run a model. It also creates a programming problem: how much software must change to use each one?

Hardware choices travel upward through the software stack. Dakkak introduces a diagram of vLLM’s NVIDIA and AMD support to illustrate that complexity; adding another hardware target adds more implementation choices to manage. Production deployments then multiply the stacks themselves, using vLLM, SGLang, TensorRT-LLM or llama.cpp. The useful question for the diagram is where hardware-specific dependencies enter an otherwise shared inference system.

Modular’s response is to rebuild the stack around a common hardware layer. This commits the company to solving several problems together: writing fast device code, executing models and operating inference across machines. A common interface alone would leave the performance work underneath unresolved.

0:130:39
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:13 · section reference included

Mojo, MAX and Cloud divide the work

The proposed stack has three layers with different jobs. Mojo supplies a Python-like systems language targeting CPUs, GPUs and other accelerators. MAX uses Mojo kernels to execute models across text, image, video and speech workloads. Modular Cloud handles deployment and distributed serving decisions: choosing hardware, routing requests, offloading the key-value cache and arranging distributed or disaggregated inference.

What depends on what? The stack below separates language and kernel implementation from model execution and endpoint operation. MAX is built on Mojo; Cloud sits above those capabilities to operate inference across machines. These are software dependencies, rather than three consecutive stages that every request must visibly traverse. Dakkak describes deployment on premises, in Modular’s cloud or in a customer’s cloud environment.

The implementation beneath a distributed endpoint

MojoSystems programming and kernels targeting CPUs, GPUs and other accelerators.
MAXModel execution and inference using Mojo kernels across several modalities.
Modular CloudEndpoint deployment and distributed operation, with access to MAX and Mojo tuning variables.
Arrows indicate that one software layer is built on the capabilities below it; they do not depict request routing.
Read the diagram as text
  • Mojo. Systems programming and kernels targeting CPUs, GPUs and other accelerators.
  • MAX. Model execution and inference using Mojo kernels across several modalities.
  • Modular Cloud. Endpoint deployment and distributed operation, with access to MAX and Mojo tuning variables.
  • MAX → Mojo: Built with Mojo kernels.
  • Modular Cloud → MAX: Operates and exposes tuning of the inference stack.
2:002:31
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

2:00 · section reference included

Portable kernels still need low-level access

Mojo occupies the systems-programming role associated with C++, Rust and CUDA C++, while presenting Python-like syntax. The ambition is familiar programming across accelerators without giving up the control needed to compete with CUDA performance. Syntax lowers the entry cost; hardware access determines how far optimization can go.

Dakkak places existing approaches along three competing dimensions—usability, performance and portability:

  • CUDA and ROCm: Strong performance, with more demanding programming and hardware-specific work.
  • OpenCL: Broad portability, with compromises in usability and performance in his comparison.
  • Triton: A useful balance of portability and usability, though he characterizes its performance as roughly 70% without specifying a workload or denominator.
  • Mojo: Portable kernel abstractions combined with low-level access, so programmers can keep tuning when a higher-level abstraction stops being sufficient.

The kernels are the concrete test of that design. Dakkak reports matrix-multiplication results ahead of cuBLAS and hipBLAS, and attention kernels ahead of FlashAttention 4 and AITER. Practically all of Modular’s kernels, he says, are open source and can be benchmarked on a reader’s own machine. The recording does not establish the shapes, precisions or hardware configurations behind these kernel comparisons, so they support workload-specific performance claims rather than a universal ranking.

The language’s release status is separate from the kernels’ availability. At the time of the recording, Mojo 1.0 and API stabilization had been announced, while the release and open sourcing of Mojo itself were promised for the following months. Open kernels therefore did not yet imply an already open-source language implementation.

3:314:01
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

3:31 · section reference included

MAX brings model execution and optimization into one framework

MAX addresses the next layer of the problem. Dakkak’s criticism of PyTorch is historical: its original design predates today’s generative-inference requirements. Systems such as vLLM and SGLang supplied serving mechanisms including KV-cache management and PagedAttention, but those additions also left teams assembling more layers around the framework.

MAX combines graph compilation with eager execution that is portable across devices. Its compiler also understands Mojo programs, allowing fusion across work expressed in those programs. Fusion brings operations together in the compiled execution; the architectural point is that optimization can reach into the kernel language rather than treating it as an unrelated implementation beneath the model framework. Eager execution remains available for development and debugging.

Development, optimization and serving are intended to live in one system. Dakkak claims support for thousands of model architectures and provides OpenAI-compatible endpoints for familiar client access. The endpoint interface and the internal execution machinery solve different adoption problems: applications can keep a familiar request format while model developers work within MAX.

6:176:45
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:17 · section reference included

Python model definitions extend across GPUs and nodes

Model development stays in Python. Developers import modules, compose them into a model and use eager execution to debug. Dakkak points to a model-definition example as evidence that this should feel familiar to a PyTorch programmer. The useful thing to inspect is how imports and composition express the model, rather than assuming that the systems language must also become the model-authoring language.

The execution target can then expand beyond one device. MAX APIs describe models running across multiple GPUs and multiple nodes. They can also express heterogeneous placement: Dakkak’s concrete example puts prefill on hardware X and decode on hardware Y. Those are distinct phases of language-model inference, so the placement choice can follow the phase rather than forcing the entire model-serving operation onto one kind of processor. The example establishes the supported placement idea without detailing its scheduling or cross-device transfer implementation.

8:148:44
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

8:14 · section reference included

A cloud endpoint with the tuning controls exposed

Modular Cloud is described as a “glass box”: the endpoint exposes variables from MAX, Mojo and the layers between them. Cloud Lab lets users experiment with parameters and choose a point suited to a particular model and workload. That matters because deployment is already a collection of decisions about machines, routing and cache handling; a convenient endpoint does not remove the need to make those decisions well.

The basic usage path is familiar: select a model, obtain an API key and place it in an HTTP request. More specialized deployments can use dedicated endpoints, fine-tuned models or custom speculative decoders. Bring-your-own-cloud deployment provides another operating option. The claimed benefit is flexibility across both models and hardware, with cost reduction as a workload-dependent outcome of those choices.

3:019:30
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

9:30 · section reference included

Read latency, throughput and GPU cost separately

The benchmark sequence turns the architecture into measurable claims. Dakkak introduces comparisons against vLLM or SGLang configurations and then moves between language models, image generation and different GPU vendors. These are reported results from the recording; the full workload settings and measurement protocols are not established here, which limits comparisons beyond the named cases.

For Kimi K2.5, Modular reports a 5.5× improvement in time to first token relative to vLLM, alongside 1.5× throughput measured in tokens per minute per GPU on B200. These metrics answer different questions: time to first token concerns how long a user waits for output to begin, while throughput concerns how much output the hardware serves. The two multipliers should remain separate. A useful inspection of the benchmark slide would look for the conditions attached to each.

The Kimi K2.5 slide separates the 5.5× P50 TTFT result from 1.5× throughput (TPM/GPU), with vLLM as the comparison and NVIDIA B200 in the configuration.Open full source frame
The Kimi K2.5 slide separates the 5.5× P50 TTFT result from 1.5× throughput (TPM/GPU), with vLLM as the comparison and NVIDIA B200 in the configuration.
Kimi-K2.5 on MAX
Modular MAX vs. vLLM

Configuration:
Kimi-K2.5
NVIDIA B200

P50 TTFT
Modular    239 ms
vLLM       1,303 ms
5.5x

Throughput (TPM/GPU)
Modular    625k
vLLM       419k
1.5x

For FLUX.2, Dakkak reports about 7× faster execution than torch.compile with Diffusers. He uses the image-generation result to emphasize that MAX covers several modalities within the same framework: text, image, audio and video generation share the stack rather than requiring a separate framework for each category.

The AMD comparison prompts an important correction. Dakkak reports a 4× improvement on MI355 systems, then warns against concluding that the 7× result is automatically the better purchase. Each speedup is relative to a baseline, and operating cost also depends on GPU price. He characterizes AMD hardware as usually about 30% cheaper than the NVIDIA equivalent. The practical comparison therefore needs delivered performance and hardware cost together; the multipliers alone do not establish total cost of ownership.

11:2111:51
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

11:21 · section reference included

Subsecond images turn speed into an interaction

Dakkak next describes Artificial Analysis independently verifying results through a partnership with Modular. For FLUX.2 dev, he reports roughly 3× the speed of the next competitor in the comparison shown. He explicitly attributes this to execution performance rather than distillation or quantization. That is a consequential distinction: the claimed gain comes from running the model more efficiently, rather than changing it through those techniques.

What does that speed let a user do? In the demonstration Dakkak describes, someone pastes prompts and images appear in under a second—often around 0.3 seconds. The observable relationship to inspect is the prompt change, the resulting image and any displayed timing. He also describes a booth demonstration that combines a prompt with a video feed and renders the result. The application consequence is shorter waiting between an input and a visual response; the recording does not establish a sustained frame rate or a complete end-to-end latency definition.

The final model comparison is Gemma 4. Dakkak reports roughly 6× the speed of SambaNova in the presented comparison, including a hardware-accelerator provider among the competitors. This remains a separate model-serving result, rather than another measurement of the image demonstration. He closes the performance sequence by saying further optimizations are still being added.

13:2213:52
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

13:22 · section reference included

The invitation is to inspect and benchmark the stack

The ending returns to what developers can inspect. Dakkak says Modular has open-sourced more than 700,000 lines of kernel code, its model definitions and MAX Serve. Those expose different parts of the implementation: kernels perform the device work, model definitions express the computation and the serving layer makes it available to applications.

For developers unfamiliar with Mojo or MAX, Modular also offers AI skills intended to help port code from familiar languages. The team’s hiring spans low-level kernel engineering through Kubernetes work, reflecting how much of the system sits between an individual device operation and a deployed service.

The practical starting point is pip install modular. Dakkak’s closing invitation is to try the software and validate the results. For a prospective user, the useful test follows the distinctions made throughout the talk: choose the actual model and hardware, measure the latency or throughput the application needs, and include hardware cost when deciding where to deploy.

15:1815:47
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

15:18 · section reference included

Transcript download
Full transcript

Loading transcript…