pytorch
ca9f55f7 - misc. fixes to constraints warnings and errors (#100745)

Commit
1 year ago
misc. fixes to constraints warnings and errors (#100745) 1. Move constraint violation error after constraint discovery warning, and attach them when we have both. 2. Remove verbose internal traceback for relevant guard in constraint violation error. 3. Remove mention of `assume_static_by_default` in specialization warning. 4. Fix indenting of `specializations` body and make it assert individually instead of returning a conjunction. 5. Remove return annotation on signature used in generated `specializations` and `specify_constraints` functions. 6. Split `&` ranges because we don't support them yet. Differential Revision: [D45619852](https://our.internmc.facebook.com/intern/diff/D45619852/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/100745 Approved by: https://github.com/tugsbayasgalan
Author
Committer
Parents
Loading