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
b8860680
Unverified
Commit
b8860680
authored
Nov 11, 2025
by
Fanli Lin
Committed by
GitHub
Nov 11, 2025
Browse files
[BugFix] Fix RuntimeError in PixtralHFAttention on CPU/XPU (#28444)
Signed-off-by:
Lin, Fanli
<
fanli.lin@intel.com
>
parent
a90ad7d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/pixtral.py
vllm/model_executor/models/pixtral.py
+1
-1
No files found.
vllm/model_executor/models/pixtral.py
View file @
b8860680
...
@@ -1109,7 +1109,7 @@ class PixtralHFAttention(nn.Module):
...
@@ -1109,7 +1109,7 @@ class PixtralHFAttention(nn.Module):
)
)
out
=
out
.
transpose
(
1
,
2
)
out
=
out
.
transpose
(
1
,
2
)
out
=
out
.
view
(
batch
,
patches
,
self
.
n_heads
*
self
.
head_dim
)
out
=
out
.
reshape
(
batch
,
patches
,
self
.
n_heads
*
self
.
head_dim
)
attn_output
,
_
=
self
.
o_proj
(
out
)
attn_output
,
_
=
self
.
o_proj
(
out
)
return
attn_output
,
None
return
attn_output
,
None
...
...
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