---
title: "Yuvraj Garg | AI Systems & Infrastructure Architect"
seo_title: "Yuvraj Garg — AI Systems & Infrastructure Architect (Portfolio & Technical Registry)"
canonical_url: "https://www.yuvraj97.com"
raw_markdown_url: "https://www.yuvraj97.com/index.md"
author: "Yuvraj Garg"
role: "AI Systems & Infrastructure Architect"
location: "Bengaluru, Karnataka, India (Open to relocation · Remote · Hybrid)"
status: "Available for Senior/Staff MLE Roles & AI Infrastructure Consulting"
contact:
  email: "yuvraj97.ml@gmail.com"
  linkedin: "https://www.linkedin.com/in/yuvraj97"
  github: "https://github.com/yuvraj97"
  twitter: "https://twitter.com/yuvraj97_ml"
  resume: "https://www.yuvraj97.com/Yuvraj-Garg-Resume.pdf"
credibility_highlights:
  - "Styldod · 5y Lead Machine Learning Engineer"
  - "MITx MicroMasters in Statistics & Data Science"
  - "Red Hat Certified × 3 (RHCSA, OpenShift, Ansible)"
  - "4 Products Shipped Solo (B2B AIaaS, B2C LLM, Edge WebGPU, Real-Time Chat)"
  - "2.1M+ Users Scaled on REimagineHome.AI"
  - "18.6x Verified Cost Reduction vs. AWS Bedrock"
  - "26m → 7m Boot on 4x B200 (FlashInfer JIT Caching)"
  - "110s → 2–7s LLM Boot (CRIU GPU Memory Snapshots)"
---

# Yuvraj Garg | AI Systems & Infrastructure Architect

> **AI Systems & GPU Infrastructure Engineer** specializing in production ML inference, low-latency GPU serving pipelines (vLLM, SGLang, llama.cpp), KubeRay distributed clusters, and multi-agent orchestration (LangGraph, Model Context Protocol / MCP).  
> Based in Bengaluru, India. Open to senior/staff MLE roles, infrastructure consulting, and architecture reviews.

