torch/_refs/__init__.py is not autoreloadable in bento / jupyter notebook #125183
Labels
module: library
Related to torch.library (for registering ops from Python)
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
When we try to reload this file, it fails with this exception:
The proximal cause seems to be that we are trying to reregister all of the operators, but the old registrations didn't get cleared on unload.
cc @anjali411 @zou3519
Versions
main
The text was updated successfully, but these errors were encountered: