亲测解决unable to import torch, please install it if you want to pre-compile any deepspeed ops.
这个问题是小虎在win上下载deepspeed导致。原因是windows不支持deepspeed。问题背景unabletoimporttorch,pleaseinstallitifyouwanttopre-compileanydeepspeedops.DS_BUILD_OPS=1解决方法windows上面不能使用deepspeed,因为deepspeed用到了linux系统的libaio-dev模