windows resemble-enhance 安装deepspeed失败:unable to import torch

424 阅读1分钟

项目地址: 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系统上使用。

解决方法:

  1. 使用封装好的项目:
    github.com/daswer123/r…

  2. 使用whl安装:
    github.com/microsoft/D…

image.png learn.microsoft.com/en-us/windo…