[Feature] Add a fast-topk to sgl-kernel for DeepSeek v3.2 (#11194)
Co-authored-by: Baizhou Zhang <sobereddiezhang@gmail.com>
This commit is contained in:
@@ -174,6 +174,14 @@ void copy_to_gpu_no_ce(const at::Tensor& input, at::Tensor& output);
|
||||
void concat_mla_k(torch::Tensor k, torch::Tensor k_nope, torch::Tensor k_rope);
|
||||
void concat_mla_absorb_q(at::Tensor a, at::Tensor b, at::Tensor out);
|
||||
|
||||
void fast_topk_interface(at::Tensor score, at::Tensor indices, at::Tensor lengths);
|
||||
void fast_topk_transform_interface(
|
||||
at::Tensor score,
|
||||
at::Tensor lengths,
|
||||
at::Tensor dst_page_table,
|
||||
at::Tensor src_page_table,
|
||||
at::Tensor cu_seqlens_q);
|
||||
|
||||
#ifdef USE_ROCM
|
||||
void gelu_quick(at::Tensor& out, const at::Tensor& input);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user