ttyang57
ttyang57
### 🐛 Describe the bug Eager PyTorch executes `x == x`, `x != x`, `torch.isfinite(x)`, and `torch.where(x == x, ...)` cleanly on `torch.float8_e5m2`. Under `torch.compile(backend="inductor")`, TorchInductor emits `tmp1 = tmp0...
### Description Calling `LigerFusedGateUpSiLUMulFunction.apply(y)` on any standard 3D LLM hidden-state tensor `(B, T, 2*H)` succeeds in forward, then always crashes PyTorch autograd during `.backward()` with a shape mismatch (`got [B*T,...
### Description `LigerGroupNormFunction` has two bugs in `group_norm_backward` (`liger_kernel/ops/group_norm.py:242-255`): 1. **4D backward truncation crash**: On any standard 4D `(N, C, H, W)` tensor with `H > 1`, `forward` succeeds and...
### Description Passing a valid non-contiguous logits tensor with `stride(-1) != 1` (for example, a transposed tensor `(V, N).t()` of shape `(N, V)`) into `LigerCrossEntropyFunction` computes an accurate forward loss...
### Description When compiling for Blackwell (`sm_100`), `TritonGPUOptimizeAccumulatorInit` silently deletes a conditional accumulator zero-reset (`arith.select`) that is observed by non-MMA operations inside the loop (`tt.store` or `arith.addf`), bypassing the guard...
### Description Compiling a valid FP8 `tl.dot` loop with `warp_specialize=True` for Hopper (`cuda:90`) triggers a null-pointer `SIGSEGV` inside `NVGPUWarpSpecialization` (`WSCodePartition.cpp:1063`), whereas `cuda:89` and `cuda:100` compile cleanly. - **Affected Versions**: `triton==3.9.0`...
### Description `tl.topk(x, K)` silently changes both the bitwidth and signedness of its return value for any `
### Description In `tl.sort` and `tl.topk`, a single floating-point `NaN` in the input tensor exponentially propagates across the bitonic compare-and-swap stages and overwrites *every* finite element in the tensor, violating...
### Description `tl.dot_scaled` with `"fp16"` compute type and E8M0 scales silently produces wrong numerical outputs (`NaN`, `+Inf`, and `0.0`) on valid, UB-free inputs whose scaled operands and dot-product outputs are...
### Description Compiling a standard FP8 `T.gemm(As, Bs, Cf, transpose_B=True)` (`float8_e4m3` or `float8_e5m2`) on Ampere (`sm_86`) succeeds with zero compile-time error or warning, emitting Ada-only `tl::mma_sync` (`cute::SM89_16x8x32_F32E4M3E4M3F32_TN`). Launching the compiled...