[Kernel] Relocate vendored fla and mamba kernel trees to sglang.kernels (RFC #29630, Phase 2.5, 7/7) (#30795)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
23f2b77d82
commit
4aadf94146
@@ -29,6 +29,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "python")
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
|
||||
from sglang.kernels.ops.attention.fla.kda import chunk_kda, fused_recurrent_kda
|
||||
from sglang.kernels.ops.attention.linear.kda_blackwell import prepare_metadata
|
||||
from sglang.kernels.ops.attention.linear.kda_blackwell.kernel_h import (
|
||||
kda_h_cutedsl,
|
||||
@@ -42,7 +43,6 @@ from sglang.kernels.ops.attention.linear.kda_blackwell.kernel_o import (
|
||||
from sglang.kernels.ops.attention.linear.kda_blackwell.prologue import (
|
||||
kda_prologue,
|
||||
)
|
||||
from sglang.srt.layers.attention.fla.kda import chunk_kda, fused_recurrent_kda
|
||||
|
||||
BT = 64 # chunk size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user