项目地址: github.com/resemble-ai…
报错信息:
unable to import torch, please install it if you want to pre-compile any deepspeed ops.
DS_BUILD_OPS=1
问题原因:
deepspeed 不支持 windows。
因为deepspeed用到了linux系统的libaio-dev模块。所以截至目前只能在linux系统上使用。
解决方法:
-
使用封装好的项目:
github.com/daswer123/r… -
使用whl安装:
github.com/microsoft/D…