DEV cover art

DEV

DEV

By: Eric Lamanna
Listen for free

Software and AI development podcast. We cover all things software development, including today's advanced AI development tricks and techniques.2026 DEV.co Mathematics Science
Episodes
  • AI-Assisted Data Labeling: How Active Learning Loops Change the Game
    Jul 12 2026

    For most machine learning teams, the real bottleneck isn't compute power or model architecture — it's labeled data quality. This episode of Development digs into how active learning loops are reshaping the data annotation process, drawing on this in-depth article on AI-assisted data labeling to make the technique feel practical and immediately applicable, not just academically interesting.

    Rather than front-loading an entire labeling budget on a massive, undifferentiated dataset, active learning lets the model itself surface the examples it's most uncertain about — sending only those to human annotators, retraining, and repeating. The episode walks through the anatomy of that loop and the real-world scenarios where it delivers the biggest gains. Here's what's covered:

    • How the active learning loop works end-to-end — from seeding a small baseline dataset and scoring uncertainty across an unlabeled pool, to merging new annotations, retraining, and deciding when to stop.
    • Uncertainty sampling methods compared — including softmax entropy, margin sampling, and Bayesian dropout, plus when each approach is most appropriate.
    • Use cases where active learning shines — extreme class imbalance (e.g., fraud detection), shifting data domains (e.g., a self-driving system moving from desert to winter roads), and workflows constrained by scarce expert annotators like radiologists or legal specialists.
    • Production best practices — keeping annotation feedback latency low, balancing uncertainty-based selection with random sampling to avoid outlier overfitting, and protecting annotator wellbeing by mixing in easier examples alongside hard edge cases.
    • Why data versioning is non-negotiable — tools like DVC and LakeFS make it possible to trace exactly which labeled examples drove improvements between model versions, turning a guesswork audit into a precise one.
    • Tooling landscape and common pitfalls — when to use platforms like Label Studio, Scale AI, or Snorkel Flow versus rolling a custom open-source pipeline, and how to build in a business veto so the model doesn't prioritize labeling categories that don't serve current product goals.

    The episode closes with a reminder that active learning isn't about replacing human annotators — it's about making their expertise matter more, by directing it precisely where it moves the needle. For more on managing the data side of iterative ML systems, check out the Development episode on Checkpoint Versioning for Continual Learning Pipelines.

    DEV

    Show More Show Less
    9 mins
  • Checkpoint Versioning for Continual Learning Pipelines
    Jul 11 2026

    Managing checkpoints in a continual learning pipeline is one of those engineering problems that feels like housekeeping — until it isn't. When a production model misbehaves at 2 a.m. and your checkpoint directory is a graveyard of files named "final_really_this_time.pt," the cost of poor versioning becomes very real, very fast. This episode walks through the key ideas from this deep-dive on managing checkpoint versioning for continual learning pipelines, translating seven concrete practices into a framework any ML team can adopt incrementally.

    Unlike models that train once and ship once, continual learning systems produce fresh checkpoints continuously — hourly, daily — which means the surface area for confusion, storage bloat, and lost provenance compounds with every training cycle. Here's what the episode covers:

    • Deterministic naming conventions: Combining semantic versioning, a timestamp, and a git commit hash into a parseable filename so automation tools can sort, compare, and prune without fragile regex hacks.
    • Data fingerprinting: Hashing every training shard and embedding a single data digest in the checkpoint's identity — turning "what data did we train on?" from an archaeological dig into a deterministic lookup.
    • Sidecar metadata files: Attaching a JSON or YAML file to every checkpoint with git SHA, hyperparameters, metrics, and environment details so the artifact is self-describing even offline, without a VPN to an internal dashboard.
    • Tiered retention policies: Keeping recent checkpoints for rapid rollback, top-K checkpoints by validation score for the past month, and archiving milestone builds to cold storage — enforced through object-storage lifecycle rules, not fragile cron jobs.
    • Milestones vs. snapshots: Distinguishing ephemeral frequent snapshots from formally promoted milestone checkpoints that have cleared automated CI gates — bias checks, latency thresholds, held-out validation — and become the official versions referenced in model cards and release notes.
    • Inference-time version surfacing: Logging the semantic version, data digest, and git SHA at service startup, and exposing a lightweight health endpoint so any prediction can be traced to an exact model version in under ten seconds.

    The episode also touches on storage architecture trade-offs — why object storage (S3, GCS, Azure Blob) beats Git LFS for large artifacts in high-frequency pipelines, when a dedicated model registry adds value, and why cross-region replication is worth the cost even when you can theoretically rebuild from source. The overarching message is pragmatic: pick one or two of these practices that are missing from your current workflow, ship them in your next sprint, and build from there. More from the show: if this episode resonated, check out ONNX + TensorRT: The Smart Path to Faster AI Inference for a complementary look at optimizing how trained models actually run in production.

    DEV

    Show More Show Less
    9 mins
  • ONNX + TensorRT: The Smart Path to Faster AI Inference
    Jul 10 2026

    Getting a deep learning model to perform well in training is one challenge — getting it to run efficiently in production is a different beast entirely. This episode of Development tackles that gap head-on, exploring the powerful combination of ONNX and TensorRT as a practical path to faster, leaner inference. The discussion is grounded in this in-depth guide to runtime optimization of ONNX models with TensorRT, and covers everything from the fundamentals to the real-world trade-offs engineers face on the way to production.

    Here's what the episode covers:

    • What ONNX actually solves — how this open, framework-agnostic format bridges the gap between training environments like PyTorch and production deployment stacks, so teams aren't locked into a single ecosystem.
    • Why TensorRT exists — unlike general-purpose frameworks built for both training and inference, TensorRT is purpose-built to squeeze maximum speed from NVIDIA GPUs at inference time, through layer fusion, redundant operation elimination, and precision calibration.
    • The end-to-end workflow — exporting a model to ONNX, inspecting the graph for correctness, building an optimized TensorRT engine (via trtexec or the Python API), and deploying it into a production runtime.
    • Precision modes and the accuracy trade-off — how dropping from FP32 to FP16 or INT8 can dramatically reduce memory usage and boost throughput, and when that trade-off is acceptable versus when it demands careful measurement.
    • Common pitfalls to avoid — custom operator support gaps, input shape mismatches, batch size tuning, and the importance of keeping TensorRT, CUDA, and cuDNN versions in sync.
    • When TensorRT isn't the right answer — a frank look at hardware constraints and when alternatives like OpenVINO may be the better fit for non-NVIDIA deployment targets.

    Whether you're working on computer vision pipelines, real-time NLP inference, or any application where latency directly affects user experience, this episode lays out a clear, pragmatic approach to unlocking performance from infrastructure you already have. For more on scaling deep learning across hardware, check out the Development episode on Multi-GPU Training With Model Parallelism in DeepSpeed.

    DEV

    Show More Show Less
    9 mins
adbl_web_anon_alc_button_suppression_t1
No reviews yet