frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

LLM-D: Kubernetes-Native Distributed Inference

https://llm-d.ai/blog/llm-d-announce
120•smarterclayton•1y ago

Comments

anttiharju•1y ago
I wonder if this is preferable to kServe
smarterclayton•1y ago
llm-d would make sense if you are running a very large production LLM serving setup - say 5+ full H100 hosts. The aim is to be much more focused than kserve is on exactly the needs of serving LLMs. It would of course be possible to run alongside kserve, but the user we are targeting is not typically a kserve deployer today.
anttiharju•1y ago
Do you think https://github.com/openai/CLIP can be ran on it? LLM makes me think of chatbots but I suppose because it's inference-based it would work. Somewhat unclear on what's the difference between LLMs and inference, I think inference is the type of compute LLMs use.

I wonder if inference-d would be a fitting name.

smarterclayton•1y ago
Inference is the process of evaluating a model ("inferring" a response to the inputs). LLMs are uniquely difficult to serve because they push the limits on the hardware.

The models we support come from the model server vLLM https://docs.vllm.ai/en/latest/models/supported_models.html, which has a focus on large generative models. I don't see CLIP in the list.

dzr0001•1y ago
I did a quick scan of the repo and didn't see any reference to Ray. Would this indicate that llm-d lacks support for pipeline parallelism?
qntty•1y ago
I believe this is a question you should ask about vLLM, not llm-d. It looks like vLLM does support pipeline parallelism via Ray: https://docs.vllm.ai/en/latest/serving/distributed_serving.h...

This project appears to make use of both vLLM and Inference Gateway (an official Kubernetes extension to the Gateway resource). The contributions of llm-d itself seems to mostly be a scheduling algorithm for load balancing across vLLM instances.

smarterclayton•1y ago
We inherit any multi-host support from vLLM, so https://docs.vllm.ai/en/latest/serving/distributed_serving.h... would be the expected path.

We plan to publish examples of multi-host inference that leverages LeaderWorkerSets - https://github.com/kubernetes-sigs/lws - which helps run ranked serving workloads across hosts. LeaderWorkerSet is how Google supports both TPU and GPU multi-host deployments - see https://github.com/kubernetes-sigs/lws/blob/main/config/samp... for an example.

Edit: Here is an example Kubernetes configuration running DeepSeek-R1 on vLLM multi-host using LeaderWorkerSet https://github.com/kubernetes-sigs/wg-serving/blob/main/serv.... This work would be integrated into llm-d.

rdli•1y ago
This is really interesting. For SOTA inference systems, I've seen two general approaches:

* The "stack-centric" approach such as vLLM production stack, AIBrix, etc. These set up an entire inference stack for you including KV cache, routing, etc.

* The "pipeline-centric" approach such as NVidia Dynamo, Ray, BentoML. These give you more of an SDK so you can define inference pipelines that you can then deploy on your specific hardware.

It seems like LLM-d is the former. Is that right? What prompted you to go down that direction, instead of the direction of Dynamo?

qntty•1y ago
It sounds like you might be confusing different parts of the stack. NVIDIA Dynamo for example supports vLLM as the inference engine. I think you should think of something like vLLM as more akin to GUnicorn, and llm-d as an application load balancer. And I guess something like NVIDIA Dynamo would be like Django.
smarterclayton•1y ago
llm-d is intended to be three clean layers:

1. Balance / schedule incoming requests to the right backend

2. Model server replicas that can run on multiple hardware topologies

3. Prefix caching hierarchy with well-tested variants for different use cases

So it's a 3-tier architecture. The biggest difference with Dynamo is that llm-d is using the inference gateway extension - https://github.com/kubernetes-sigs/gateway-api-inference-ext... - which brings Kubernetes owned APIs for managing model routing, request priority and flow control, LoRA support etc.

