[sgl-kernel Code Clean] Remove useless lightning_attention kernel (#13819)

This commit is contained in:
Xiaoyu Zhang
2025-11-24 18:26:25 +08:00
committed by GitHub
parent aeac622058
commit ecefc7904f
10 changed files with 0 additions and 1754 deletions

View File

@@ -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,
)

View File

@@ -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,