-
Notifications
You must be signed in to change notification settings - Fork 542
Add Gloo communication to turobmind #3362
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
base: main
Are you sure you want to change the base?
Conversation
oc evaluate diff.csv |
set_property(TARGET gloo_comm PROPERTY POSITION_INDEPENDENT_CODE ON) | ||
target_link_libraries(gloo_comm PUBLIC gloo logger) | ||
|
||
if(USE_REDIS) |
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.
Can this block be removed?
#include <gloo/math.h> | ||
#include <gloo/rendezvous/context.h> | ||
#include <gloo/rendezvous/prefix_store.h> | ||
#if GLOO_USE_REDIS |
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.
Can we remove this
@@ -164,9 +191,8 @@ def _create_weight(self, model_comm): | |||
"""Allocate weight buffer, load params if from_workspace.""" | |||
|
|||
# TODO: support mpi |
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.
We can remove "#TODO: support mpi", can't we?
Usage
A two node example with tp=4, dp=4 and device_num=4
proxy_server
lmdeploy serve proxy --server-name 10.140.24.141
node 0
node 1