Skip to content

[LLM] support multi node deploy - #2708

Merged
Jiang-Jia-Jun merged 7 commits into
PaddlePaddle:developfrom
ltd0924:develop
Jul 6, 2025
Merged

Jiang-Jia-Jun merged 7 commits into
PaddlePaddle:developfrom
ltd0924:develop

Conversation

@ltd0924

@ltd0924 ltd0924 commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator

Multi-Machine Deployment

This system supports distributed deployment across multiple nodes. To configure:

pod-ips Parameter

  • Type: string
  • Format: Comma-separated IPv4 addresses
  • Description: Specifies all node IPs in the deployment pod
  • Required: For multi-node deployments only
  • Example: "192.168.1.101,192.168.1.102,192.168.1.103"

Deployment Workflow

  1. Parameter passing:
    • Concatenate all node IPs in the deployment cluster
    • Pass as a single string using the pod-ips parameter
  2. Unified Node Startup:
    • Same launch command for all nodes (master and workers)
    • Nodes self-identify roles based on IP position in pod-ips
     python fastdeploy.entrypoints.openai.api_server \
     --pod-ips "IP1,IP2,IP3,...,IPN"
    

Usage

  1. Only support sending request to the master node (the first ip of the pod-ips parameter)

@paddle-bot

paddle-bot Bot commented Jul 4, 2025

Copy link
Copy Markdown

Thanks for your contribution!

@Jiang-Jia-Jun

Copy link
Copy Markdown
Collaborator

Related issue: #2649

@Jiang-Jia-Jun
Jiang-Jia-Jun merged commit 68b4755 into PaddlePaddle:develop Jul 6, 2025
xiaoguoguo626807 pushed a commit to xiaoguoguo626807/FastDeploy that referenced this pull request May 7, 2026
* [LLM] support multi node deploy

* Update engine.py

* fix bugs

* fix

* [LLM] support multi node deploy

* [LLM] support multi node deploy

---------

Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants