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
a2e9ebe9
Unverified
Commit
a2e9ebe9
authored
Nov 20, 2025
by
Fanli Lin
Committed by
GitHub
Nov 20, 2025
Browse files
[BugFix] Fix flash_attn import in `siglip2navit.py` (#29082)
Signed-off-by:
Fanli Lin
<
fanli.lin@intel.com
>
parent
93c8672c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/siglip2navit.py
vllm/model_executor/models/siglip2navit.py
+1
-1
No files found.
vllm/model_executor/models/siglip2navit.py
View file @
a2e9ebe9
...
...
@@ -191,7 +191,7 @@ def apply_rotary_pos_emb(
cos
=
cos
.
chunk
(
2
,
dim
=-
1
)[
0
].
contiguous
()
sin
=
sin
.
chunk
(
2
,
dim
=-
1
)[
0
].
contiguous
()
if
is_flash_attn_backend
and
not
current_platform
.
is_xpu
():
from
flash_attn.layers.rotary
import
apply_rotary_emb
from
vllm.vllm_
flash_attn.layers.rotary
import
apply_rotary_emb
apply_rotary_emb_func
=
apply_rotary_emb
else
:
...
...
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