Skip to content
Closed
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
2 changes: 2 additions & 0 deletions vllm/model_executor/kernels/linear/scaled_mm/flashinfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ def _dynamic_flashinfer_deepgemm_blockscale_gemm_impl(
Returns:
Output tensor of shape (batch_size, output_dim) in bfloat16 format
"""
if input.is_cuda:
torch.cuda.set_device(input.device)

def run_flashinfer_deepgemm_swapAB(
input: torch.Tensor,
Expand Down
Loading