trunk/6a3a43fbf2d65204345bdb1789a02a4c0142d821: [Inductor] Match eager float-to-int narrowing in strict modes (#199788)
- PyTorch 近 90 天出现 1958 次
- PyTorch 近 90 天第 1932 次发版
- 上一次:同一天稍早 · trunk/6dfcc83c6095cc4d4f018e317fbbdee7aebaecc9
发生了什么
Floating-point casts to byte/char/short can disagree with CUDA eager for overflow, NaNs, and infinities. Match eager by converting through int64 for byte and int32 for char/short before narrowing. Apply this to Triton under numerics="strict_pointwise" and "strict". Add regression coverage across floating dtypes, integer inputs, numerics modes, and precision-upcast settings. Remove nine forward xfails. Assisted with…
摘要按规则整理自下方来源原文