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
08fb5587
Unverified
Commit
08fb5587
authored
Apr 30, 2025
by
Gregory Shtrasberg
Committed by
GitHub
Apr 30, 2025
Browse files
[Bugfix][ROCm] Fix import error on ROCm (#17495)
Signed-off-by:
Gregory Shtrasberg
<
Gregory.Shtrasberg@amd.com
>
parent
dbc18e78
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/rotary_embedding.py
vllm/model_executor/layers/rotary_embedding.py
+1
-1
No files found.
vllm/model_executor/layers/rotary_embedding.py
View file @
08fb5587
...
@@ -32,7 +32,7 @@ from transformers import PretrainedConfig
...
@@ -32,7 +32,7 @@ from transformers import PretrainedConfig
from
vllm.model_executor.custom_op
import
CustomOp
from
vllm.model_executor.custom_op
import
CustomOp
from
vllm.platforms
import
current_platform
from
vllm.platforms
import
current_platform
if
current_platform
.
is_cuda
_alike
():
if
current_platform
.
is_cuda
():
from
vllm.vllm_flash_attn.layers.rotary
import
apply_rotary_emb
from
vllm.vllm_flash_attn.layers.rotary
import
apply_rotary_emb
...
...
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