ttyang57
ttyang57
Thanks for looking into this @Shiv-61! The proposed approach—upcasting `float8_e5m2` in `needs_upcast_to_float32` / `TritonOverrides` and adding coverage in `test/inductor/test_fp8.py`—looks great to me. Note that adding `float8_e5m2` to `needs_upcast_to_float32` may also...
Closing as accidental duplicate of #12890.
This is distinct from #194347, which targets the CPU Inductor backend (`oncall: cpu inductor`) under default settings. #206903 reproduces on CUDA across `float32`/`float16`/`bfloat16`/`float64` even with `strict_signed_zero=True` and `numerics="strict"`, because `fmax`/`fmin`...
Confirmed duplicate of #203492; closing.
Thanks for reproducing this @Mramaran! Checking `python/triton/language/core.py` (`dot_scaled` docstring), `lib/Dialect/Triton/IR/Ops.cpp` (`DotScaledOp::verify`), and `lib/Dialect/TritonGPU/Transforms/DecomposeScaledBlocked.cpp`: - Both `TRITON_INTERPRET=1` and the generic NVIDIA lowering (`DecomposeScaledBlocked::scaleArg` on `sm_80`/`sm_86`/`sm_90`/`sm_100`) accept and actively apply non-null `lhs_scale`...