Update Triton extend backend interface (#3309)
This commit is contained in:
@@ -17,12 +17,10 @@ class DoubleSparseAttnBackend(AttentionBackend):
|
||||
def __init__(self, model_runner: ModelRunner):
|
||||
# Lazy import to avoid the initialization of cuda context
|
||||
from sglang.srt.layers.attention.triton_ops.double_sparsity_attention import (
|
||||
extend_attention_fwd,
|
||||
flash_decode_attention_fwd,
|
||||
flash_decode_sparse_attention_fwd,
|
||||
)
|
||||
from sglang.srt.layers.attention.triton_ops.extend_attention import (
|
||||
extend_attention_fwd,
|
||||
)
|
||||
|
||||
super().__init__()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user