67 items
Streaming Without a Background Thread
Code Quiz4-bit Loading with BitsAndBytesConfig
Code QuizGenerating and Decoding Output
Code QuizAutoTokenizer and AutoModel Loading
Code QuizDeploying Open Models on Cloud GPUs
Slides / VideoSecuring Self-Hosted Model Servers
Slides / VideoConfiguring Sampling Parameters
Code QuizHalf-Precision Loading with torch_dtype
Code QuizDevice Placement with device_map
Code QuizApplying a Chat Template
Code QuizLoading a Model with the Pipeline
Code QuizWhere trust_remote_code Belongs
Code QuizSlicing Off the Prompt Tokens
Code QuizStop Sequence with stop_strings
Code QuizLocal Embedding and Reranker Models
Slides / VideoBenchmarking Local Inference Speed
Slides / VideoServing LoRA Adapters Locally
Slides / VideoContainerizing Local Model Deployments
Slides / VideoServing Quantized Models: Speed vs Quality
Slides / VideoChat Templates Per Model
Slides / VideoOpenAI-Compatible Local API Endpoints
Slides / VideoCPU Offloading and Mixed Inference
Slides / VideoModel Sharding and Parallelism
Slides / VideoEstimating VRAM for a Model
Slides / VideoPagedAttention and KV Cache Management
Slides / VideoProduction Serving Engines for LLMs
Slides / VideoLocal Inference Runtimes Compared
Slides / VideoModel Weight Formats Explained
Slides / VideoLandscape of Open Models
Slides / VideoLocal Embeddings with sentence-transformers
Code QuizEstimating VRAM from Parameter Count
Code QuizKV Cache During Generation
Code QuizGPU Offloading with n_gpu_layers
Code QuizAuthenticating for Gated HF Models
Code QuizLoading a Model from a Local Path
Code QuizMerging a LoRA Adapter
Code QuizBatched Generation Padding Side
Code Quizmax_new_tokens vs max_length
Code QuizMissing pad token for GPT-2
Code QuizOpenAI client base_url path
Code QuizDefault context window too small
Code QuizReading an Ollama response
Code QuizLoading a GGUF with llama-cpp
Code QuizvLLM model name mismatch
Code QuizOpen Model Licensing and Commercial Use
Slides / VideoOpen-Source vs Open-Weight vs Proprietary
Slides / VideoWhy Run LLMs Locally
Slides / VideoContainerizing Model Deployments
FlashcardSecurity of Self-Hosted Inference
FlashcardServing LoRA Adapters Locally
FlashcardEvaluating Quantization Quality Loss
FlashcardCloud GPU Providers for Self-Hosting
FlashcardChat Templates per Model
FlashcardEdge and On-Device Constraints
FlashcardContext Length and RoPE Scaling
FlashcardVRAM Estimation
FlashcardPagedAttention and vLLM
FlashcardOpen Weights vs Open Source
FlashcardGGUF Quantization Formats
FlashcardMulti-GPU Inference
FlashcardModel Weight Formats
FlashcardOpenAI-Compatible Local API
FlashcardMemory Offloading
FlashcardOpen-Source Model Landscape
FlashcardGPU vs CPU vs Apple Silicon
FlashcardLocal Inference Runtimes
FlashcardHugging Face Hub Downloading
FlashcardServing Quantized Models: Speed vs Quality
Quantization shrinks model weights to run faster on less memory, but pushing bit-depth too low starts to erode output quality.
