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
8e882ffd
Unverified
Commit
8e882ffd
authored
May 28, 2025
by
Chengji Yao
Committed by
GitHub
May 28, 2025
Browse files
[Bugfix][TPU] fix moe custom kernel import (#18853)
Signed-off-by:
Chengji Yao
<
chengjiyao@google.com
>
parent
26b4fa45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/model_executor/layers/fused_moe/moe_pallas.py
vllm/model_executor/layers/fused_moe/moe_pallas.py
+1
-0
No files found.
vllm/model_executor/layers/fused_moe/moe_pallas.py
View file @
8e882ffd
...
@@ -2,6 +2,7 @@
...
@@ -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
:
...
...
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