Tutorial
Title: The Life of a Token: From Words to Bits on the Wire
Description: Large Language Models (LLMs) transform vast collections of unstructured text into learned representations that support language generation and reasoning. These capabilities lie in a concrete process: words become tokens, tokens become tensors, and training moves data as streams of bits between interconnected accelerators. As models scale, understanding this journey becomes essential for characterizing the communication demands of LLM training and the network infrastructure needed to support it.
This tutorial follows The Life of a Token: from Words to Bits on the Wire tutorial paper. We first introduce tokenization and embeddings, trace tensor transformations inside a single Transformer block, and examine how data flows through the Transformer chain in a single accelerator. Building on this foundation, we move to multiple accelerators approach to discover how scaling and parallelizing generate network patterns. Finally, we introduce collective communication, i.e., organizing and monitoring communication across accelerators, and its importance on the distributed training performance.
Short, guided hands-on experiments accompany the tutorial. Participants will get familiar with the tensor shapes that flow across the Transformer chain and how LLM settings modify the tensor shape. Participants will also examine how parallelism strategies generate network traffic patterns, linking this behavior to practical considerations such as bandwidth, latency, interconnect topology, and GPU placement. Finally, the tutorial features a dedicated session using SimAI to evaluate custom collective communication under realistic network conditions. Participants will analyze how network anomalies (grey failures) degrade training performance and explore resilience strategies and re-routing mechanisms to optimize and protect distributed training workloads.
The tutorial is structured into four sections: Text, Computation, Distributed Computation and Network Reliability.
- From Text to Training Workloads (30 min)
Topics: Introduction to LLM training and its challenges for AI infrastructure; from raw text to numerical representations through tokenization and embedding; understanding tensor dimensions and data sizes.
- Inside the Transformer: Workload processing and Computational Limits (60 min)
Topics: Introduction to the Transformer architecture and its fundamental building blocks; tracing data flow through the Transformer chain; single-GPU training and its limitations.
- Parallelism: Why Communication Matters (60 min)
Topics: Introduction to parallelism strategies; characterizing communication patterns over the different parallelism techniques; Integration of parallelism strategies as an approach.
- What happens when the wire goes gray: Gray Failures in Distributed LLM training (30 min)
Topics: Understanding collective communication under realistic network conditions; characterizing the impact of network anomalies on distributed training performance; exploring mitigation and resilience strategies for maintaining training efficiency.
Each section combines theoretical foundations with guided hands-on experiments.
Hands-on Session – Part 1: Access the Google Colab Notebook
Davide Avesani
(CNAM, France )
Bio: Davide Avesani is a PhD researcher at the Conservatoire national des arts et métiers (CNAM) in Paris, working on Network Acceleration for Generative AI. His research within the Net4AI project focuses on optimizing networks to support GenAI workloads. His recent work on “The Life of a Token: From Words to Bits on the Wire” explains how text becomes network traffic, helping readers understand the network requirements of distributed LLM training. He holds an MSc in Computer Science and Engineering from Sapienza University of Rome, undertaken in collaboration with ISEP Paris, where he also developed his master’s thesis on LLM-based hate speech detection.
Sotiris Skaperas
(CNAM, France )
Bio: Sotiris Skaperas is an Associate Professor of Computer Networks and Systems at the Conservatoire national des arts et métiers (CNAM), France. He previously worked as a postdoctoral researcher at ENSEA and the Athena Research Center. He holds a Ph.D. in Informatics from the University of Macedonia, Greece, as well as M.Sc. and B.Sc. degrees in Mathematics from Aristotle University of Thessaloniki, Greece. His research focuses on 6G wireless and edge–cloud systems, with an emphasis on statistical modeling and machine learning for anomaly detection, adaptive resource management, and security.
https://hal.science/view/index/docid/5739858
Michele Ferrero
(EURECOM / Sorbonne University / Huawei Paris Research Center, France)
Bio: Michele Ferrero is a PhD student in Computer Science in a joint program between EURECOM, Sorbonne University and the Huawei Paris Research Center. His research focuses on the network side of large-scale AI training, making collective communication libraries (CCLs) adapt to real network conditions, from GPU clusters within a datacenter to training that spans multiple datacenters over the WAN. A particular focus of his work is gray failures: components that keep working but silently degrade link throughput and latency for minutes or hours, eroding the efficiency of statically planned communication schedules. His recent work, MCCL (ACM CoNEXT ‘26), is a measurement-based CCL that passively monitors GPU-to-GPU paths during training, detects persistent degradation, and re-synthesizes and hot-swaps collective schedules on the fly, cutting training time by up to 4.99× under gray failures. He holds a double MSc in Networks & Cloud Computing and Data Science from Politecnico di Torino and EURECOM, and developed his master’s thesis at Huawei Paris on flow algorithms for accelerating AI training.






