remove decoder_num_blocks_device memset (#5982)

This commit is contained in:
sunxin
2026-01-10 21:22:06 +08:00
committed by GitHub
parent b8d9daa785
commit 17ef3920f3
@@ -368,8 +368,6 @@ void GetBlockShapeAndSplitKVBlock(
0,
decoder_batch_ele_num * sizeof(int32_t),
stream));
CUDA_CHECK(cudaMemsetAsync(
decoder_num_blocks_device.data<int>(), 0, sizeof(int32_t), stream));
split_q_block<<<1, 32, 0, stream>>>(
seq_lens_this_time.data<int>(),