rdli•1y ago
I would think that that the NVidia Dynamo SDK (pipelines) is a big difference as well (https://github.com/ai-dynamo/dynamo/tree/main/deploy/sdk/doc...), or am I missing something?
Kemschumam•1y ago
What would be the benefit of this project over hosting VLLM in Ray?
smarterclayton•1y ago
That's a good example - I can at least answer about why it's a difference: different target user.

As I understand the Dynamo SDK it is about simplifying and helping someone get started with Dynamo on Kubernetes.

From the user set we work with (large inference deployers) that is not a high priority - they already have mature deployment opinions or a set of tools that would not compose well with something like the Dynamo SDK. Their comfort level with Kubernetes is moderate to high - either they use Kubernetes for high scale training and batch, or they are deploying to many different providers in order to get enough capacity and need a standard orchestration solution.

llm-d focuses on helping achieve efficiency dynamically at runtime based on changing traffic or workload on Kubernetes - some of the things the Dynamo SDK encodes are static and upfront and would conflict with that objective. Also, large deployers with serving typically have significant batch and training and they are looking to maximize capacity use without impacting their prod serving. That requires the orchestrator to know about both workloads at some level - which Dynamo SDK would make more difficult.

rdli•1y ago
In this analogy, Dynamo is most definitely not like Django. It includes inference aware routing, KV caching, etc. -- all the stuff you would need to run a modern SOTA inference stack.
qntty•1y ago
You're right, I was confusing TensorRT with Dynamo. It looks like the relationship between Dynamo and vLLM is actually the opposite of what I was thinking -- Dynamo can use vLLM as a backend rather than vice versa.

I Built Non-Autoregressive Decision Models with RL a Year Ago

https://laya.convaiinnovations.com/
680•nandakishor_ml•7h ago•159 comments

AI-generated posters don’t have to be horrible

https://john.hartnup.uk/2026/06/07/ai-event-posters.html
871•ereiamjh•8h ago•522 comments

Human brain is two separate organs, Stanford Medicine-led research finds

https://med.stanford.edu/news/all-news/2026/09/two-separate-brains.html
526•emigre•12h ago•194 comments

Tin: full-text search for Postgres

https://planetscale.com/blog/introducing-tin
105•ksec•4h ago•52 comments

A graphical desktop for the ZX Spectrum

https://github.com/mindbox77/zxdesk
96•graemep•4h ago•80 comments

“The Secret Life of Circuits” is here

https://blog.coredump.cx/p/the-secret-life-of-circuits-is-here
216•surprisetalk•3d ago•58 comments

Android 17 is the first since 3.x to add new APIs without releasing to the AOSP

https://grapheneos.social/@GrapheneOS/117282080803799576
1012•theanonymousone•23h ago•572 comments

Supabase (YC S20) Is Hiring for OrioleDB

https://supabase.link/orioledbjob
1•awalias•1h ago

Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'

https://www.quantamagazine.org/black-holes-or-black-hole-stars-astronomers-spar-over-webb-telesco...
56•jandrewrogers•1d ago•20 comments

New evidence for hidden chambers beyond Tutankhamun's tomb

https://www.nature.com/articles/d41586-026-02621-2
45•rndsignals•2d ago•9 comments

GPT-6 Astra Solves a WWI German Radio Cipher

https://www.prinzai.com/p/gpt-6-astra-solves-a-wwi-german-radio
276•nsoonhui•11h ago•141 comments

San Francisco Onion Futures Company

https://onionfutures.com/
315•z-mach9•13h ago•125 comments

Almost Never Use AI to Write Anything Substantive

https://erichgrunewald.substack.com/p/why-you-should-almost-never-use-ai
40•erwald•1h ago•21 comments

What Zig felt like, coming from Rust

https://besok.github.io/posts/what-zig-felt-like-coming-from-rust/
125•ksec•4h ago•134 comments

If math is more than proof, we need to better celebrate the rest of it

https://terrytao.wordpress.com/2026/09/18/if-math-is-more-than-proof-we-need-to-better-celebrate-...
248•num42•11h ago•203 comments

Cloudflare Quick Tunnels

https://try.cloudflare.com/
786•jcbhmr•1d ago•301 comments

How to Write with an LLM

https://sockpuppet.org/blog/2026/09/17/how-to-write-with-an-llm/
572•joeriddles•1d ago•364 comments

People who know the most often sound the least certain

https://vrash.substack.com/p/the-people-who-know-the-most-often
9•virde•29m ago•2 comments

Asking Authors About Their Own Papers

https://medium.com/@TmlrOrg/asking-authors-about-their-own-papers-3d2e04e5dee0
88•stefanpie•2d ago•47 comments

Adventures in Microcontroller Circuit Debugging

https://www.bigmessowires.com/2026/08/30/adventures-in-microcontroller-circuit-debugging/
6•lateatdesk•1d ago•1 comments

You can run Git on object storage if you re-make packfiles

https://www.tigrisdata.com/blog/objgit-packfiles/
110•evacchi•3d ago•28 comments

Saving another 100TB of RAM

https://blog.cloudflare.com/saving-100-tb-of-ram-with-math/
430•f311a•23h ago•93 comments

Communication by means of modulated Johnson noise

https://www.pnas.org/doi/10.1073/pnas.2201337119
44•austinallegro•2d ago•21 comments

SDCC – Small Device C Compiler

https://sdcc.sourceforge.net/
114•lioeters•15h ago•25 comments

Science Is Open Software

https://jepedersen.dk/blog/202505_research/
142•jegp•15h ago•51 comments

OpenJev

https://openjev.com/
680•ilreb•1d ago•283 comments

Why building a Rust LSP is hard

https://rust-glancer.github.io/blog/why-lsp-is-hard/
123•agluszak•2d ago•50 comments

Ray Ozzie and the Optimism of Being Early

https://reproof.app/blog/lotus-notes-history
22•maguay•2d ago•16 comments

The first new cat species discovered in 100 years

https://www.nationalgeographic.com/animals/article/meet-the-first-new-cat-species-discovered-in-1...
331•ohjeez•1d ago•128 comments

How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip

https://spectrum.ieee.org/llms-for-chip-design
179•maxall4•19h ago•123 comments