Unverified Commit 1ba78207 authored by Xin Yang's avatar Xin Yang Committed by GitHub
Browse files

fix: set MODEL_ID in sagemaker-entrypoint script (#343)

parent 5a582261
...@@ -4,6 +4,7 @@ if [[ -z "${HF_MODEL_ID}" ]]; then ...@@ -4,6 +4,7 @@ if [[ -z "${HF_MODEL_ID}" ]]; then
echo "HF_MODEL_ID must be set" echo "HF_MODEL_ID must be set"
exit 1 exit 1
fi fi
export MODEL_ID="${HF_MODEL_ID}"
if [[ -n "${HF_MODEL_REVISION}" ]]; then if [[ -n "${HF_MODEL_REVISION}" ]]; then
export REVISION="${HF_MODEL_REVISION}" export REVISION="${HF_MODEL_REVISION}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment