mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-24 09:26:24 +08:00
[Bugfix][TPU] fix moe custom kernel import (#18853)
Signed-off-by: Chengji Yao <chengjiyao@google.com>
This commit is contained in:
parent
26b4fa45be
commit
8e882ffdc0
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import torch
|
import torch
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
|
import torch_xla.experimental.custom_kernel # noqa: F401
|
||||||
|
|
||||||
|
|
||||||
def _histogram(input: torch.Tensor, min: int, max: int) -> torch.Tensor:
|
def _histogram(input: torch.Tensor, min: int, max: int) -> torch.Tensor:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user