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
zhaoyu6
sglang
Commits
69e2d4fb
"server/vscode:/vscode.git/clone" did not exist on "d05da2991245cfa0cd8da0bda476c626e26caaec"
Unverified
Commit
69e2d4fb
authored
Dec 02, 2024
by
HAI
Committed by
GitHub
Dec 02, 2024
Browse files
Relax to include more AMD GPUs (#2319)
parent
85e1a6f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/utils.py
python/sglang/srt/utils.py
+1
-1
No files found.
python/sglang/srt/utils.py
View file @
69e2d4fb
...
@@ -879,7 +879,7 @@ def get_amdgpu_memory_capacity():
...
@@ -879,7 +879,7 @@ def get_amdgpu_memory_capacity():
# Run rocm-smi and capture the output
# Run rocm-smi and capture the output
result
=
subprocess
.
run
(
result
=
subprocess
.
run
(
[
[
"rocminfo | grep 'gfx
94
' -A 100 | grep 'Pool 1' -A 5 | grep 'Size:' | awk '{print $2}'"
"rocminfo | grep 'gfx' -A 100 | grep 'Pool 1' -A 5 | grep 'Size:' | awk '{print $2}'"
],
],
stdout
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
,
...
...
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