Alexi (@lintuxt) header
Alexi (@lintuxt) profile picture

Inference Engineer

ATX
Joined July 2015
Photo by Alexi (@lintuxt)Photo by Alexi (@lintuxt)Photo by Alexi (@lintuxt)Photo by Alexi (@lintuxt)
Apple, this has been happening for months in ALL my AirPods devices. Something is clearly wrong in AirPods firmware. At this point, this is unusable.
15
You know that shit got real when random people start sending resumes to regular employees. Sheeeeeeeit! Software Engineering jobs are cooked! It was a good run! 😂
1
35
Let’s go!
If you learn AI Infrastructure Engineering, you will never be unemployed again. Stage 1: Systems & GPU Foundations - Learn: C++, Rust, CUDA memory hierarchy, PCIe vs NVLink, thread blocks and warp scheduling. - Practice: Write a custom CUDA kernel for matrix multiplication from scratch and profile it against cuBLAS. - Why: You cannot optimize what you do not understand at the silicon level. Stage 2: Transformer Inference Physics - Learn: Prefill vs Decode phases, arithmetic intensity, memory bandwidth bottlenecks, KV-cache math. - Practice: Profile a HuggingFace model with Nsight Systems to identify the exact memory bottleneck during token generation. - Why: LLM inference is almost always memory-bound, not compute-bound. Stage 3: Modern Serving Engines & Batching - Learn: vLLM, SGLang, PagedAttention, continuous batching, chunked prefill. - Practice: Deploy a 70B model and tune chunk sizes to maximize throughput without starving decode requests during long-context prefills. - Why: Naive batching leaves 60% of GPU VRAM wasted. PagedAttention fixes this. Stage 4: KV-Cache & Memory Optimization - Learn: Prefix caching, KV quantization, CPU offloading, multi-turn cache reuse. - Practice: Build a routing proxy that directs requests with identical system prompts to the same replica to share KV blocks. - Why: Reused cache is free speed. It can slash Time-To-First-Token (TTFT) by 80%. Stage 5: Quantization & Compression - Learn: FP8, INT4, AWQ, GPTQ, Sparsity, TensorRT-LLM calibration. - Practice: Serve a model in FP8 vs FP16 and benchmark the exact perplexity drop against the latency and VRAM gains. - Why: Quantization is the only way to fit frontier models on edge GPUs and protect your margins. Stage 6: Kernel-Level Engineering - Learn: Triton, FlashAttention, CUDA graphs, operator fusion. - Practice: Write a fused Triton kernel for RMSNorm or Softmax and benchmark it against the native PyTorch implementation. - Why: Python overhead kills inference. Fused kernels save milliseconds that compound at scale. Stage 7: Distributed Inference & Parallelism - Learn: Tensor parallelism, Pipeline parallelism, Expert parallelism (for MoE models). - Practice: Shard a 405B parameter model across 8 nodes and measure the communication overhead between GPUs. - Why: Single-GPU inference is dead for frontier models. You must master the shard. Stage 8: Speculative Decoding - Learn: Draft-target models, Medusa heads, acceptance rates, n-gram drafting. - Practice: Build a pipeline where a local 3B model drafts tokens for a cloud 70B model to verify in parallel. - Why: 2x decode speed at zero quality cost is the closest thing to a free lunch in inference. Stage 9: Multi-Node & Hardware Interconnects - Learn: NCCL, RDMA, InfiniBand, NVLink, Disaggregated Prefill/Decode architectures. - Practice: Set up a multi-node cluster and profile the network latency of tensor parallelism across nodes vs within a single node. - Why: Network latency is the new GPU bottleneck. Disaggregating prefill and decode is the 2026 meta. Stage 10: Cluster Orchestration & GPU Scheduling - Learn: Kubernetes GPU operators, Ray, Slurm, MIG (Multi-Instance GPU) partitioning, KEDA. - Practice: Build a queue-based autoscaler that spins up spot GPUs based on pending inference requests and drains them when empty. - Why: Idle H100s burn $3+/hr. FinOps and scheduling are now core infra responsibilities. Stage 11: AI Gateways, Routing & Observability - Learn: TTFT/ITL SLOs, semantic routing, DCGM metrics, OpenTelemetry for LLMs. - Practice: Build a gateway that routes simple queries to a quantized local model and complex reasoning to a frontier API based on prompt complexity. - Why: Routing protects your margins and DCGM metrics tell you when your GPUs are silently throttling. Stage 12: Public Benchmarks & Teardowns - Learn: Reproducible methodology, latency/throughput Pareto curves, cost-per-token analysis. - Practice: Publish a teardown comparing vLLM vs SGLang vs TensorRT-LLM on your specific hardware with full configs. - Why: Public proof of hardware mastery gets you hired instantly by top AI labs. Wrappers are a commodity. AI Infrastructure is the physics of scale. The modern AI Infra Engineer builds the silicon nervous system for global intelligence. Bookmark and Repost!
1
1
37
Were mathematicians doing mathematics for the sake of humanity or their own ego?
1
11
Did you know that you can connect your Claude Code to Zoom? ... I did, but I haven't used it until now ... 🤦‍♂️
11
Two words ... Inference Engineering.
13
I need to hide the "For you" tab on X. It's addictive beyond my control.
11
You’ll get the diploma after AI gets the job. College is obsolete.
10
It would be awesome to be able to add another Virtual Card on X Money, so I can budget my spending on recurring stuff.
12
RT @bot: LIVE: Watch 3 SpaceXAI employees attempt to build a company in 3 days with Grok Bot. This is Day 1. Matt Palmer (@mattyp), Lauren…
What is the point of learning how to orchestrate agents if you can't see the memory wall?
14
Apple said: "Oops, I did it again". iPhone Duo is the first foldable phone that is actually usable. Thank you, Apple!
64
There’s no chance in the world I’m gonna wait until Summer 2027 to watch Season Finale of Silo. I’m reading the books. YOLO.
33
This is a reminder to myself that everything is possible with enough work! - Let's make it happen!
17
I’ve just realized that you can send X Money by tapping that sign in any profile 🤯 …
22
X is the next network for professionals. LinkedIn is obsolete.
19
Compilers hid the metal. Models will hide the syntax.
26
Code is the new binary.
21
Soemthing quite odd is going with Apple AirPods, the right earbud is not charging randomly. It happened on AirPods 2nd Gen & AirPods Pro 2nd Gen ... at the same time. Last night. What's going on?
26