https://blog.csdn.net/qq_38677322/article/details/109696077
參考了上面的博客,關鍵是找到lock文件的位置並把它刪掉。
不會linux的調試,於是用了笨方法找到了文件的位置,一般是在/home/用戶名/.cache/torch_extensions/中
在custom_ops中找到了lock相關的代碼

https://blog.csdn.net/qq_38677322/article/details/109696077
參考了上面的博客,關鍵是找到lock文件的位置並把它刪掉。
不會linux的調試,於是用了笨方法找到了文件的位置,一般是在/home/用戶名/.cache/torch_extensions/中
在custom_ops中找到了lock相關的代碼

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。