forked from opendatahub-io/distributed-workloads
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into rhoai-2.14
- Loading branch information
Showing
9 changed files
with
1,940 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
accelerate==0.31.0 | ||
awscliv2==2.3.0 | ||
datasets==2.19.2 | ||
deepspeed==0.14.4 | ||
# Flash Attention 2 requires PyTorch to be installed first | ||
# See https://github.com/Dao-AILab/flash-attention/issues/453 | ||
https://github.com/Dao-AILab/flash-attention/releases/download/v2.6.3/flash_attn-2.6.3+cu123torch2.3cxx11abiFALSE-cp39-cp39-linux_x86_64.whl | ||
peft==0.11.1 | ||
ray[train]==2.23.0 | ||
torch==2.3.1 | ||
transformers==4.44.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
FROM quay.io/rhoai/ray:2.23.0-py39-cu121 | ||
FROM quay.io/rhoai/ray:2.35.0-py39-cu121 | ||
|
||
RUN python3 -m pip install torch==2.3.1 | ||
# Install PyTorch | ||
RUN python3 -m pip install torch==2.4.0 | ||
|
||
# Install Flash Attention | ||
RUN python3 -m pip install wheel ninja | ||
RUN python3 -m pip install flash-attn==2.6.3 --no-build-isolation | ||
|
||
# Install DeepSpeed | ||
RUN DS_ACCELERATOR=cuda DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install deepspeed==0.15.0 --global-option="build_ext" --global-option="-j8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters