Hey, I was experiencing a similar issue (it seems to occur when re-importing torch by say running a script twice). I made sure my Spyder was up to date and submitted an issue here: https://github.com/spyder-ide/spyder/issues/12701 57 . Thanks and best.