Skip to content

Commit

Permalink
xpu: disable punica kernels for XPU (#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpinDale authored Dec 4, 2024
1 parent 1405051 commit 3696008
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aphrodite/lora/punica.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@

import torch

from aphrodite.common.utils import is_xpu
from aphrodite.triton_utils import HAS_TRITON

if HAS_TRITON:
if HAS_TRITON and not is_xpu():
from aphrodite.lora.ops.bgmv_expand import bgmv_expand
from aphrodite.lora.ops.bgmv_expand_slice import bgmv_expand_slice
from aphrodite.lora.ops.bgmv_shrink import bgmv_shrink
Expand Down

0 comments on commit 3696008

Please sign in to comment.