Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
0cb099e2
Unverified
Commit
0cb099e2
authored
Aug 15, 2024
by
Lianmin Zheng
Committed by
GitHub
Aug 16, 2024
Browse files
set CUDA_DEVICE_MAX_CONNECTIONS=1 (#1113)
parent
93d4e354
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/server.py
python/sglang/srt/server.py
+1
-0
No files found.
python/sglang/srt/server.py
View file @
0cb099e2
...
@@ -360,6 +360,7 @@ def _set_envs_and_config(server_args: ServerArgs):
...
@@ -360,6 +360,7 @@ def _set_envs_and_config(server_args: ServerArgs):
os
.
environ
[
"NCCL_CUMEM_ENABLE"
]
=
"0"
os
.
environ
[
"NCCL_CUMEM_ENABLE"
]
=
"0"
os
.
environ
[
"NCCL_NVLS_ENABLE"
]
=
"0"
os
.
environ
[
"NCCL_NVLS_ENABLE"
]
=
"0"
os
.
environ
[
"TORCH_NCCL_AVOID_RECORD_STREAMS"
]
=
"1"
os
.
environ
[
"TORCH_NCCL_AVOID_RECORD_STREAMS"
]
=
"1"
os
.
environ
[
"CUDA_DEVICE_MAX_CONNECTIONS"
]
=
"1"
# Set ulimit
# Set ulimit
set_ulimit
()
set_ulimit
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment