-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from athewsey/feat/py310
Support Python 3.10 for SageMaker Studio
- Loading branch information
Showing
6 changed files
with
1,762 additions
and
1,158 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,23 +1,24 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# this scripts creates a local directory for running FMBench | ||
# without any s3 dependency and copies all relevant files | ||
# for public FMBench content | ||
FMBENCH_READ_DIR=/tmp/fmbench-read | ||
FMBENCH_WRITE_DIR=/tmp/fmbench-write | ||
BUCKET=aws-blogs-artifacts-public | ||
|
||
mkdir $FMBENCH_READ_DIR | ||
mkdir -p $FMBENCH_WRITE_DIR | ||
mkdir -p $FMBENCH_READ_DIR/tokenizer | ||
mkdir -p $FMBENCH_READ_DIR/llama2_tokenizer | ||
mkdir -p $FMBENCH_READ_DIR/llama3_tokenizer | ||
mkdir -p $FMBENCH_READ_DIR/mistral_tokenizer | ||
wget https://${BUCKET}.s3.amazonaws.com/artifacts/ML-FMBT/manifest.txt -P ${FMBENCH_READ_DIR}/ | ||
curl --output-dir ${FMBENCH_READ_DIR}/ -O https://${BUCKET}.s3.amazonaws.com/artifacts/ML-FMBT/manifest.txt | ||
|
||
# copy each file of the public content for FMBench | ||
for i in `cat ${FMBENCH_READ_DIR}/manifest.txt` | ||
do | ||
dir_path=`dirname $i` | ||
mkdir -p ${FMBENCH_READ_DIR}/$dir_path | ||
wget https://${BUCKET}.s3.amazonaws.com/artifacts/ML-FMBT/$i -P ${FMBENCH_READ_DIR}/$dir_path | ||
curl --output-dir ${FMBENCH_READ_DIR}/$dir_path -O https://${BUCKET}.s3.amazonaws.com/artifacts/ML-FMBT/$i | ||
done | ||
|
||
|
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
Oops, something went wrong.