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
7c8db5e7
Commit
7c8db5e7
authored
Mar 21, 2026
by
yangql
Browse files
修复get_gcn_arch_name的导入bug
parent
c6a45c08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/layers/sparse_attn_indexer.py
vllm/model_executor/layers/sparse_attn_indexer.py
+1
-1
No files found.
vllm/model_executor/layers/sparse_attn_indexer.py
View file @
7c8db5e7
...
@@ -98,7 +98,7 @@ def sparse_attn_indexer(
...
@@ -98,7 +98,7 @@ def sparse_attn_indexer(
# Get the full shared workspace buffers once (will allocate on first use)
# Get the full shared workspace buffers once (will allocate on first use)
workspace_manager
=
current_workspace_manager
()
workspace_manager
=
current_workspace_manager
()
k_fp8_full
,
k_scale_full
=
workspace_manager
.
get_simultaneous
(
k_fp8_full
,
k_scale_full
=
workspace_manager
.
get_simultaneous
(
((
total_seq_lens
,
head_dim
),
fp8_dtype
if
not
current_platform
.
is_rocm
()
or
get_gcn_arch_name
==
"gfx938"
else
k
.
dtype
,),
((
total_seq_lens
,
head_dim
),
fp8_dtype
if
not
current_platform
.
is_rocm
()
or
get_gcn_arch_name
()
==
"gfx938"
else
k
.
dtype
,),
((
total_seq_lens
,
4
),
torch
.
uint8
),
((
total_seq_lens
,
4
),
torch
.
uint8
),
)
)
for
chunk
in
prefill_metadata
.
chunks
:
for
chunk
in
prefill_metadata
.
chunks
:
...
...
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