mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Previously, if someone wrote a python abstract impl but didn't import the module it is in, then we would raise an error message suggesting that the user needs to add an abstract impl for the operator. In addition to this, we suggest that the user try importing the module associated with the operator in the pystub (it's not guaranteed that an abstract impl does exist) to avoid confusion. Test Plan: - new test Pull Request resolved: https://github.com/pytorch/pytorch/pull/117770 Approved by: https://github.com/ydwu4, https://github.com/williamwen42 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| model.py | ||
| my_custom_ops.py | ||
| my_custom_ops2.py | ||
| op.cpp | ||
| op.h | ||
| pointwise.py | ||
| test_custom_ops.cpp | ||
| test_custom_ops.py | ||