Skip to content
代码片段 群组 项目
未验证 提交 f763b93d 编辑于 作者: Xie Zejian's avatar Xie Zejian 提交者: GitHub
浏览文件

add reproducible compilation environment (#3943)


* add reproducible compilation environment

* fix ci

* fix typo for formatting check

* Fix casing for format

---------

Co-authored-by: default avatarOlatunji Ruwase <olruwase@microsoft.com>
Co-authored-by: default avatarMichael Wyatt <mrwyattii@gmail.com>
Co-authored-by: default avatarLogan Adams <114770087+loadams@users.noreply.github.com>
Co-authored-by: default avatarLogan Adams <loadams@microsoft.com>
上级 8a63754b
无相关合并请求
......@@ -123,6 +123,16 @@ fail. Therefore, if you need to you can override the default location with the h
TORCH_EXTENSIONS_DIR=./torch-extensions deepspeed ...
```
### Conda environment for building from source
If you encounter difficulties during compilation using the default system environment, you can try the conda environment provided, which includes the necessary compilation toolchain and PyTorch.
```bash
conda env create -n deepspeed -f environment.yml --force
```
and try above install commands after activating it.
## Building for the correct architectures
If you're getting the following error:
......
channels:
- nvidia/label/cuda-11.8.0
- pytorch # or pytorch-nightly
- conda-forge
dependencies:
- pytorch
- torchvision
- torchaudio
- cuda
- pytorch-cuda=11.8
- compilers
- sysroot_linux-64==2.17
- gcc==11.4
- ninja
- py-cpuinfo
- libaio
- ca-certificates
- certifi
- openssl
- python=3.10
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册