I verified my PyCharm interpreter, it is indeed version 1.0.0 for pytorch. Interestingly, when running the same code on Jupyter, the interpreter manages to correctly import torch.cat from whatever source file it’s located in…