Save this video free

1786 lecture12 Dec1

Jonathan Rose · 1:18:21 · Watch on YouTube

Part of University of Toronto ECE 1786. See all 12 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Jonathan Rose closes ECE 1786 with final-project presentation guidance, then surveys techniques for making large language models cheaper and faster while preserving quality. He connects scaling laws and model evaluation to hardware limits, explaining quantization, attention optimizations, key-value caching, mixture of experts, speculative decoding, and agent memory compaction with examples including 100-billion-parameter models, 4-bit weights, and a 27-billion-parameter MoE model using 3 billion active parameters.

Key takeaways

Chapters

0:00 Final Project Presentations and Human Communication
4:30 Lecture Goals: Efficiency, Quality, and Computer Memory
10:54 Transformer Recap and the Range of LLM Hardware
15:11 GPT Scaling: From GPT-1 to GPT-4
20:00 Chinchilla Scaling Laws: Matching Training Data to Model Size
25:44 LLM Evaluation: Benchmarks, Leaderboards, and Reasoning Time
31:37 Efficiency Topics and the Memory Bottleneck
33:34 Model Memory Requirements Across GPUs
38:31 Quantization: Shrinking 32-Bit Weights to 4 Bits
43:26 Self-Attention's Quadratic Cost at Long Contexts
54:01 Sliding-Window Attention and Grouped-Query Attention
58:18 Key-Value Caching and Compute-Bound Versus Memory-Bound Inference
1:04:46 Mixture of Experts: Routing Tokens to Active Networks
1:08:19 Speculative Decoding Uses a Draft Model to Batch Token Checks
1:14:37 Agent Memory Compaction Reduces Context and Cost

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:03 All right, good morning everyone. Welcome to ECE 1786 lecture number 12. Uh this is the last lecture. Uh it's a new lecture and I hope you enjoy it. Um the work you have in flight well the project. It's a big part of this course. The final presentations are due next Monday at 9:00. We're going to do the same process that you're now familiar with. You deliver slides at nine and then over the next two days in three sessions [snorts] you present your final presentation and you also critique uh someone else's presentation. Uh as a result uh you need to fill out the form by December 4th in which you say I can't make one of those three presentations

0:51 Tuesday morning, Tuesday evening or Wednesday evening. And you can only get out of one because you'll be presenting or reviewing in in in uh two presenting one and reviewing in the other one. We'll remind you that it's a six minute presentation and uh that's 50% more time than you got for the proposal, but you must get the essential ideas out in that in that presentation. It's kind of obvious when you're speaking and so you're going to have to do it. You're going to have to be selective in a very careful way. Uh part of the training that I think you get in this course is to learn what to write and talk about. I I've I've commented already that I feel like I'm suffering uh LLM based compression of words in the progress reports. And uh I really want

1:41 to emphasize how important it is for you humans to learn what the other humans can consume and not leave it to a model to compress into difficult to read language. And so you know I'm only

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jonathan Rose.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.