Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
035fa895
Unverified
Commit
035fa895
authored
Sep 21, 2024
by
Cyrus Leung
Committed by
GitHub
Sep 20, 2024
Browse files
[Misc] Show AMD GPU topology in `collect_env.py` (#8649)
parent
b28298f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
collect_env.py
collect_env.py
+7
-2
No files found.
collect_env.py
View file @
035fa895
...
...
@@ -285,9 +285,14 @@ def summarize_vllm_build_flags():
def
get_gpu_topo
(
run_lambda
):
output
=
None
if
get_platform
()
==
'linux'
:
return
run_and_read_all
(
run_lambda
,
'nvidia-smi topo -m'
)
return
None
output
=
run_and_read_all
(
run_lambda
,
'nvidia-smi topo -m'
)
if
output
is
None
:
output
=
run_and_read_all
(
run_lambda
,
'rocm-smi --showtopo'
)
return
output
# example outputs of CPU infos
...
...
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