Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion benchmarks/deepcompile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ We tested the scripts with Python 3.10.12 and CUDA 12.4.
In addition, you need to install the following:

- PyTorch v2.6.0
- For the Mixtral model, we recommend using PyTorch v2.7.0 (currently the final release candidate) due to an issue with `torch.where`.
- See details [here](https://github.com/pytorch/pytorch/issues/149278)
- DeepSpeed (v0.16.6 or newer)
- As DeepCompile is under active development, we recommend using the latest version or installing from source.
- transformers
- accelerate
- datasets v3.1
Expand All @@ -24,6 +27,12 @@ pip3 install transformers datasets==3.1 accelerate
# Install DeepSpeed
pip install deepspeed

# Or install the latest revision of DeepSpeed from source
# git clone https://github.com/deepspeedai/DeepSpeed
# cd DeepSpeed
# git pip install .
# cd ..

# Clone this repository
git clone https://github.com/deepspeedai/DeepSpeedExamples
cd benchmarks/deepcompile
Expand Down Expand Up @@ -108,7 +117,7 @@ Here are some example charts:
To enable DeepCompile, simply set "deepcompile": true in the compile section of your DeepSpeed configuration JSON:

```json
{
{
"zero_optimization": {
"stage": 3,
Expand Down