-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
007ddbe
commit 943f67e
Showing
1 changed file
with
6 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,20 +5,13 @@ echo "HABANA_VISIBLE_DEVICES=${HABANA_VISIBLE_DEVICES}" | |
echo "HABANA_VISIBLE_MODULES=${HABANA_VISIBLE_MODULES}" | ||
|
||
# Install Accelerate and DeepSpeed | ||
git clone https://github.com/huggingface/accelerate.git --branch hpu-support --depth 1 | ||
git clone https://github.com/huggingface/accelerate.git | ||
cd accelerate | ||
pip install -e .[testing] git+https://github.com/HabanaAI/[email protected] | ||
|
||
# Install Rust and build safetensors | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
. "$HOME/.cargo/env" | ||
rustup update | ||
git clone https://github.com/huggingface/safetensors | ||
cd safetensors | ||
git checkout fa833511664338bfc927fc02653ddb7d38d40be9 | ||
pip install setuptools_rust | ||
pip install -e bindings/python | ||
cd .. | ||
git checkout hpu-support | ||
git pull | ||
pip install -e .[testing] | ||
pip install git+https://github.com/HabanaAI/[email protected] | ||
|
||
|
||
# Set environment variables | ||
export PT_ENABLE_INT64_SUPPORT=1 | ||
|
@@ -39,7 +32,6 @@ if [ $? -ne 0 ]; then | |
exit 1 | ||
fi | ||
|
||
|
||
echo "Running Core tests" | ||
make test_core | ||
if [ $? -ne 0 ]; then | ||
|