如何在windows10安装DeepSpeed chat
先简单记录一下总体流程,有时间再来详细写一下。
首先通过git下载deepspeed。
git clone https://github.com/microsoft/DeepSpeed.git
然后打开里面的README.md
搜索里面的 ## Requiremenets,
Requirements
- PyTorch must be installed before installing DeepSpeed.
- For full feature support we recommend a version of PyTorch that is >= 1.9 and ideally the latest PyTorch stable release.
- A CUDA or ROCm compiler such as nvcc or hipcc used to compile C++/CUDA/HIP extensions.
- Specific GPUs we develop and test against are listed below, this doesn’t mean your GPU will not work if it doesn’t fall into this category it’s just DeepSpeed is most well tested on the

文章详细描述了在Windows10系统中安装DeepSpeed的流程,包括先安装PyTorch和CUDA,然后使用VisualStudio的C++buildtools。在编译过程中遇到了C++源码的错误,通过对源文件的修改解决了转换问题,使编译成功。目前作者正在测试修改后是否存在潜在问题。
最低0.47元/天 解锁文章
1991





