Fix benchmark import for should_use_tensor_core (#17232)
This commit is contained in:
committed by
GitHub
parent
4229de3b13
commit
b0701f02b3
@@ -6,8 +6,8 @@ import torch
|
||||
import torch.utils.benchmark as benchmark
|
||||
from flashinfer import BatchDecodeWithPagedKVCacheWrapper
|
||||
|
||||
from sglang.srt.layers.attention.flashinfer_backend import should_use_tensor_core
|
||||
from sglang.srt.layers.attention.triton_ops.decode_attention import decode_attention_fwd
|
||||
from sglang.srt.utils import should_use_tensor_core
|
||||
|
||||
|
||||
def benchmark_forward(
|
||||
|
||||
Reference in New Issue
Block a user