Skip to content

Commit

Permalink
Merge pull request #693 from axel7083/patch-1
Browse files Browse the repository at this point in the history
fix(run.sh): invalid bash formatting
  • Loading branch information
rhatdan authored Jul 26, 2024
2 parents a508f36 + 5745071 commit f9ed8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model_servers/llamacpp_python/src/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ if [ ${MODEL_PATH} ]; then
--n_gpu_layers ${GPU_LAYERS:=0} \
--clip_model_path ${CLIP_MODEL_PATH:=None} \
--chat_format ${CHAT_FORMAT:=llama-2} \
${PRETRAINED_MODEL_PATH:=}
${HF_PRETRAINED_MODEL:%=--hf_pretrained_model_name_or_path %} \
${PRETRAINED_MODEL_PATH:=} \
${HF_PRETRAINED_MODEL:+--hf_pretrained_model_name_or_path ${HF_PRETRAINED_MODEL}} \
--interrupt_requests ${INTERRUPT_REQUESTS:=False}
exit 0
fi
Expand Down

0 comments on commit f9ed8bb

Please sign in to comment.