Skip to content

docs: add multi_node examples - #428

Closed
tlipoca9 wants to merge 4 commits into
ai-dynamo:mainfrom
tlipoca9:main
Closed

tlipoca9 wants to merge 4 commits into
ai-dynamo:mainfrom
tlipoca9:main

Conversation

@tlipoca9

Copy link
Copy Markdown
Contributor

Overview:

add a example to serve llm with multi node

Related Issues:

@copy-pr-bot

copy-pr-bot Bot commented Mar 28, 2025

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi tlipoca9! Thank you for contributing to ai-dynamo/dynamo.

Just a reminder: The NVIDIA Test Github Validation CI runs an essential subset of the testing framework to quickly catch errors.Your PR reviewers may elect to test the changes comprehensively before approving your changes.

🚀

@github-actions github-actions Bot added the external-contribution Pull request is from an external contributor label Mar 28, 2025
@ishandhanani

Copy link
Copy Markdown
Contributor

Thanks for the contribution @tlipoca9!

I plan to get to this tomorrow but instead of having a sed command - what do you think of having some clear documentation around how to deploy this? Something like

Node 1

  • We spin up NATS and ETCD and spin up the Frontend, Processor, and Router.
  • Have a file (or just explain that you need to run Frontend.link(Processor).link(Router)

Node 2

  • Here we run the workers (prefill and decode)
  • Export the NATS and ETCD env vars
  • Have a file (or again just explain that you need to run VllmWorker.link(PrefillWorker)

Let me create a PR for this tomorrow and tag you in case you want to take a look

@tlipoca9

tlipoca9 commented Mar 31, 2025 •

Copy link
Copy Markdown
Contributor Author

Thanks for the contribution @tlipoca9!

I plan to get to this tomorrow but instead of having a sed command - what do you think of having some clear documentation around how to deploy this? Something like

Node 1

  • We spin up NATS and ETCD and spin up the Frontend, Processor, and Router.
  • Have a file (or just explain that you need to run Frontend.link(Processor).link(Router)

Node 2

  • Here we run the workers (prefill and decode)
  • Export the NATS and ETCD env vars
  • Have a file (or again just explain that you need to run VllmWorker.link(PrefillWorker)

Let me create a PR for this tomorrow and tag you in case you want to take a look

Thanks for your reply !
I think a clear documentation guides how to use dynamo to deploy PD disaggregation with mutli nodes is helpful.
Could we explicitly separate the Prefill Worker and VLLM Worker deployments on Node 2? This would clearly show the guide can used by PD disaggregation.

@llc-kc

llc-kc commented Apr 1, 2025

Copy link
Copy Markdown

Does the Processor also communicates with decoding workers by NATS and ETCD? where are the related codes?

@tlipoca9 tlipoca9 closed this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contribution Pull request is from an external contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants