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
6e4658c7
Unverified
Commit
6e4658c7
authored
Aug 21, 2024
by
Kunshang Ji
Committed by
GitHub
Aug 20, 2024
Browse files
[Intel GPU] fix xpu not support punica kernel (which use torch.library.custom_op) (#7685)
parent
3b682179
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/lora/punica.py
vllm/lora/punica.py
+3
-1
No files found.
vllm/lora/punica.py
View file @
6e4658c7
...
...
@@ -10,8 +10,10 @@ from typing import TYPE_CHECKING, Callable, List, Optional, Tuple, Union
import
torch
from
vllm.triton_utils
import
HAS_TRITON
from
vllm.utils
import
is_xpu
if
HAS_TRITON
:
# FIXME: xpu path doesn't support torch.library.custom_op
if
HAS_TRITON
and
not
is_xpu
():
from
vllm.lora.ops.bgmv_expand
import
bgmv_expand
from
vllm.lora.ops.bgmv_expand_slice
import
bgmv_expand_slice
from
vllm.lora.ops.bgmv_shrink
import
bgmv_shrink
...
...
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