Inference Engineering Workshop: Phase 1 & 2 thumbnail 1
Inference Engineering Workshop: Phase 1 & 2 thumbnail 2
Inference Engineering Workshop: Phase 1 & 2

Inference Engineering Workshop: Phase 1 & 2

A comprehensive deep dive into the mechanics of LLM inference, focusing on architecture, KV cache optimization, and high-performance deployment strategies.

View course on Vizuara
InstructorVizuara Engineering
FormatSelf-paced Workshop
Sessions8 Modules
AudienceAI Engineers & Researchers
Course Description

This workshop bridges the gap between theoretical transformer architecture and real-world inference performance.

Students will explore the 'DNA' of modern models, analyze KV cache bottlenecks, and master the visual debugging of inference pipelines.

Learning Outcomes

By the end of this course, you will be able to:

Prerequisites
Course Sessions
Module 1
01

Foundations of Inference

Introduction to the workshop, setting up the development environment, and reviewing core architectural concepts.

Focus on the 'DNA of a Transformer' and initial setup.

Core Topics

  • Transformer architecture
  • Inference pipeline overview
  • Development environment setup

Resources & Assignments

SlidesMiro BoardLecture Video
Module 2
02

KV Cache Engineering

Deep dive into the KV cache, its role in autoregressive generation, and common memory bottlenecks.

Includes a dedicated assignment on managing KV cache pods.

Core Topics

  • KV cache mechanics
  • Memory management
  • Latency optimization

Resources & Assignments

Assignment: KV Cache PodsColabDataset
Module 3
03

Visualizing Inference

Using visual walkthroughs to trace data flow and operations within the inference engine.

Features 6 detailed visual walkthroughs of inference processes.

Core Topics

  • Visual debugging
  • Operation tracing
  • Performance profiling

Resources & Assignments

Visual WalkthroughsMiro Board
Module 4
04

Sparse Attention & Efficiency

Exploring sparse attention mechanisms and how they enable faster inference for long-context models.

Case study on DeepSeek-Sparse architectures.

Core Topics

  • Sparse attention
  • Model pruning
  • Efficiency metrics

Resources & Assignments

PaperCode
Module 5
05

Advanced Inference Patterns

Reviewing advanced techniques for rotation, quantization, and custom inference routing.

Focus on TurboQuant and dynamic routing strategies.

Core Topics

  • Rotation mechanics
  • Dynamic routing
  • Quantization

Resources & Assignments

CodeSlides
Module 6
06

Hardware & AI Chips

Connecting inference software to hardware acceleration and AI chip design ideas.

Exploration of the Inference Ideas Journal.

Core Topics

  • AI hardware acceleration
  • Chip design principles
  • Co-design

Resources & Assignments

DatasetPapers
Module 7
07

Practical Implementation

Hands-on application of learned concepts to build and refine inference modules.

Integration of all previous modules into a final project.

Core Topics

  • System integration
  • Performance tuning
  • Deployment

Resources & Assignments

AssignmentGitHub Repo
Module 8
08

Course Wrap-up & Resources

Consolidation of learning materials, final review, and access to the extended resource library.

Final assessment and resource repository access.

Core Topics

  • Review
  • Architecture Gallery
  • Future roadmap

Resources & Assignments

ProjectDataset
Assessments

KV Cache Pods Assignment

Implement and optimize a KV cache management system for a transformer model.

Inference Pipeline Project

Build a custom inference pipeline demonstrating optimized attention and memory usage.