Notes from Lecture 2 of this Open MOOC offered by Berkeley RDI
TLDR: Talk by an entrepreneur about the evolution of compute requirements for AI
- New algorithms
- timeline - 2022-gpt, 2023-MoE, 2024-Test time scaling, 2025-RL
- RL allows more sophisticated loss functions (as compared to just next-token prediction)
- Applications - parameters
- Consumer apps - thriving - landscape is highly fluid competetitive - chat, code, search. Prosumers are willing to pay e.g for productivity.
- Business apps - nascent - but enterprise apps are moving faster. started with closed source, and moved to train/tune their own as data built up.
- Perfect app experience is correlated but independent from models.
- AI Infra
- bitter lesson - generalised method that leverage computation are most effective
- Cloud history - scientific computing (1970s), Virtual Private servers (90s), Web service cloud (AWS) (OOs), data clouds (snowflake, databricks)(10s), AI cloud (requires exaflops of compute) (20s)
- AI is different than computational compute
- data compute - io >> compute, simple abstraction, very distributed systems (mapreduce etc)
- web services - io > compute, arbitrary code, parallel system
- AI Compute - compute >> IO, arbitrary code, very distributed systems (e.g distributed training) - slurm, MPI style
- Conventional cloud proposition no longer holds
- proposition (1. easy way to install and acquire software (e.g cloud database), 2. flexible supply chain (ec2 instances))
- For AI Cloud,
- the software is simple (few libraries, frameworks) as opposed to many applications and middleware that conventional cloud is designed for,
- Workload is unified (numerical computation) whereas conventional cloud is designed for varied workloads.
- Supply Chain flexibility - conventional cloud - supports virtualisation and migration of applications between VMs, AI Cloud - low flexibility as training job machines are occupied, if one gpu fails, restart the entire job
- NeoCLoud - semi-analysis (website) - lambda, nvidia's offerings etc
- Things to care about
- developer efficiency
- Infra efficiency - account of GPUs dying
- Best practices - multi cloud GPU supply chain, elasticity and utilisation management, ai native platform for ev, training and inference (ray, anyscale)
- Hardware - hw and sw design - using NV switches - each machinee is able to access another machines memory- all machines in a rack act like a single device "mainframe" - of GPUs
- make workloads - idempotent and interruptible - ideally