pytorch
c681c52e - [inductor] fix TritonTemplateCaller.__str__ (#97578)

Commit
1 year ago
[inductor] fix TritonTemplateCaller.__str__ (#97578) We remove TritonTemplateCaller.to_callable previously. But this method is still used in `TritonTemplateCaller.__str__` . The to_callable method in the base class will be used and raise an exception. This PR fix TritonTemplateCaller.__str__ to return the string representation without calling to_callable. Pull Request resolved: https://github.com/pytorch/pytorch/pull/97578 Approved by: https://github.com/nmacchioni, https://github.com/ngimel
Author
Committer
Parents
Loading