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
ccc00515
"vscode:/vscode.git/clone" did not exist on "4bdf7ac59338e00f2899fd72541d80d09a59e03c"
Unverified
Commit
ccc00515
authored
Feb 24, 2025
by
Zhonghua Deng
Committed by
GitHub
Feb 24, 2025
Browse files
[BugFix] Illegal memory access for MoE On H20 (#13693)
parent
781096e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/layers/fused_moe/fused_moe.py
vllm/model_executor/layers/fused_moe/fused_moe.py
+1
-1
No files found.
vllm/model_executor/layers/fused_moe/fused_moe.py
View file @
ccc00515
...
@@ -1271,7 +1271,7 @@ def fused_experts_impl(hidden_states: torch.Tensor,
...
@@ -1271,7 +1271,7 @@ def fused_experts_impl(hidden_states: torch.Tensor,
# so the cache size and config are already set correctly and
# so the cache size and config are already set correctly and
# do not need to be adjusted.
# do not need to be adjusted.
intermediate_cache1
=
intermediate_cache1
[:
tokens_in_chunk
]
intermediate_cache1
=
intermediate_cache1
[:
tokens_in_chunk
]
intermediate_cache2
=
intermediate_cache2
[:
tokens_in_chunk
]
intermediate_cache2
=
intermediate_cache2
[:
tokens_in_chunk
*
topk_ids
.
shape
[
1
]
]
intermediate_cache3
=
intermediate_cache3
[:
tokens_in_chunk
]
intermediate_cache3
=
intermediate_cache3
[:
tokens_in_chunk
]
config
=
get_config_func
(
tokens_in_chunk
)
config
=
get_config_func
(
tokens_in_chunk
)
...
...
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