pytorch
021d2676 - update aten op overload to not use `from` to avoid compile errors (#89797)

Commit
1 year ago
update aten op overload to not use `from` to avoid compile errors (#89797) Fix for https://github.com/pytorch/pytorch/issues/93591 by changing `random_.from` to `random_.from_int`. The previous signature would fail when printed in an fx graph, because `from` is a reserved python keyword. This change affects serialization but I have added an adapter. Pull Request resolved: https://github.com/pytorch/pytorch/pull/89797 Approved by: https://github.com/tugsbayasgalan
Author
Committer
Parents
Loading