fix: set MODEL_ID in sagemaker-entrypoint script (#343)
This commit is contained in:
parent
5a58226130
commit
1ba78207e6
|
@ -4,6 +4,7 @@ if [[ -z "${HF_MODEL_ID}" ]]; then
|
|||
echo "HF_MODEL_ID must be set"
|
||||
exit 1
|
||||
fi
|
||||
export MODEL_ID="${HF_MODEL_ID}"
|
||||
|
||||
if [[ -n "${HF_MODEL_REVISION}" ]]; then
|
||||
export REVISION="${HF_MODEL_REVISION}"
|
||||
|
|
Loading…
Reference in New Issue