Reference
โฃ
ย
step-by-step
1. TPU ๋์ฐ๊ธฐ
์ด๋ฒ๊ธ์ v4-8 ๊ธฐ์ค
2. jetstream ๋ฐ๊ณ ์ค์น
git clone https://github.com/google/jetstream-pytorch.git cd jetstream-pytorch git checkout jetstream-v0.2.3 source install_everything.sh
- ์ถ๊ฐ๋ก ์ค์นํ๋ฉด ๋ ๋น ๋ฅธ ๋ค์ด๋ก๋
pip install hf_transfer echo 'export PATH=~/.local/bin:$PATH' >> ~/.bashrc echo 'export HF_HUB_ENABLE_HF_TRANSFER=1' >> ~/.bashrc source .bashrc
3. HF ๋ก๊ทธ์ธ & ๋ชจ๋ธ ๋ค์ด๋ก๋
pip install -U "huggingface_hub[cli]" huggingface-cli login huggingface-cli download google/gemma-7b-pytorch --local-dir $input_ckpt_dir