[LLM] Fix llm test workflow repeatedly download model files
This commit is contained in:
parent
bf3591e2ff
commit
9537194b4b
2 changed files with 9 additions and 9 deletions
|
|
@ -94,19 +94,19 @@ jobs:
|
||||||
wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/gpt_bigcode-santacoder -P $ORIGIN_DIR
|
wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/gpt_bigcode-santacoder -P $ORIGIN_DIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if [ ! -d $LLAMA_INT4_CKPT_PATH ]; then
|
# if [ ! -e $LLAMA_INT4_CKPT_PATH ]; then
|
||||||
# echo "Directory $LLAMA_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
# echo "Directory $LLAMA_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
# wget --no-verbose $LLM_FTP_URL/${LLAMA_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
# wget --no-verbose $LLM_FTP_URL/${LLAMA_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
||||||
# fi
|
# fi
|
||||||
# if [ ! -d $GPTNEOX_INT4_CKPT_PATH ]; then
|
# if [ ! -e $GPTNEOX_INT4_CKPT_PATH ]; then
|
||||||
# echo "Directory $GPTNEOX_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
# echo "Directory $GPTNEOX_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
# wget --no-verbose $LLM_FTP_URL/${GPTNEOX_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
# wget --no-verbose $LLM_FTP_URL/${GPTNEOX_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
||||||
# fi
|
# fi
|
||||||
# if [ ! -d $BLOOM_INT4_CKPT_PATH ]; then
|
# if [ ! -e $BLOOM_INT4_CKPT_PATH ]; then
|
||||||
# echo "Directory $BLOOM_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
# echo "Directory $BLOOM_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
# wget --no-verbose $LLM_FTP_URL/${BLOOM_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
# wget --no-verbose $LLM_FTP_URL/${BLOOM_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
||||||
# fi
|
# fi
|
||||||
# if [ ! -d $STARCODER_INT4_CKPT_PATH ]; then
|
# if [ ! -e $STARCODER_INT4_CKPT_PATH ]; then
|
||||||
# echo "Directory $STARCODER_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
# echo "Directory $STARCODER_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
# wget --no-verbose $LLM_FTP_URL/${STARCODER_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
# wget --no-verbose $LLM_FTP_URL/${STARCODER_INT4_CKPT_PATH:2} -P $INT4_CKPT_DIR
|
||||||
# fi
|
# fi
|
||||||
|
|
|
||||||
10
.github/workflows/llm_unit_tests.yml
vendored
10
.github/workflows/llm_unit_tests.yml
vendored
|
|
@ -107,24 +107,24 @@ jobs:
|
||||||
- name: Download ckpt & original models
|
- name: Download ckpt & original models
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ ! -d $LLAMA_INT4_CKPT_PATH ]; then
|
if [ ! -e $LLAMA_INT4_CKPT_PATH ]; then
|
||||||
echo "Directory $LLAMA_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
echo "Directory $LLAMA_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
echo "wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_llama_7b_q4_0.bin -P $INT4_CKPT_DIR"
|
echo "wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_llama_7b_q4_0.bin -P $INT4_CKPT_DIR"
|
||||||
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_llama_7b_q4_0.bin -P $INT4_CKPT_DIR
|
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_llama_7b_q4_0.bin -P $INT4_CKPT_DIR
|
||||||
fi
|
fi
|
||||||
if [ ! -d $GPTNEOX_INT4_CKPT_PATH ]; then
|
if [ ! -e $GPTNEOX_INT4_CKPT_PATH ]; then
|
||||||
echo "Directory $GPTNEOX_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
echo "Directory $GPTNEOX_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_redpajama_7b_q4_0.bin -P $INT4_CKPT_DIR
|
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_redpajama_7b_q4_0.bin -P $INT4_CKPT_DIR
|
||||||
fi
|
fi
|
||||||
if [ ! -d $BLOOM_INT4_CKPT_PATH ]; then
|
if [ ! -e $BLOOM_INT4_CKPT_PATH ]; then
|
||||||
echo "Directory $BLOOM_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
echo "Directory $BLOOM_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_bloom_7b_q4_0.bin -P $INT4_CKPT_DIR
|
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_bloom_7b_q4_0.bin -P $INT4_CKPT_DIR
|
||||||
fi
|
fi
|
||||||
if [ ! -d $STARCODER_INT4_CKPT_PATH ]; then
|
if [ ! -e $STARCODER_INT4_CKPT_PATH ]; then
|
||||||
echo "Directory $STARCODER_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
echo "Directory $STARCODER_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_santacoder_1b_q4_0.bin -P $INT4_CKPT_DIR
|
wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_santacoder_1b_q4_0.bin -P $INT4_CKPT_DIR
|
||||||
fi
|
fi
|
||||||
# if [ ! -d $CHATGLM_INT4_CKPT_PATH ]; then
|
# if [ ! -e $CHATGLM_INT4_CKPT_PATH ]; then
|
||||||
# echo "Directory $CHATGLM_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
# echo "Directory $CHATGLM_INT4_CKPT_PATH not found. Downloading from FTP server..."
|
||||||
# wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/chatglm2-6b-q4_0.bin -P $INT4_CKPT_DIR
|
# wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/chatglm2-6b-q4_0.bin -P $INT4_CKPT_DIR
|
||||||
# fi
|
# fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue