pytorch
ea4cda52 - fix inductor clamp decomp to correctly type promote and avoid wrappin… (#94157)

Commit
1 year ago
fix inductor clamp decomp to correctly type promote and avoid wrappin… (#94157) …g scalars Fixes #93784, #93225 Ideally, clamp decomp should live in refs or _decomp, but this reversed our current decomposition flow of `clamp_min` -> `clamp` -> lowering, so to keep changes to minimum, I'm leaving it in inductor for now. Pull Request resolved: https://github.com/pytorch/pytorch/pull/94157 Approved by: https://github.com/ezyang
Author
Natalia Gimelshein
Committer
Parents
Loading