增加dcu_alloc_decode_kernel实现
This commit is contained in:
@@ -538,6 +538,15 @@ void segment_packbits(
|
||||
/*
|
||||
* From csrc/kvcacheio
|
||||
*/
|
||||
void dcu_alloc_decode_kernel(
|
||||
const at::Tensor seq_lens_ptr,
|
||||
const at::Tensor last_loc_ptr,
|
||||
const at::Tensor free_page_ptr,
|
||||
at::Tensor out_indices,
|
||||
int64_t bs,
|
||||
int64_t bs_upper,
|
||||
int64_t page_size);
|
||||
|
||||
void transfer_kv_per_layer(
|
||||
const at::Tensor src_k,
|
||||
at::Tensor dst_k,
|
||||
|
||||
Reference in New Issue
Block a user