← Back
Home › Systems › AI applications

video-generation

video generation

Veo, Sora

SystemTechniques · 5Primitives · 36 video-generation Flow matchingml-training · medium: Training a velocity field along straight (rectified) paths from noise to data; sample by integrating an ODEImage model trainingml-training · medium: Proven setups for training image classifiers and diffusion models: optimizers and LRs, augmentation, label smoothing, EMA, resolution schedules and aspect buckets.›Knowledge distillationml-training · medium: Train a small student to match a large teacher's softened outputs (plus the hard labels) so it keeps most of the teacher's accuracy at a fraction of the cost.›Variational autoencodersml-training · medium: VAEs and latent autoencoders: ELBO, KL weighting, latent compression for diffusion modelsInvisible watermarkingsecurity · medium: Embedding robust imperceptible marks in images/audio/video or token sampling for later detectionDiffusion modelsml-training · low: Train a network to undo Gaussian noise at every noise level, then generate by integrating from pure noise to data; the standard for images, video and audio.›Attention variantsmachine-learning · low: Multi-head, multi-query, grouped-query, sliding-window and latent attention; same softmax(QKᵀ/√d)V core, different trade-offs between quality and KV-cache size.›Rotary position embedding (RoPE)machine-learning · low: Encode position by rotating pairs of query and key dimensions by position-dependent angles, so attention scores depend only on relative distance; the LLM default.›Video codecsmedia · low: H.264/HEVC/AV1 basics: frames, GOPs, hardware decode/encode APIs and latency settingsClassifier free guidanceml-training · low: Mixing conditional and unconditional diffusion predictions with a guidance scale; condition dropout in trainingContext parallelismml-training · low: Splitting the sequence dimension across GPUs (ring attention, Ulysses all-to-all) for long-context trainingDiffusion samplersml-training · low: DDPM/DDIM and ODE solvers (DPM-Solver, Euler, Heun) for few-step sampling from diffusion and flow modelsFlashAttentionml-training · low: Exact attention computed tile by tile in on-chip SRAM with online softmax, so the N×N score matrix never touches HBM; 2-4x faster, O(N) memory.›Tensor parallelismml-training · low: Split each layer's weight matrices across GPUs (Megatron-style column then row splits) so one layer's math runs on t devices with one all-reduce per block.›Transformer blockml-training · low: The decoder-only pre-norm block (attention plus MLP on a residual stream) behind every modern LLM, with exact shapes, parameter, FLOP and KV-cache counts.›ZeRO and FSDP shardingml-training · low: Data parallelism that shards optimizer state, gradients and weights across ranks and gathers weights just in time; per-GPU model memory drops from 16Ψ to 16Ψ/N.›Loss functionsmachine-learning · low: The scalar a model minimizes: cross-entropy for classes and tokens, MSE or Huber for values, each with a stable form and simple gradient.›Adaptive Runge-Kutta (Dormand-Princ…numerics · low: An embedded 5(4) Runge-Kutta pair estimates each step's error for free and resizes the step to meet a tolerance; the default non-stiff solver.›Explicit Eulernumerics · low: Step an ODE forward by its current slope, y += h·f(t, y); first-order, one evaluation per step, the baseline every other integrator is measured against.›Data augmentationmachine-learning · low: Generate label-preserving variants of each training example on the fly to enlarge the effective dataset and bake in invariances.›Normalization layersmachine-learning · low: Standardize activations per batch, token or group with a learned scale so deep nets train fast and stably; RMSNorm in LLMs, BatchNorm in convnets.›+ 20 more primitives

Similar systems

Share the most building blocks with this one.