解决执行 pip install deepspeed 报错: error: subprocess-exited-with-error
这个错误提示是因为在执行`pip install deepspeed`时,缺少了torch库。deepspeed依赖于torch库,需要先安装torch库,然后再安装deepspeed。\n\n可以通过以下命令安装torch库:\n\n\npip install torch\n\n\n安装完成后,再执行`pip install deepspeed`即可。
原文地址: https://www.cveoy.top/t/topic/qeSG 著作权归作者所有。请勿转载和采集!