Skip to content

Commit ac1d9b0

Browse files
committed
model_ckpt_conversion: use python module, enable gcloud checkpoint downloading
1 parent 1e1e9d4 commit ac1d9b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

jetstream/tools/maxtext/model_ckpt_conversion.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ else
6565
pip install torch --index-url https://download.pytorch.org/whl/cpu
6666
# llama_or_mistral_ckpt.py requires local path, so we need to copy the checkpoint from CHKPT_BUCKET to local.
6767
tmp_ckpt_path="/tmp/"
68-
#gcloud storage cp -r ${CHKPT_BUCKET} ${tmp_ckpt_path}
68+
gcloud storage cp -r ${CHKPT_BUCKET} ${tmp_ckpt_path}
6969

7070
path_parts=(${CHKPT_BUCKET//\// })
7171
directory_substring=${path_parts[-1]}
72-
CONVERT_CKPT_SCRIPT="llama_or_mistral_ckpt.py"
72+
CONVERT_CKPT_SCRIPT="llama_or_mistral_ckpt"
7373

7474
if [[ ! -z "${LORA_INPUT_ADAPTERS_PATH}" ]]; then
7575
lora_local_path="/tmp/"

0 commit comments

Comments
 (0)