a new category of AI infrastructure companies is emerging from open-source systems research.
vLLM → Inferact
SGLang → RadixArk
Orca / continuous batching → FriendliAI
speculative decoding optimizations → Novita AI
open kernels and systems research → Together AI
these companies are monetizing their technical expertise very differently.
open-source success gives you credibility, distribution, and a head start on the technology, but the customers and business model look different.
Everything an AI agent runs on, in one map:
1.) Brain: LLM, reasoning model, model routing, structured output
2.) Context: system prompt, RAG, context window, compaction
3.) Tools: function calling, MCP servers, code execution, browser use
4.) Memory: short-term, long-term, vector store, summaries
5.) Patterns: ReAct loop, plan and execute, subagents, human in the loop
6.) Guardrails: permissions, sandboxing, prompt injection, budgets
7.) Evals: eval sets, LLM as judge, tracing, cost tracking
Most people stop at 01.
Production agents need all 7.
Bookmark this before you build your next agent.
Open Source LLMOps Stack 🚀
Building and running LLM applications in production is more than just an LLM and a GPU.
You need the right tools for security, model routing, inference, deployment, observability, and evaluation.
Here are 8 open-source tools worth exploring.
1. 𝗚𝘂𝗮𝗿𝗱𝗿𝗮𝗶𝗹𝘀 𝗔𝗜 - Adds validation and safety checks to LLM inputs and outputs.
2. 𝗟𝗶𝘁𝗲𝗟𝗟𝗠 - Provides a unified gateway to access managed and self-hosted LLMs through a common API.
3. 𝗚𝗮𝘁𝗲𝘄𝗮𝘆 𝗔𝗣𝗜 𝗜𝗻𝗳𝗲𝗿𝗲𝗻𝗰𝗲 𝗘𝘅𝘁𝗲𝗻𝘀𝗶𝗼𝗻 - Routes to suitable self-hosted models endpoints.
4. 𝗹𝗹𝗺-𝗱 - Provides Kubernetes-native, inference-aware routing and distributed serving for large language models.
5. 𝗞𝗦𝗲𝗿𝘃𝗲 - Deploys and manages model servers using Kubernetes native resources
6. 𝘃𝗟𝗟𝗠 - Serves LLMs with high-throughput, memory-efficient inference.
7. 𝗟𝗮𝗻𝗴𝗳𝘂𝘀𝗲 - Records traces and manages prompts and https://t.co/X1DTGegYuN helps you understand what happens inside your LLM applications.
8. 𝗥𝗮𝗴𝗮𝘀 - Evaluates LLM application quality, including RAG pipelines, using metrics and evaluation methods.
𝗡𝗼𝘁𝗲: You don't actually need all these tools in every deployment. Choose tools based on your application and infrastructure needs.
----
If you like practical Kubernetes, DevOps & MLOPS content like this, we share deep dives every week.
→ 𝗝𝗼𝗶𝗻 𝟮𝟬𝗞+ 𝗲𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀 (𝟭𝟬𝟬% 𝗳𝗿𝗲𝗲): https://t.co/PsPhmTMKfg
♻️ If you found this useful, repost and share it with the community 🙂
#devops #networking
Most LLM inference “optimizations” are theater.
The real 10x comes from moving fewer bytes out of HBM.
Bookmark this. You’ll need it the next time your decode is stuck at 30% of peak.
5 rules every GPU kernel engineer actually follows:
FlashAttention-style tiling is non-negotiable.
Never write the N×N matrix. Online softmax + SRAM only. Still the highest ROI change.
Fusion > clever algorithms.
One unfused intermediate write/read kills more performance than a mediocre GEMM. CUDA Graphs + tight fusion recover almost everything megakernels used to do.
KV cache is the real memory wall.
PagedAttention + 4-bit/FP8 KV is what actually lets you run high concurrency.
Fragmentation used to waste 60-80%.
Layout and scheduling beat raw FLOPS.
Column-major, swizzling, persistent kernels, warp specialization. Hardware-aware beats theoretical peak every time.
Quantization only works if the kernels eat it.
INT4/FP8/NVFP4 is useless if your GEMV and attention kernels aren’t written for it.
If you only fix one thing this quarter, fix the bytes you’re moving.
Share this with the person still chasing more TFLOPS.
What’s the highest-leverage kernel change you’ve shipped that actually moved the needle?
Weeks ago I mentioned that a lot of previous “jokes” now matter because of the emerging serving needs for agents. Pipeline parallelism is one of those things. On the paper it is extremely efficient for prefill because you basically only pay for the minimal communication overhead, and i guess the hard part is how to productionize it and handle all the headache about bubbling.
There is no secret to it 🫡 we have upstreamed everything that we built in production to the upstream vLLM. Run pp + dep and you would be surpise how good the performance could be for production traffic.
6 parallelism strategies for LLM inference in production:
(popular LLM interview question)
Running a model across four GPUs does not merge their memory into one shared pool.
Each GPU has its own memory, so data stored on another GPU must cross the interconnect before a layer can use it.
This is the central trade-off behind parallelism. It removes local memory or compute limits but adds communication overhead.
The visual below explains the six common strategies for parallelizing LLM inference:
- Data parallelism runs complete model replicas on separate GPU groups. It increases throughput, but cannot make an oversized model fit.
- Tensor parallelism splits matrix operations inside each transformer layer. It reduces weight memory per GPU, but the GPUs must combine partial results throughout the layer stack.
- Pipeline parallelism assigns layer groups to different GPUs. Activations move between stages, while insufficient micro-batching leaves some stages idle.
- Context parallelism splits sequence positions in two ways. Prefill context parallelism divides a long input across GPUs to target lower TTFT. Decode context parallelism divides the stored KV history to increase cache capacity, but every decoder layer must merge partial attention results.
- Expert parallelism distributes MoE experts across GPUs. Token routing and uneven expert load add network cost and idle time.
- Hybrid parallelism combines multiple strategies in one deployment. For example, tensor parallelism can operate within a node, pipeline parallelism across nodes, and data parallelism across model replicas. This matches each communication pattern to the available links, but adds more coordination paths.
Production deployments often combine methods, but each one should fix a measured bottleneck.
- If the weights do not fit, use tensor or pipeline parallelism.
- If long-prompt prefill or KV-cache capacity is the limit, use the corresponding form of context parallelism.
- MoE models may need expert parallelism to place expert weights.
- If one replica meets its latency target but requests still queue, add data-parallel replicas.
Keep tensor parallelism on the fastest links. After each change, measure memory, TTFT, TPOT, and other metrics again.
Add another method only when measurements reveal another bottleneck.
We wrote a detailed article explaining how each strategy works, where communication occurs, and how to choose a layout for a real deployment.
The article is quoted below.
listen to @gpusteve. he knows a thing or two about ai/gpu perf.
four nvidia resources covering:
- how cuda device code becomes ptx and cubins, how fatbins package gpu code, and when the driver compiles ptx at runtime.
- gpu targets, device linking, intermediate files, and compiler reports for registers, shared memory, and spills.
- ptx state spaces, memory ordering, synchronization, matrix instructions, and accumulation precision.
- reading generated sass and checking register counts and static memory usage with cuobjdump, plus inspecting register liveness with nvdisasm.
useful when your "optimized" kernel gets slower
An SRE Agent needs 4 things:
1. A proper prompt/system message. This will give the direction for the Agent to take.
2. Agent Skills that are designed to turn your Agent into an SRE and observability expert.
3. A good LLM
4. Targets
Number 4 is where the "magic happens".
When you put together a solid Agent for a particular use case, the target can be anything in its speciality. For example, in an SRE Agent, the target could be anything from a cloud provider to a Kubernetes cluster.
#agenticai #ai
We've published a guide to building an open AI-native stack on Kubernetes for #KubeCon#CloudNativeCon.
Scale from prototype wrappers to multi-host model serving, dynamic GPU/TPU allocation, and production agent orchestration ↓ https://t.co/Hm5IC6YHGq
“There is no moat.”
But moats are everywhere:
Ambition.
Taste.
Agency.
Curiosity.
Judgment.
Courage.
Obsession.
Persistence.
Integrity.
Patience.
This era belongs to those who refuse to be mediocre.
Here is a quick preview of the theoretical FLOPS specs of the soon to be available gpus:
https://t.co/ITqCARHZPh
Not sure how to get access to Huawei or if it will be even available in North America. But the spec is there.