Last active
April 19, 2025 08:39
-
-
Save YuehChuan/727e11019449b73513be5116296db022 to your computer and use it in GitHub Desktop.
DeepSeek-R1 FUll version on 16X H100
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GLOO_SOCKET_IFNAME=net1 | |
python3 -m sglang.launch_server --model <model_name> --port 8000 --tp 16 --dist-init-addr <node1_ip>:6379 --nnodes 2 --node-rank 0 --trust-remote-code --host 0.0.0.0 | |
python3 -m sglang.launch_server --model <model_name> --port 8000 --tp 16 --dist-init-addr <node1_ip>:6379 --nnodes 2 --node-rank 0 --trust-remote-code --host 0.0.0.0 | |
export GLOO_SOCKET_IFNAME=<ifname> | |
python3 -m sglang.launch_server --model <model_name> --port 8000 --tp 16 --dist-init-addr <node1_ip>:6379 --nnodes 2 --node-rank 1 --trust-remote-code --host 0.0.0.0 | |
#inference | |
https://cloudinfra-services.ubilink.ai/02b62aba-db1e-42a1-8278-9d778445794d/slave109/caddy/v1/chat/completions | |
windows CMD | |
curl https://cloudinfra-services.ubilink.ai/02b62aba-db1e-42a1-8278-9d778445794d/slave109/caddy/v1/chat/completions ^ | |
-H "Content-Type: application/json" ^ | |
-d "{\"model\": \"deepseek-ai/DeepSeek-R1\", \"messages\": [{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"Who won the world series in 2020?\"}]}" | |
串流版 | |
curl https://cloudinfra-services.ubilink.ai/02b62aba-db1e-42a1-8278-9d778445794d/slave109/caddy/v1/chat/completions ^ | |
-H "Content-Type: application/json" ^ | |
-d "{\"model\": \"deepseek-ai/DeepSeek-R1\", \"messages\": [{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"竹北美食?\"}]}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment