Skip to content

Commit 7c4ff34

Browse files
committed
fix typo
Signed-off-by: Cindy Zhang <cindyzyx9@gmail.com>
1 parent 807813a commit 7c4ff34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrc/renorm.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void top_p_renorm_probs(TensorView probs, TensorView renorm_probs,
3535
cudaError_t status = sampling::TopPRenormProb<float>(
3636
static_cast<float*>(probs->data), static_cast<float*>(renorm_probs->data),
3737
has_top_p_arr ? static_cast<float*>(maybe_top_p_arr.value()->data) : nullptr, batch_size,
38-
top_p_val, vocab_size, probs_strides[0], stream);
38+
top_p_val, vocab_size, probs->strides[0], stream);
3939
TVM_FFI_ICHECK(status == cudaSuccess)
4040
<< "TopPRenormProb failed with error code " << cudaGetErrorString(status);
4141
}

0 commit comments

Comments
 (0)