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
9f7f976c
Commit
9f7f976c
authored
Nov 13, 2025
by
zhuwenwen
Browse files
修改triton 量化w8a8 config命令方式
add deps of pd-pp
parent
81eaff62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
requirements/rocm.txt
requirements/rocm.txt
+3
-0
vllm/utils/__init__.py
vllm/utils/__init__.py
+4
-3
No files found.
requirements/rocm.txt
View file @
9f7f976c
...
...
@@ -24,6 +24,9 @@ numa
pytrie
setuptools_scm>=8
cmake==3.29
quart
fastrlock==0.8.3
cupy==12.3.0
torch == 2.5.1
triton == 3.1
...
...
vllm/utils/__init__.py
View file @
9f7f976c
...
...
@@ -2309,9 +2309,10 @@ class W8a8GetCacheJSON:
self
.
triton_json_list
=
[]
self
.
weight_shapes
=
[]
self
.
moe_weight_shapes
=
[]
device_name
=
current_platform
.
get_device_name
().
replace
(
" "
,
"_"
)
if
'K100_AI'
in
device_name
and
torch
.
cuda
.
get_device_properties
(
torch
.
cuda
.
current_device
()).
multi_processor_count
==
120
:
device_name
=
'K100_AI_120'
arch_name
=
torch
.
cuda
.
get_device_properties
(
"cuda"
).
gcnArchName
.
split
(
':'
)[
0
]
arch_cu
=
torch
.
cuda
.
get_device_properties
(
torch
.
cuda
.
current_device
()).
multi_processor_count
device_name
=
arch_name
+
'_'
+
str
(
arch_cu
)
+
'cu'
self
.
device_name
=
device_name
self
.
topk
=
1
self
.
quant_method
=
None
...
...
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