builtin-pb

Results issues of builtin-pb

**Describe the bug** **Summary.** The exported Triton `softmax(input, mask)` subtracts the row maximum before adding the mask. If the mask suppresses that maximum and every remaining logit is far below...

**Summary.** `NVVM::MBarrierTryWaitParityOp::getPtx()` lowers `nvvm.mbarrier.try_wait.parity` to a wait loop that exits with `@P1 bra.uni DONE`, asserting that `P1` is the same in every active thread of the warp, but nothing guarantees...

mlir

### Describe the bug **Summary.** When a warp-specialized kernel sets `worker_num_regs` and a warpgroup holds more than one partition, the warps of that warpgroup execute different `setmaxnreg` instructions, although PTX...

### Describe the bug Triton lowers mbarrier waits to loops that branch with `bra.uni` on each thread's own wait result. The `ttng.wait_barrier` lowering ([BarrierOpToLLVM.cpp L340–L385](https://github.com/triton-lang/triton/blob/0d4e0a0ceae18cecacf582b9c6f557847a772bdf/third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/BarrierOpToLLVM.cpp#L340-L385)) emits, for sm_90 and later:...

### Describe the bug **Summary.** With `tl.range(..., flatten=True)`, the kernel below returns wrong integers on Triton 3.5.1, 3.8.0 and main (`0d4e0a0c`): a value carried from two outer iterations back is...

### Describe the bug **Summary.** Compiling for Blackwell (`cuda:100` or `cuda:103`) stops with an internal assertion in `getPartitionOutputs`, during `NVWSHoistTmemStore`, when the outer tile loop uses `tl.range(..., warp_specialize=True)`, the inner...

### Describe the bug **Summary.** `ProxyFenceInsertion` (`lib/Dialect/TritonNvidiaGPU/Transforms/ProxyFenceInsertion.cpp`) inserts `fence.proxy.async` when a generic shared-memory access is followed by an async-proxy access to an overlapping buffer, but checks async accesses only against...

### System Info Source analysis of `cpp/tensorrt_llm/kernels/` (`helixAllToAll.cu`, `ll128Proto.cuh`, `cudaAsyncOps.cuh`) at main `b031dbe`; these files are unchanged since `a1f562a`. Hopper or later (bulk async copies); no runtime environment involved. ###...

Customized kernels

**Summary.** `torch.ops.trtllm.calculate_nvfp4_global_scale` returns wrong scales for many tokens when the hidden size is above 8192 and not a multiple of 8192, once a CTA handles more than one token (for...

Customized kernels

**Summary.** Two bugs in the GroupRMSNorm kernels make `torch.ops.trtllm.group_rms_norm_base`, `group_rms_norm_heuristic` and `group_rms_norm_large_batch` write wrong outputs: a race on the shared-memory initialisation inflates outputs, and the large-batch kernel never normalises input...

Customized kernels