mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-07-13 10:56:58 +00:00
[sgl-kernel Code Clean] Remove useless lightning_attention kernel (#13819)
This commit is contained in:
@@ -13,7 +13,6 @@ from sgl_kernel.allreduce import *
|
||||
from sgl_kernel.attention import (
|
||||
cutlass_mla_decode,
|
||||
cutlass_mla_get_workspace_size,
|
||||
lightning_attention_decode,
|
||||
merge_state,
|
||||
merge_state_v2,
|
||||
)
|
||||
|
||||
@@ -3,12 +3,6 @@ from typing import Optional, Tuple
|
||||
import torch
|
||||
|
||||
|
||||
def lightning_attention_decode(q, k, v, past_kv, slope, output, new_kv):
|
||||
torch.ops.sgl_kernel.lightning_attention_decode.default(
|
||||
q, k, v, past_kv, slope, output, new_kv
|
||||
)
|
||||
|
||||
|
||||
def merge_state(
|
||||
v_a: torch.Tensor,
|
||||
s_a: torch.Tensor,
|
||||
|
||||
Reference in New Issue
Block a user