Skip to content
ML Journey

ML Journey

  • Home
  • Data Analytics
  • Data Science
  • Data Engineering
  • Machine Learning
  • Generative AI
  • About

mljourney

How to Debug Slow PyTorch Dataloaders

March 17, 2026 by mljourney

GPU sitting at 40-60% utilization while the model code looks fine? The dataloader is likely the bottleneck. A systematic guide to diagnosing and fixing slow data loading in PyTorch training pipelines.

Categories Generative AI Leave a comment

Gradient Accumulation and Gradient Checkpointing Explained

March 16, 2026 by mljourney

Gradient accumulation and gradient checkpointing are frequently confused but solve different problems. A precise guide to how each works, when to use them, how to combine them, and how to reason about GPU memory during training.

Categories Generative AI Leave a comment

Attention Mechanisms Explained: From Scaled Dot-Product to GQA

March 15, 2026 by mljourney

A practical guide to how attention actually works — scaled dot-product, multi-head, MQA, GQA, Flash Attention, and RoPE — with the implications for memory, throughput, and context length that matter for production deployments.

Categories Generative AI Leave a comment

How to Build an LLM Eval Dataset from Production Logs

March 14, 2026 by mljourney

Handwritten test cases give false confidence. Building an eval dataset from production logs — with stratified sampling, proper labeling, and slice-based reporting — produces evaluations that actually catch regressions before they reach users.

Categories Generative AI Leave a comment

MLflow vs Weights and Biases vs Neptune: Choosing an Experiment Tracker

March 13, 2026 by mljourney

MLflow, W&B, and Neptune all track experiments but optimize for different teams and workflows. A practical comparison across UI quality, self-hosting, hyperparameter optimization, and pricing — with a clear decision framework.

Categories Generative AI Leave a comment

How to Reduce GPU Memory During LLM Training

March 12, 2026 by mljourney

CUDA out of memory errors are almost always solvable without buying more hardware. A practical checklist of GPU memory reduction techniques — gradient checkpointing, 8-bit Adam, LoRA, Flash Attention, and more — in the order to try them.

Categories Generative AI Leave a comment

LoRA vs QLoRA vs Full Fine-Tuning: How to Choose

March 11, 2026 by mljourney

LoRA, QLoRA, and full fine-tuning each solve the adaptation problem differently. A practical breakdown of memory costs, quality trade-offs, and when each approach is actually the right choice for your hardware and task.

Categories Generative AI Leave a comment

DDP vs FSDP vs DeepSpeed ZeRO: Choosing the Right Multi-GPU Training Strategy

March 10, 2026 by mljourney

DDP, FSDP, and DeepSpeed ZeRO all distribute training across GPUs but solve different problems. A practical breakdown of when to use each, with memory calculations and a clear decision framework for 7B to 70B model training.

Categories Generative AI Leave a comment

How to Optimize Transformer Inference with torch.compile

March 9, 2026 by mljourney

torch.compile delivers 20–50% inference speedup with a single line of code. A practical guide to compilation modes, handling dynamic shapes, combining with Flash Attention and quantization, and knowing when not to use it.

Categories Generative AI Leave a comment

vLLM vs TGI vs Triton Inference Server: Choosing the Right LLM Serving Framework

March 9, 2026 by mljourney

A practical comparison of vLLM, HuggingFace TGI, and NVIDIA Triton Inference Server for production LLM deployment — covering throughput, latency, quantization support, multi-GPU serving, and when to use each.

Categories Generative AI Tags generativeai, triton, vllm Leave a comment
Older posts
Newer posts
← Previous Page1 … Page44 Page45 Page46 Page47 Next →

Recent Posts

  • How to Build a Voice Assistant with a Local LLM
  • How to Transcribe and Analyse Video with an LLM
  • How to Build an Image QA Pipeline with a Local LLM
  • How to Write Tests with an AI Assistant
  • How to Build a Full App with an AI Coding Assistant
© 2026 ML Journey • Built with GeneratePress