This pyi file solves most built-in functions autocomplete problem. Many thanks to tom. However, when I try to type torch.nn, Pycharm shows warning ‘cannot find reference nn in __init__.pyi’. It seems this pyi file shadows all package of torch like torch.nn and torch.autograd. Is there any way to solve this? I will be very appreciated with that!