-
Notifications
You must be signed in to change notification settings - Fork 394
refactor: refactor dynamo serve part-1/N #788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
31173c2
to
c01e8fe
Compare
cd5ba88
to
40911e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - will also review after additional refactors
dynamo={ | ||
"enabled": True, | ||
"namespace": "dynamo", | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@biswapanda was this a newly required change for Frontend to work with these refactor changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- On trtllm example, it seems like http and llmctl commands are no longer getting run -- I noticed you didn't add the dynamo service section in examples/tensorrt_llm/components/frontend.py
- After I added this to try to fix it locally, I'm getting errors now:
2025-04-30T01:10:50.985Z INFO serve_dynamo.worker: [Frontend:1] Registering component dynamo/Frontend
2025-04-30T01:10:50.985Z INFO serve_dynamo.worker: [Frontend:1] Created Frontend component
2025-04-30T01:10:50.986Z ERROR serve_dynamo.worker: [Frontend:1] FATAL ERROR: No Dynamo endpoints found in service Frontend!
2025-04-30T01:10:50.986Z ERROR serve_dynamo.worker: [Frontend:1] Error in Dynamo component setup: FATAL ERROR: No Dynamo endpoints found in service Frontend!
2025-04-30T01:10:50.986Z ERROR serve_dynamo: [Frontend:1] Error in main: FATAL ERROR: No Dynamo endpoints found in service Frontend!
Seems like these changes broke the usage of http
+llmctl
as frontend if no dynamo endpoint is defined in it?
Overview:
This PR is part 1/N to refactor dynamo serve path and introduce loose coupling with circusd
http
server in llm example.credits: related PR #721 from @ishandhanani
Where should the reviewer start?
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
https://linear.app/nvidia-dynamo/issue/DYN-185