- **Canonical Website:** [https://www.yuvraj97.com](https://www.yuvraj97.com)
- **Direct Markdown Mirror (This Document):** [https://www.yuvraj97.com/index.md](https://www.yuvraj97.com/index.md)
- **Engineering Blog & Systems Lab:** [https://www.yuvraj97.com/blog](https://www.yuvraj97.com/blog) (Markdown: [https://www.yuvraj97.com/blog.md](https://www.yuvraj97.com/blog.md))
- **Email:** [yuvraj97.ml@gmail.com](mailto:yuvraj97.ml@gmail.com)
- **LinkedIn:** [https://www.linkedin.com/in/yuvraj97](https://www.linkedin.com/in/yuvraj97)
- **GitHub:** [https://github.com/yuvraj97](https://github.com/yuvraj97)
- **Twitter / X:** [@yuvraj97_ml](https://twitter.com/yuvraj97_ml)
- **Download Resume:** [https://www.yuvraj97.com/Yuvraj-Garg-Resume.pdf](https://www.yuvraj97.com/Yuvraj-Garg-Resume.pdf)

---

## Table of Contents
1. [Core Mission & Architectural Philosophy](#1-core-mission--architectural-philosophy)
2. [Production Telemetry & Transition Stats](#2-production-telemetry--transition-stats)
3. [Business Impact & Verified Production Achievements](#3-business-impact--verified-production-achievements)
4. [Professional Experience & Engineering Leadership](#4-professional-experience--engineering-leadership)
5. [Core Engineering Values](#5-core-engineering-values)
6. [Shipped Systems & Production Projects](#6-shipped-systems--production-projects)
7. [In-Depth Systems Deep Dives (Architectures & Audit Trails)](#7-in-depth-systems-deep-dives-architectures--audit-trails)
8. [Flagship Systems Lab Report (Cohere Transcribe on Serverless GPUs)](#8-flagship-systems-lab-report-cohere-transcribe-on-serverless-gpus)
9. [Technical Competencies & Skill Matrix](#9-technical-competencies--skill-matrix)
10. [Education, MicroMasters & Industry Certifications](#10-education-micromasters--industry-certifications)
11. [Frequently Asked Questions (FAQ)](#11-frequently-asked-questions-faq)
12. [Engagement, Work Scope & Availability](#12-engagement-work-scope--availability)

---

## 1. Core Mission & Architectural Philosophy

I engineer production-scale AI infrastructure, low-latency GPU serving pipelines, and robust multi-agent orchestration systems.

I own the translation layer from research to codebases people pay for:
- Driving model inference cost and cold start times down by orders of magnitude.
- Profiling and debugging CUDA memory, KV cache limits, and compiler runtimes when clusters fail under load.
- Ensuring 99.9% reliability across distributed multi-GPU fleets (AWS EKS, KubeRay, Modal B200/L40S/A10G).

Rather than evaluating architectures with abstract benchmark scores, I measure real-world engineering metrics: hosting dollars, cold start seconds, parallel worker execution, memory fragmentation, and custom kernel compilation.

---

## 2. Production Telemetry & Transition Stats

| Metric | Category | Engineering Context & Verification |
| :--- | :--- | :--- |
| **6.9×** | Cold Start Reduction | FLUX.2-klein-9B GPU memory snapshots on Modal L40S (48s → 7s) |
| **18.6×** | Cost Optimization | DocumentAI cluster (EKS + KubeRay + vLLM) vs. AWS Bedrock ($0.025 vs $0.466/doc) |
| **24×** | LLM Boot Improvement | Large model boot time compressed from 110s down to 2–7s via CRIU snapshots |
| **30+** | Models in Production | Image generation, segmentation, depth, VLM, and agentic microservices |
| **2.1M+** | Production Users | Scaled REimagineHome.AI from 0 to 2.1M+ users (30M+ designs generated) |
| **74%** | Cold Start Reduction | Qwen3.5-397B on 4x B200 cut from 26m to 7m via FlashInfer JIT caching |
| **53.1×** | Speech Throughput | Cohere Transcribe (2B) running at 53.1x RTFx on serverless Nvidia A10G |
| **94.2%** | Unit Cost Savings | $0.0207/hr for Cohere Transcribe vs. $0.3600/hr on commercial speech APIs |

---

## 3. Business Impact & Verified Production Achievements

### A. Cost & Scale
- **~70% Saved via In-House Model Hosting (Styldod Core Infra):**  
  Self-hosted 30+ foundation models at Styldod rather than utilizing managed commercial APIs, handling millions of monthly inference queries at 1/3 the compute cost.
- **18.6× Cheaper via vLLM on EKS Cluster (AWS EKS / vLLM Deployment · 2026):**  
  Architected a self-hosted inference pipeline (AWS EKS + KubeRay + vLLM) for DocumentAI, processing 50,000 documents per day at **$0.025/doc** compared to **$0.466/doc** on AWS Bedrock.
- **40%+ Saved via Serverless GPU Orchestration (Vendor Migration · 2025):**  
  Eliminated always-on GPU standby instances by migrating image pipelines to AWS EKS with Karpenter autoscaling and scale-to-zero during idle off-peak hours.

### B. Speed & Optimization
- **48s → 7s via FLUX.2 Memory Snapshots (Modal GPU Snapshots · Feb 2026):**  
  Achieved 6.9× faster startup for generative image models on Nvidia L40S GPUs using serverless runtime memory checkpointing (Linux CRIU).
- **5m → 1.5m via DreamFurniture 2D→3D Inference (Styldod 3D R&D · 2024):**  
  Architected a 6-model 2D→3D reconstruction pipeline combining depth estimation, camera calibration, and layout alignment. Used parallel workers and shared memory GLB transfers to cut end-to-end latency by 70%.
- **26m → 7m Boot via Qwen3.5-397B on Modal (4× B200 Cluster · May 2026):**  
  Reduced cold start from 26 minutes to 7 minutes by caching FlashInfer JIT kernels via persistent volume symlinks, unlocking aggressive scale-to-zero to save 74% on 4× B200 GPU cluster spend ($25/hr).

### C. Systems Engineering
- **754B MoE (TP=8) on 8× Nvidia B200 (8× B200 Cluster · 2026):**  
  Hardened a $50/hr serving cluster running GLM-5.1-FP8 by building background crash monitors, real-time log streams, and automated container recycling. Cached DeepGEMM kernels to bypass 15-minute boot JIT compilation.
- **90% Latency Cut via Custom Logits Processor (llama-cpp-python PR · 2026):**  
  Developed a custom token budget controller in `llama-cpp-python` to dynamically terminate runaway reasoning loops once a budget limit is reached, slashing token costs and p95 latency.
- **93% Eval Accuracy via GGUF Quality Benchmark (Model Evaluation Harness · Feb 2026):**  
  Engineered an automated test suite executing 210 deterministic evaluations (code execution, regex validation, and LLM-as-a-judge) to verify that GGUF quantization retained 93.4% accuracy compared to unquantized FP16 weights.

---

## 4. Professional Experience & Engineering Leadership

### Lead Machine Learning Engineer — Styldod
*Oct 2021 – May 2026 (5 years) · Bengaluru, Karnataka, India*  
*Platform:* Visual automation, generative interior design, and 3D spatial reconstruction for real estate.

- **Led the Core AI Research & Engineering Team:** Managed research and production engineering across computer vision, multi-cluster distributed GPU training, distributed GPU inference, 3D scene reconstruction, and agentic workflows.
- **Architected REimagineHome.AI:** Built a LangGraph + MCP multi-agent virtual staging platform featuring planning, execution, and quality-review agent stages. Scaled the system from 0 to **2.1M+ registered users** (over 30M+ designs generated with a 70% download retention rate). Slashed hosting infrastructure costs by >65% by migrating workloads from proprietary third-party APIs to self-hosted LLMs/VLMs on AWS EKS.
- **Architected 3D Scene Reconstruction Platform (DreamFurniture):** Evaluated 15+ state-of-the-art vision models to design an automated 6-model 2D→3D pipeline (integrating metric depth estimation, camera calibration, bounding box detection, and point cloud layout alignment), reducing end-to-end processing time from 5 minutes to 1.5 minutes.
- **Drove 70% Hosting Cost Reductions:** Replaced third-party API dependencies by self-hosting models for image generation, semantic segmentation, super-resolution enhancement, room classification, depth estimation, layout detection, and camera calibration on AWS infrastructure.
- **Serverless GPU Orchestration & Scale-to-Zero:** Eliminated always-on GPU standby instances by migrating image pipelines to AWS EKS with Karpenter, achieving **40%+ savings in vendor compute costs**.
- **Engineered Automated Growth & Content Pipelines:** Built automated content and SEO engines, elevating non-blog landing pages from page ~40 to the top 10 on Google organic search and securing an average rank of 4th for programmatic blog posts.
- **Technologies Used:** Computer Vision, PyTorch, LangGraph, Model Context Protocol (MCP), vLLM, SGLang, KubeRay, AWS EKS, Karpenter, Ray Serve, FastAPI, Docker, 3D Scene Reconstruction, Point Cloud Alignment, Camera Calibration, Depth Estimation, Image Segmentation, Image Enhancement, VLMs, WebSockets, Redis.

### Research Engineer — RAx Labs
*Jul 2021 – Oct 2021 · Gandhinagar, Gujarat, India*  
*Platform:* Academic research search engine, document parsing, and automated literature summarization.

- **Built NLP Extraction Pipelines:** Designed and deployed NLP summarization pipelines for newly published research papers, broadcasting updates to active users via microservices.
- **Configured Docker & AWS ECS Monitoring:** Deployed backend instances configured with Datadog, Prometheus, and Grafana monitoring stacks for real-time telemetry.
- **Optimized Elasticsearch Clusters:** Tuned and accelerated document search and semantic retrieval across high-concurrency indexing grids.
- **Technologies Used:** NLP, Docker, AWS ECS, Elasticsearch, Prometheus, Grafana, Python.

---

## 5. Core Engineering Values

1. **Plan Before Coding:** Draft specifications, dependency boundaries, and baseline benchmarks first. Compare candidate models on price-to-performance, p95 latency, and output quality—never assumptions.
2. **Manage Compute Wisely:** Profile GPU cold starts and continuously measure hosting dollars per request. Actively migrating workloads off unoptimized managed vendors saves substantial runway.
3. **Ship Proofs Rapidly:** Build operational, end-to-end working prototypes immediately (e.g. 12 days for budget-tracked multi-agent chatbots) to validate architecture before scaling.
4. **Own the Full Stack:** Eliminate blockers wherever they occur—writing Streamlit/React inspection tools, configuring Cloudflare/Nginx edge proxies, or tuning Linux kernel IPC to deliver reliable systems.

---

## 6. Shipped Systems & Production Projects

### 1. ScaleWaveAI (2022 – 2025)
- **Role:** Founder & Architect · Personal Project
- **Type:** B2B AIaaS · Cloud Private GPU Clusters
- **URL:** [https://www.scalewaveai.com/](https://www.scalewaveai.com/)
- **Architecture & Overview:** B2B AIaaS orchestration platform providing private, isolated GPU clusters with scale-to-zero economics to eliminate idle compute overhead. Features one-click model deployment, Stripe and Razorpay transactional billing, and multi-tenant data compliance isolation for enterprise teams serving high-volume vision and distributed training workloads.
- **Tech Stack:** AIaaS, KubeRay, AWS EKS, Karpenter, Ray Serve, SaaS Billing, Stripe API, Razorpay API, Multi-tenant Isolation, Distributed Training, B2B.

### 2. KyoudaiClub (2025 – 2026)
- **Role:** Creator & Lead Engineer · Personal Project
- **Type:** SaaS · LLM Roleplay Chat & PvP Quizzes · B2C
- **URL:** [https://www.kyoudaiclub.com/](https://www.kyoudaiclub.com/)
- **Architecture & Overview:** Gamified anime roleplay and trivia platform powered by a FastAPI + Beanie ODM (MongoDB) backend. Uses LangGraph to orchestrate multi-character conversation, PvP duels, and context compression. Features a real-time WebSocket PvP battle engine, AniList watch-history synchronization, and dynamic Google Cloud Storage avatar rendering.
- **Tech Stack:** FastAPI, Beanie ODM, MongoDB, LangGraph, LangChain, WebSockets, Self-Hosted LLMs, Google Cloud Storage, Next.js, B2C.

### 3. QuantML (2021 – Present)
- **Role:** Creator & Maintainer · Personal Project
- **Type:** Interactive ML Education & Edge WebGPU Deployment
- **URL:** [https://www.quantml.org/](https://www.quantml.org/)
- **Architecture & Overview:** Interactive machine learning education platform simulating PCA projections and backpropagation training (Word2Vec, RNN) visually with KaTeX rendering. Features serverless deployment guides and fully offline client-side WebGPU inference running LLMs inside browser Web Workers, backed by PWA IndexedDB offline caching and alternate markdown endpoints for AI agent discovery.
- **Tech Stack:** WebGPU, Edge AI, llama.cpp, vLLM, SGLang, Next.js, MongoDB, KaTeX, PWA, IndexedDB, LLM Crawler Routing.

### 4. Overheard (Early 2026)
- **Role:** Creator & Lead Engineer · Personal Project
- **Type:** Live Audience WebSocket Chat & Stream Engine
- **URL:** [https://www.overheard.chat/](https://www.overheard.chat/)
- **Architecture & Overview:** Public real-time digital fishbowl chat platform built on a custom Node.js Socket.io server. Features spectator modes, a live crowd hype meter, and a 4-stage content moderation cascade: browser-side ML (`toxic-bert` running in Web Workers) for zero-latency pre-flight blocking, server-side regex sanitization, and asynchronous LLM quarantine verification.
- **Tech Stack:** Socket.io, Node.js, Web Workers, Edge ML (toxic-bert), Firebase Auth, Web Push (VAPID), Framer Motion, PWA, Real-Time Systems.

### 5. DocumentAI (2026)
- **Role:** Infrastructure Architect · Client Project
- **Type:** Enterprise Hybrid Document Parsing Infrastructure
- **Status:** Architecture documented; complete audit report available.
- **Architecture & Overview:** Enterprise platform processing 1,000-page complex PDFs in under 5 minutes using AWS Step Functions Distributed Map chunking to bypass LLM context token limits. Deployed KubeRay + vLLM (`Qwen3.6-35B-A3B FP8`) on AWS EKS, autoscaling Spot GPU instances via Karpenter and KEDA. Achieved 18.6x cost savings ($0.025/doc vs. $0.466/doc on AWS Bedrock) at a cluster capacity of 50,000 documents per day.
- **Tech Stack:** vLLM, AWS EKS, KubeRay, Karpenter, KEDA, Step Functions, Distributed Map, Hybrid Routing, AWS CDK, vLLM Prometheus Metrics, PII Redaction, MLOps.

### 6. REimagineHome.AI (2022 – 2026)
- **Role:** Lead ML Architect · Styldod
- **Type:** Agentic Interior Design Platform · B2C Scale
- **URL:** [https://www.reimaginehome.ai/](https://www.reimaginehome.ai/)
- **Architecture & Overview:** Architected and directed the ML lifecycle of a virtual staging platform scaling from 0 to 2.1M+ registered users (30M+ designs generated, 70% retention). Built a LangGraph + MCP multi-agent pipeline (planning, tool execution, and automated visual quality review agents) orchestrating 20+ computer vision and LLM tools. Cut hosting infrastructure costs by >65% by migrating from managed APIs to self-hosted models on AWS EKS.
- **Tech Stack:** Agentic AI, Computer Vision, LLM, VLM, Memory Management, MCP, 3D Vision, LangGraph, EKS, KubeRay, FastAPI, ECS, Lambda, GPU Snapshotting, FSx for Lustre, B2C.

---

## 7. In-Depth Systems Deep Dives (Architectures & Audit Trails)

The following 7 technical deep dives document source-level post-mortems, hardware profiling, and production code. Each is available as an interactive web page or raw canonical markdown:

```
├── /deep-dives/gpu-cluster-hardening    (Markdown: /deep-dives/gpu-cluster-hardening.md)
├── /deep-dives/cold-start-engineering   (Markdown: /deep-dives/cold-start-engineering.md)
├── /deep-dives/evaluation-harness       (Markdown: /deep-dives/evaluation-harness.md)
├── /deep-dives/serving-engine-internals (Markdown: /deep-dives/serving-engine-internals.md)
├── /deep-dives/browser-edge-ai          (Markdown: /deep-dives/browser-edge-ai.md)
├── /deep-dives/image-generation-scale   (Markdown: /deep-dives/image-generation-scale.md)
└── /deep-dives/systems-debugging        (Markdown: /deep-dives/systems-debugging.md)
```

### Deep Dive 1: Hardening 754B GLM-5.1 MoE on 8x B200 GPU Clusters
- **Route:** `/deep-dives/gpu-cluster-hardening` | [Markdown](/deep-dives/gpu-cluster-hardening.md)
- **Hardware & Cost:** 8x Nvidia B200 ($50/hr cluster) · 754B total parameters (67B active per token).
- **Core Problem:** 
  1. Boot time was taking 15 minutes per container due to JIT compilation of DeepGEMM and FlashInfer kernels, costing $12.50 per launch.
  2. Triton TP=8 distributed compilation suffered from a fatal race condition: all 8 GPU ranks attempted to write to the same kernel cache directory simultaneously, corrupting lock files and causing kernel panics.
  3. Zombie vLLM worker processes failed to release GPU VRAM on container crashes, leaving the cluster wedged.
- **Architectural Solution:**
  - Cached pre-compiled DeepGEMM and FlashInfer kernels onto a persistent network volume, eliminating JIT recompilation entirely on container boot.
  - Implemented asymmetric startup synchronization: rank 0 compiles kernels first, writes a completion sentinel file, and ranks 1–7 read the warm cache.
  - Built an active Python watchdog daemon that monitors parent process heartbeat, catches SIGTERM/SIGSEGV signals, and forcefully SIGKILLs orphaned CUDA processes.
- **Production Impact:** Reduced monthly idle burn from **$18,000/mo to $4,500/mo** (75% savings) by unlocking safe scale-to-zero with 99.9% uptime.

### Deep Dive 2: 26-Minute to 7-Second GPU Cold Start Engineering
- **Route:** `/deep-dives/cold-start-engineering` | [Markdown](/deep-dives/cold-start-engineering.md)
- **Hardware:** Modal B200 & L40S Clusters · Large Language Models (70B – 397B).
- **The Bottleneck Anatomy (26 minutes total):**
  - Hugging Face weight redownload over network: ~6 minutes.
  - FlashInfer & CUDA JIT compilation: ~18 minutes.
  - PyTorch weight loading and CUDA context initialization: ~2 minutes.
- **Architectural Solution:**
  1. **Volume Symlink Cache:** Cached uncompressed model weights onto Modal persistent volumes and symlinked `/root/.cache/huggingface` directly to the volume mount (cut 6m download to 0s).
  2. **JIT Compilation Persistence:** Routed FlashInfer compilation directories to volume mounts, slashing warmup from 18m to 0s.
  3. **Linux CRIU Memory Snapshots:** Checkpointed the warm container state (RAM and VRAM allocations) directly to persistent block storage. On container wake, the system bypasses weight loading and restores directly into memory in **~7 seconds**.
- **Production Impact:** Boot times dropped from 110s to 2–7s for snapshotted models (24x improvement) and 26m to 7m for Qwen3.5-397B on 4x B200 clusters (74% savings), making scale-to-zero practical for production workloads.

### Deep Dive 3: Automated 210-Scenario Evaluation Harness for Quantized Models
- **Route:** `/deep-dives/evaluation-harness` | [Markdown](/deep-dives/evaluation-harness.md)
- **Core Challenge:** Determining whether GGUF quantization (Q4_K_M, Q8_0) damages output precision, code generation, and multi-step reasoning in production LLMs.
- **Evaluation Architecture (3 Verification Tiers):**
  - **Tier 1 (Deterministic Regex & Fact Extraction):** 70 test scenarios testing structured JSON schemas, email parsing, and numerical assertions.
  - **Tier 2 (Sandboxed Code Execution):** 70 Python test scenarios executed inside sandboxed subprocesses with CPU/memory limits and timeout guards to test functional correctness.
  - **Tier 3 (LLM-as-a-Judge):** 70 scenarios evaluated using an unquantized teacher model grading coherence, nuance, and constraint satisfaction.
- **Dynamic Reasoning Control (3-State FSM):**  
  Built a custom logits processor in `llama-cpp-python` with a 3-State Finite State Machine (`THINKING`, `BUDGET_EXCEEDED`, `FORCED_ANSWER`). When internal reasoning tokens exceed a configured threshold, the processor masks reasoning tokens and forces the generation of `</think>`, cutting latency and token consumption by up to **90%**.
- **Findings:** Verified that `Q4_K_M` quantization retained **93.4%** of FP16 accuracy across all 210 scenarios while halving memory footprint.

### Deep Dive 4: Serving Engine Internals — vLLM vs. SGLang vs. llama.cpp
- **Route:** `/deep-dives/serving-engine-internals` | [Markdown](/deep-dives/serving-engine-internals.md)
- **Scope:** Source-level audit and architectural comparison across 10 benchmark models.
- **Key Architectural Findings:**
  - **vLLM:** Superior continuous batching and PagedAttention memory management for high-throughput multi-user APIs. Excellent multi-GPU Tensor Parallelism (TP) scaling on Nvidia A100/H100/B200.
  - **SGLang:** Dominates structured JSON generation and multi-turn agentic workflows. Its RadixAttention (LRU cache of KV cache trees) eliminates prompt recompilation across shared prefixes, yielding up to **3x higher throughput** on agent reasoning chains.
  - **llama.cpp:** Unrivaled efficiency for CPU, Apple Silicon Metal, and edge devices. Native GGUF quantization (k-quants) allows running 70B models in system RAM with minimal quality degradation.

### Deep Dive 5: Fully Offline Browser Edge AI via WebGPU
- **Route:** `/deep-dives/browser-edge-ai` | [Markdown](/deep-dives/browser-edge-ai.md)
- **Models:** Gemma-4 (2B) and Qwen3.5 (1.5B/3B) quantized to 4-bit INT4.
- **Architecture:**
  - Executes directly on client GPUs using the W3C WebGPU API and `transformers.js`.
  - Runs inside dedicated Web Workers to ensure 60fps main UI thread smoothness.
  - Employs a Progressive Web App (PWA) Service Worker paired with IndexedDB chunked blob storage, downloading model weights once and caching them locally.
- **Performance:** Achieved **28 tokens/second** generation speed (12x faster than WebAssembly CPU fallback) with zero server infrastructure costs and 100% client data privacy.

### Deep Dive 6: FLUX.2 Generative Image Scaling on Modal L40S GPUs
- **Route:** `/deep-dives/image-generation-scale` | [Markdown](/deep-dives/image-generation-scale.md)
- **Challenge:** High cold start latency (48 seconds) for FLUX.2-klein-9B image models causing unacceptable user wait times during traffic spikes.
- **Architectural Solution:**
  - Implemented serverless GPU memory snapshotting (CRIU), capturing PyTorch and CUDA runtime states after model weights are loaded into VRAM.
  - Utilized asynchronous CUDA stream preloading to stream pipeline configurations in parallel with network initialization.
  - Maintained a lightweight warm-container pool with adaptive scale-down timers based on request arrival velocity.
- **Production Impact:** Slashed container cold start from **48 seconds to 7 seconds** (6.9x speedup) while reducing image generation hosting costs by 70% compared to third-party APIs.

### Deep Dive 7: Production Systems Debugging & Root-Cause Post-Mortems
- **Route:** `/deep-dives/systems-debugging` | [Markdown](/deep-dives/systems-debugging.md)
- **Incident 1 (FlashAttention-2 GQA Divisibility Regression):**  
  Investigated a 7.5x latency regression after a minor version upgrade. Found that the custom fused attention kernel required `num_query_heads` to be evenly divisible by `num_kv_heads`; when an irregular model configuration bypassed the check, the kernel silently fell back to uncoalesced global memory reads. Patched with defensive validation assertions.
- **Incident 2 (36-Bug MoE Source Code Audit):**  
  Conducted a comprehensive audit of an open-source Mixture-of-Experts routing implementation. Resolved 36 critical bugs including expert capacity token dropping, missing auxiliary load balancing loss, and floating-point overflow during top-2 softmax routing.
- **Incident 3 (Modal GPU Snapshot SIGSEGV):**  
  Diagnosed a silent SIGSEGV crash during CRIU GPU memory snapshot restoration. Discovered an open Linux IPC socket handle was retained across checkpoint boundaries. Resolved by registering clean process pre-snapshot teardown hooks.

---

## 8. Flagship Systems Lab Reports

### Flagship Report 1: Architecting a Production Full-Duplex Voice Agent
*Full Report:* [https://www.yuvraj97.com/blog/production-full-duplex-voice-agent-architecture](https://www.yuvraj97.com/blog/production-full-duplex-voice-agent-architecture)  
*Raw Canonical Markdown:* [https://www.yuvraj97.com/blog/production-full-duplex-voice-agent-architecture.md](https://www.yuvraj97.com/blog/production-full-duplex-voice-agent-architecture.md)

- **Architecture:** 8-hop decoupled streaming pipeline balancing edge DSP (AudioWorklet + Silero VAD v5 Worker) with decoupled cloud streaming (Deepgram Nova-3 + Aura-2 + Fast LLM).
- **Turnaround Latency:** **480 ms P50** (Tier A Edge Fast-Path) / **715 ms P50** (Broadband Wi-Fi) / **1,080 ms P50** (Mobile Cellular).
- **Sub-15ms Soft Barge-In:** Two-stage interruption attenuating assistant playback by -14dB in <15ms before hard abort, cutting false cough aborts by 93%.
- **Zero-Oscillation Acoustic Echo:** Normalized spectral cross-correlation ($\rho > 0.65$) suppressing speaker feedback loops without audio ducking deadlocks.
- **AudioWorklet DSP:** 21-tap Blackman-windowed sinc FIR decimation with sub-sample phase accumulation, eliminating the 375 Hz phase-slip buzz.
- **Unit Economics:** **$2.40 per 1,000 conversational turns** (a 94.7% cost reduction vs. $45.00 proprietary monolithic endpoints).

### Flagship Report 2: Cohere Transcribe on Serverless GPUs ($0.02/Hour)
*Full Report:* [https://www.yuvraj97.com/blog/cohere-transcribe-modal-production](https://www.yuvraj97.com/blog/cohere-transcribe-modal-production)  
*Raw Canonical Markdown:* [https://www.yuvraj97.com/blog/cohere-transcribe-modal-production.md](https://www.yuvraj97.com/blog/cohere-transcribe-modal-production.md)

- **Model:** `CohereLabs/cohere-transcribe-03-2026` (2 Billion parameter Fast-Conformer encoder + autoregressive decoder).
- **Benchmark Position:** Ranked **#1 on Hugging Face Open ASR Leaderboard** with **5.42% average WER** across 8 standard benchmark corpora (outperforming Whisper Large v3's 7.44% and Whisper Large v2's 9.10%).
- **Target Hardware:** Modal Serverless Nvidia A10G (24 GB VRAM) at $1.10/hour.
- **Throughput:** **53.1x Real-Time Factor (RTFx)** at batch size 8 (processes 83.5 seconds of spoken audio in 1.571 seconds of GPU compute).
- **Cold Start:** Reduced from 45 seconds to **~3.5 seconds** using compacted 4.2 GB CRIU memory snapshots.
- **Unit Economics:** **$0.0207 per full audio hour** (vs. $0.3600/hr on OpenAI Whisper API—a **94.2% unit cost reduction**).
- **1.0ms Zero-Compute VAD Gate:** Built a pre-inference energy gate checking peak PCM amplitude (`threshold = 0.01`). Silent audio frames return in 1.0 millisecond without running a GPU forward pass, preventing decoder silence hallucination loops.
- **Long-Audio Chunking & LCS Stitching:** Deployed 30-second window chunking with 5-second overlap and Longest Common Substring (LCS) deduplication to process arbitrary-length podcasts and audio files without Conformer quadratic memory explosion.

### Flagship Report 3: Engineering FLUX.2 [klein] 9B for Production (Scale-to-Zero on L40S)
*Full Report:* [https://www.yuvraj97.com/blog/flux2-klein-9b-modal-scale-to-zero](https://www.yuvraj97.com/blog/flux2-klein-9b-modal-scale-to-zero)  
*Raw Canonical Markdown:* [https://www.yuvraj97.com/blog/flux2-klein-9b-modal-scale-to-zero.md](https://www.yuvraj97.com/blog/flux2-klein-9b-modal-scale-to-zero.md)

- **Model:** `black-forest-labs/FLUX.2-klein-9B` (17 Billion parameters total: 9B Flow Transformer + 8B Qwen3 Text Encoder).
- **Architecture:** 4-step step-distilled rectified flow matching with native multi-reference cross-attention conditioning (up to 4 images).
- **Target Hardware:** Modal Serverless NVIDIA L40S (48 GB GDDR6 Ada Lovelace).
- **Inference Speed:** **2.14s Server GPU Forward Pass** and **2.25s Total Generation** (1024x1024, 4 Euler steps).
- **Batch Scaling:** **2.83s per image** at batch size 10 (28.28s total forward pass, +16.3% throughput gain).
- **Cold Start Optimization:** Slashed cold start from 48.3s to **7.41s true cold start** (2.18s in-container restore) via Linux CRIU GPU memory snapshots and post-warmup memory hygiene (`empty_cache`).
- **VRAM Headroom Safeguard:** Mapped L40S memory dynamics: 36.0 GB static baseline, 44.2 GB safe production ceiling at Batch 10, preventing the fatal 48.0 GB OOM crash at Batch 13.
- **Fast Lossless Serialization:** Fast greedy PNG encoding (`compress_level=1`) shaving 1.5s–2.0s off 10-image batches; on-GPU uint8 normalization cutting PCIe bus traffic by 75%.
- **FinOps & Unit Economics:** **$0.00153 per image** at batch size 10 (~653 images per dollar) with strict **$0.00/hr scale-to-zero idle cost**.

---

## 9. Technical Competencies & Skill Matrix

### A. AI & Machine Learning
- **Core Frameworks:** PyTorch, vLLM, SGLang, llama.cpp, Ray Serve, Ray Train, Ray Data, LangGraph, LangChain, LiteLLM, Model Context Protocol (MCP), Hugging Face Transformers, Transformers.js.
- **Domains & Modalities:** Large Language Models (LLMs), Vision-Language Models (VLMs), Speech Recognition (ASR), Computer Vision, Natural Language Processing (NLP), Diffusion Models.
- **Specialized Techniques:** Distributed Multi-GPU Training & Inference, LLM/VLM Evaluation Frameworks, LangSmith, Langfuse, Model Quantization (AWQ, GGUF, FP8, INT4), 3D Scene Reconstruction, Semantic Segmentation, Metric Depth Estimation, Camera Calibration, Speculative Decoding, KV Cache Paging & Prefix Caching.

### B. Infrastructure & MLOps
- **Orchestration & Compute:** AWS EKS, KubeRay, AWS Karpenter, Kubernetes, Docker, AWS ECS, AWS Lambda, AWS SQS, AWS S3, AWS FSx for Lustre.
- **GPU Optimization & Runtimes:** Linux CRIU GPU Memory Snapshots, Cold Start Engineering, DeepGEMM JIT Compilation, FlashInfer Caching, Scale-to-Zero Cluster Auto-Shutdown.
- **Observability & Telemetry:** Prometheus, Grafana, Datadog, OpenTelemetry, AWS CloudWatch, AWS X-Ray, Distributed Trace Logging.
- **Edge Storage & Runtimes:** IndexedDB Browser Cache, PWA Service Workers, Offline Sync Queues.

### C. Full Stack & Core Engineering
- **Languages:** Python, TypeScript, JavaScript, SQL, Bash.
- **Web & Application Frameworks:** Next.js (App Router), React, FastAPI, Node.js, WebSockets (Socket.io), REST APIs, WebGPU / WASM.
- **Databases & State:** MongoDB Atlas, Beanie ODM, Mongoose ORM, Redis, Firebase Admin SDK.
- **Payments & Systems:** Stripe API, Razorpay API, High-Precision Decimal Billing, High-Concurrency Broadcast, Exponential Backoff Retries, IP Rate Limiting.
- **Systems Administration:** Linux Admin, Red Hat Enterprise Linux, Ansible Automations, KaTeX (LaTeX Rendering).

### D. Leadership, Strategy & Product
- Team Leadership (R&D) · Product Architecture · Compute Cost Modeling · Technical Writing & Documentation · B2B Product Management · Client & Stakeholder Engagement · Growth Engineering (SEO & AI Engine Optimization / AEO) · Vendor Benchmarking · Agile Execution · Role-Based Access Control (RBAC).

---

## 10. Education, MicroMasters & Industry Certifications

### MITx MicroMasters in Statistics and Data Science
*Massachusetts Institute of Technology (via edX) · 2021 – 2023*  
Rigorous graduate-level academic program covering probability, mathematical statistics, machine learning, and data analysis.
- **18.6501x: Fundamentals of Statistics** — [Verify Certificate](https://courses.edx.org/certificates/3e887ff9043348eeb4466e1d275499ba)
- **6.431x: Probability - The Science of Uncertainty and Data** — [Verify Certificate](https://courses.edx.org/certificates/6af94e58e26b4584a66f40cdb1a0bf00)
- **6.86x: Machine Learning with Python** — [Verify Certificate](https://courses.edx.org/certificates/46a1b15f586a4e6290245455f5668ef6)
- **14.310Fx: Data Analysis for Social Scientists** — [Verify Certificate](https://courses.edx.org/certificates/9eaff7b864a94ab6983f6a48c47dae60)

### DeepLearning.AI — Deep Learning Specialization
*Taught by Andrew Ng (via Coursera)*  
Comprehensive 5-course sequence on deep neural network architectures and mathematical optimization.
- **Neural Networks and Deep Learning** — [Verify Certificate](https://www.coursera.org/account/accomplishments/verify/9ZVLUQZ5JBHH)
- **Convolutional Neural Networks** — [Verify Certificate](https://www.coursera.org/account/accomplishments/verify/PT86YCH86XA3)
- **Improving Deep Neural Networks (Hyperparameter Tuning, Regularization & Optimization)** — [Verify Certificate](https://www.coursera.org/account/accomplishments/verify/CXK5X4NJAPK8)
- **Structuring Machine Learning Projects** — [Verify Certificate](https://www.coursera.org/account/accomplishments/verify/83Z8VYP3LCQM)

### Red Hat Enterprise Linux Certifications
*Certification ID: 180-142-705 · [Verify on Red Hat Portal](https://rhtapps.redhat.com/verify?certId=180-142-705)*
- **EX280:** Red Hat Certified Specialist in OpenShift Administration
- **EX407:** Red Hat Certified Specialist in Ansible Automation
- **EX200:** Red Hat Certified System Administrator (RHCSA)

### Computer Science Foundations — Algorithms & Data Structures
*University of California San Diego & National Research University (via Coursera)*
- **Algorithms on Strings** — [Verify Certificate](https://www.coursera.org/account/accomplishments/verify/AP2VW3B2K8Y3)
- **Data Structures** — [Verify Certificate](https://www.coursera.org/account/accomplishments/certificate/YVGPRU79PADG)

---

## 11. Frequently Asked Questions (FAQ)

### Q1: Who is Yuvraj Garg?
**A:** Yuvraj Garg is an AI Systems and Infrastructure Architect based in Bengaluru, India with 5 years of experience leading ML engineering at Styldod. He specializes in production GPU serving pipelines, multi-agent orchestration with LangGraph and MCP, cold start optimization, and cost reduction for large-scale LLM and vision model deployments.

### Q2: What is Yuvraj Garg's biggest technical achievement?
**A:** Yuvraj architected REimagineHome.AI, scaling it from 0 to 2.1M+ users with 30M+ designs generated, while cutting hosting costs by 65%+ through self-hosted LLMs and VLMs on AWS EKS. He also built a DocumentAI pipeline achieving 18.6x cost savings ($0.025/doc vs $0.466 on AWS Bedrock) processing 50K documents per day.

### Q3: What is Yuvraj Garg's expertise in GPU infrastructure?
**A:** Yuvraj specializes in GPU cold start optimization (achieving 6.9x faster startup using memory snapshots on L40S and B200 GPUs), serving massive MoE models like GLM-5.1 (754B) on 8x B200 clusters, and eliminating JIT compilation overhead (DeepGEMM, FlashInfer) via persistent volume caches. He uses vLLM, SGLang, and llama.cpp in production.

### Q4: What tech stack does Yuvraj Garg use?
**A:** Yuvraj's core stack includes vLLM, SGLang, llama.cpp for LLM serving; LangGraph, MCP for agentic orchestration; AWS EKS, KubeRay, Karpenter for GPU cluster management; PyTorch for model work; FastAPI for backend services; and Next.js/React for frontend. He also holds Red Hat certifications in OpenShift (EX280) and Ansible (EX407).

### Q5: Is Yuvraj Garg available for hire?
**A:** Yes. Yuvraj Garg is open to senior and staff Machine Learning Engineer roles covering GPU serving, cold-start optimization, multi-agent frameworks (LangGraph/MCP), and system optimization. He is based in Bengaluru, India and is available for hybrid, remote, or relocation roles, as well as contract consulting. Contact: [yuvraj97.ml@gmail.com](mailto:yuvraj97.ml@gmail.com).

### Q6: What is REimagineHome.AI?
**A:** REimagineHome.AI is an agentic virtual interior staging platform built and architected by Yuvraj Garg at Styldod. It uses a LangGraph + MCP multi-agent pipeline (planning, execution, and quality review agents) orchestrating 20+ tools. The platform scaled from 0 to 2.1M+ users generating 30M+ designs, with hosting costs cut by 65%+ through self-hosted LLMs and VLMs on AWS EKS.

### Q7: How did Yuvraj Garg reduce LLM cold start time from 26 minutes to 7 minutes?
**A:** For the Qwen3.5-397B model on a 4x B200 Modal cluster, Yuvraj reduced cold start from 26 minutes to 7 minutes by caching FlashInfer JIT kernels via persistent volume symlinks. This eliminated repetitive JIT compilation on every container boot and unlocked scale-to-zero economics, saving 74% on GPU costs.

### Q8: What certifications does Yuvraj Garg hold?
**A:** Yuvraj holds an MITx MicroMasters in Statistics and Data Science (Statistics, Probability, Machine Learning, Data Analysis), a DeepLearning.AI Deep Learning Specialization, and three Red Hat certifications: EX280 (OpenShift Specialist), EX407 (Ansible Specialist), and EX200 (RHCSA System Administrator).

---

## 12. Engagement, Work Scope & Availability

### Work Focus:
- I thrive on **small, high-autonomy engineering teams** shipping products where performance, latency, and compute unit economics guide architectural decisions.
- Open to **Senior / Staff Machine Learning Engineer** and **AI Systems Architect** roles.
- Core focus areas: GPU cluster serving (vLLM, SGLang), serverless cold-start optimization, multi-agent orchestration (LangGraph, MCP), and production ML FinOps.

### Geographic Availability & Modes:
- **Location:** Bengaluru, Karnataka, India.
- **Engagement Types:** Full-time permanent roles, advisory retainers, and high-impact infrastructure consulting.
- **Work Models:** Hybrid, fully remote, or relocation to engineering hubs.

### Direct Contact Channels:
- **Email:** [yuvraj97.ml@gmail.com](mailto:yuvraj97.ml@gmail.com)
- **LinkedIn:** [https://www.linkedin.com/in/yuvraj97](https://www.linkedin.com/in/yuvraj97)
- **GitHub:** [https://github.com/yuvraj97](https://github.com/yuvraj97)
- **Twitter / X:** [@yuvraj97_ml](https://twitter.com/yuvraj97_ml)
- **Resume:** [https://www.yuvraj97.com/Yuvraj-Garg-Resume.pdf](https://www.yuvraj97.com/Yuvraj-Garg-Resume.pdf)
