Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tensorrt_llm/_torch/custom_ops/torch_custom_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ def fused_moe(
(2, 0, ((0, ), lambda x: x)),
))

min_latency_tensor = torch.empty(1) if min_latency_mode else torch.empty(0)
# TODO: set min_latency_mode always to False due to the error in the moe_kernels
min_latency_tensor = torch.empty(0)

# allocate workspace for profiling
moe_runner = MoERunner(
x_dtype=input.dtype,
Expand Down