复制pytorch官网的安装命令,可以尝试在后面加上 --no-cache-dir

例如:

pip install torch --no-cache-dir

就可以解决killed的问题。

参考文章

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