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
e685ec92
Commit
e685ec92
authored
Mar 11, 2026
by
guanyu1
Browse files
rocm_hip修改
parent
472f8d5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/custom_op.py
vllm/model_executor/custom_op.py
+1
-1
No files found.
vllm/model_executor/custom_op.py
View file @
e685ec92
...
@@ -184,7 +184,7 @@ class CustomOp(nn.Module):
...
@@ -184,7 +184,7 @@ class CustomOp(nn.Module):
return
self
.
maybe_compile
(
self
.
forward_native
,
enable
=
compile_native
)
return
self
.
maybe_compile
(
self
.
forward_native
,
enable
=
compile_native
)
if
current_platform
.
is_rocm
():
if
current_platform
.
is_rocm
():
return
self
.
forward_
cuda
return
self
.
forward_
hip
elif
current_platform
.
is_cpu
():
elif
current_platform
.
is_cpu
():
return
self
.
forward_cpu
return
self
.
forward_cpu
elif
current_platform
.
is_tpu
():
elif
current_platform
.
is_tpu
():
...
...
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