docs: add multi-node inference without Ray (mp backend) guide

Open
#722 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
76/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet

Research direction

Start with docs/model-serving/generative-inference/multi-node/multi-node.md and the related PR #5366 to understand the existing Ray-based guide. Document the mp annotation, PP/TP sizing, worker headless service, injected environment variables, and add a complete multi-node InferenceService YAML example; done means the guide covers KServe v0.18 mp deployments without Ray.

Written by the indexing model from the issue text.

Description

Summary

KServe v0.18 added support for multi-node InferenceService deployments without requiring Ray, using vLLM's mp (multiprocessing) distributed executor backend. The current multi-node documentation at docs/model-serving/generative-inference/multi-node/multi-node.md only covers Ray-based multi-node inference.

What needs to be documented

  • The multinode/executor-backend annotation on ServingRuntime spec (ray vs mp mode)
  • How mp mode derives the number of nodes from pipeline parallelism (PP) and GPUs per node from tensor parallelism (TP)
  • The worker headless service for pod DNS discovery
  • Environment variables injected into worker containers (PIPELINE_PARALLEL_SIZE, TENSOR_PARALLEL_SIZE, WORKER_SVC)
  • Example YAML for a multi-node InferenceService using mp backend

Related PR

Since

KServe v0.18

Dominant language
MDX
Stars
113
Forks
200
Avg merge
5d 13h
Merged PRs (30d)
9

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kserve/website

All issues in kserve/website

Similar issues

More Distributed Systems issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.