duplicate symbols from autoregistration (torch.foo vs. torch.Tensor.foo) #1140
Labels
bug
Something isn't working
dynamo+thunder
for things that could be applicable to the dynamo+thunder frontend
Autoregistration registers duplicate symbols under the same name, which is not ideal, and we should go the same way as for manually registered symbols (see below).
Repro:
By contrast, manually registered functions register both with a single symbol:
lightning-thunder/thunder/torch/__init__.py
Lines 251 to 256 in 3770bf0
(credit for discovery and analysis: @k223kim , thank you)
The text was updated successfully, but these errors were encountered: