Skip to content

Update README to run sudo apt-get update and specify directories #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion inference/trillium/JetStream-Maxtext/Llama2-7B/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ git checkout main
## Step 2: Setup JetStream and MaxText
```bash
cd ~
sudo apt-get update
sudo apt install python3.10-venv
python -m venv venv-maxtext
source venv-maxtext/bin/activate
Expand All @@ -36,17 +37,18 @@ bash setup.sh
```bash
# Go to https://llama.meta.com/llama-downloads/ and fill out the form
git clone https://github.com/meta-llama/llama
cd ~/maxtext/llama
bash download.sh # When prompted, choose 7B. This should create a directory llama-2-7b inside the llama directory


export CHKPT_BUCKET=gs://...
export MAXTEXT_BUCKET_SCANNED=gs://...
export MAXTEXT_BUCKET_UNSCANNED=gs://...
cd ~/maxtext
gsutil cp -r llama/llama-2-7b/* ${CHKPT_BUCKET}


# Checkpoint conversion
cd maxtext
bash ../JetStream/jetstream/tools/maxtext/model_ckpt_conversion.sh llama2 7b ${CHKPT_BUCKET} ${MAXTEXT_BUCKET_SCANNED} ${MAXTEXT_BUCKET_UNSCANNED}

# The path to the unscanned checkpoint should be set by the script, but set it explicitly if it hasn't
Expand Down