Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix small bug where sequence length is not passed into attention class (
#21) * fix small bug where sequence length is not passed into attention class * fix bug with mask and half values, as well as masking in dense attention * make sure install deepspeed with pip sudo This allows `gpt3small` to run but does not fix the problems with sparse attention. See #22
- Loading branch information
1 parent
ef9369f
commit 7043aac
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
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,3 +1,3 @@ | ||
sudo apt-get -y install llvm-9-dev cmake | ||
git clone https://github.com/microsoft/DeepSpeed.git /tmp/Deepspeed | ||
cd /tmp/Deepspeed && DS_BUILD_SPARSE_ATTN=1 ./install.sh | ||
cd /tmp/Deepspeed && DS_BUILD_SPARSE_ATTN=1 ./install.sh -s |