Srijan Keshri
Srijan Keshri
### System Info `main` at `da9a9ce` (1.9.4), candle backend, CPU. Model: `Qwen/Qwen3-Embedding-0.6B`. ### Reproduction Send a raw request with two inputs of different lengths, for example `["Hi", "What is Deep...
Both pooling kernels load tail blocks with `mask=xmask` but no `other` (`spas_sage_attn/utils.py:181,224`); the fused kernel clears padded lanes only when `fuse_mean=True`. Triton leaves the other masked lanes undefined, and they...
`launch_fused_ln`, `launch_fused_residual_ln`, `launch_fused_residual_ln_store_pre_ln_res` (`layer_norm.cu`) and `launch_rms_norm` (`rms_norm.cu`) set `groups_per_block = min(rows, max)` and then divide by it. With `rows == 0` this is an integer divide by zero on the...
**Describe the bug** `_weighted_silu_mul_bounded_kernel` uses 32-bit offsets for its input loads. The address wraps when an input row starts at element `2^31`; the read then fails with an illegal memory...
**Describe the bug** In `python/pycute/layout.py`, `logical_product` dispatches an integer tiler to `logical_divide`, so it returns a divide result under a product name. The `Layout`-wrapped form is unaffected, so the two...
When the KV budget is exceeded, `evict_if_needed` drops the victim's KV cache and cuts `seq.tokens` back to the prompt (`crane-serve/src/engine/mod.rs:746`). The request's `TokenOutputStream` in `token_streams` is not reset, so it...
After #194 and #199, Qwen3.5-0.8B decode on my RTX 2000 Ada laptop is about 100-108 tok/s and still issues ~650 kernel launches per token (Nsight, Q8_0 GGUF). At this size...
Follow-up to #194, as suggested in https://github.com/lucasjinreal/Crane/pull/194#issuecomment-6330795101: on CUDA, GGUF Qwen3.5 decodes with FP32 activations, so it skips the BF16-only fused conv / Q-K-V prep / gated-norm kernels and uses...
With `temperature: 0` and no penalties, `sample` in `crane-serve/src/engine/sampling.rs` takes the `gpu_argmax` fast path, which has two bugs: 1. GGUF logits are F32, but `gpu_argmax` only accepts BF16, so the...
## Describe the bug `_block_rms_norm_forward_kernel` leaves `tl.program_id(0)` as int32 before multiplying it by `BLOCK_ROW` and row strides. This is the default RMSNorm forward path when `n_cols = 32768`. For `n_cols=256`,...