You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then use python openai lib to call server get inference result one by one
Tried to call the server simultaneously with 'response = client.chat.completions.create', but the inference speed got much slower.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
current set up is:
2 nodes of 8 x H100
Launch
python3 -m sglang.launch_server --model-path deepseek-ai/DeepSeek-R1 --tp 16 --dist-init-addr 10.0.0.1:5000 --nnodes 2 --node-rank 0 --trust-remote-code
Then use python openai lib to call server get inference result one by one
Tried to call the server simultaneously with 'response = client.chat.completions.create', but the inference speed got much slower.
How can I do batch inference efficiently?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions