Skip to content

Commit 69ebab8

Browse files
committed
fix typo
1 parent 39776d5 commit 69ebab8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

csrc/mamba/causal_conv1d/causal_conv1d.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void causal_conv1d_fwd(const at::Tensor &x, const at::Tensor &weight,
100100
const c10::optional<at::Tensor> &has_initial_state,
101101
bool silu_activation,
102102
// used to identify padding entries if cache_indices provided
103-
// incase of padding, the kernel will return early
103+
// in case of padding, the kernel will return early
104104
int64_t pad_slot_id) {
105105
auto input_type = x.scalar_type();
106106
auto weight_type = weight.scalar_type();
@@ -199,7 +199,7 @@ void causal_conv1d_update(const at::Tensor &x,
199199
const c10::optional<at::Tensor> &cache_seqlens_,
200200
const c10::optional<at::Tensor> &conv_state_indices_,
201201
// used to identify padding entries if cache_indices provided
202-
// incase of padding, the kernel will return early
202+
// in case of padding, the kernel will return early
203203
int64_t pad_slot_id) {
204204
auto input_type = x.scalar_type();
205205
auto weight_type = weight.scalar_type();

csrc/mamba/mamba_ssm/selective_scan_fwd.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ void selective_scan_fwd(const torch::Tensor &u, const torch::Tensor &delta,
513513
const c10::optional<torch::Tensor> &has_initial_state,
514514
const torch::Tensor &ssm_states,
515515
// used to identify padding entries if cache_indices provided
516-
// incase of padding, the kernel will return early
516+
// in case of padding, the kernel will return early
517517
int64_t pad_slot_id) {
518518
auto input_type = u.scalar_type();
519519
auto weight_type = A.scalar_type();

0 commit comments

Comments
 (0)