feat(sagemaker): add trust remote code to entrypoint (#394)
This commit is contained in:
parent
e7248fe90e
commit
62fc401030
|
@ -18,4 +18,8 @@ if [[ -n "${HF_MODEL_QUANTIZE}" ]]; then
|
|||
export QUANTIZE="${HF_MODEL_QUANTIZE}"
|
||||
fi
|
||||
|
||||
if [[ -n "${HF_MODEL_TRUST_REMOTE_CODE}" ]]; then
|
||||
export TRUST_REMOTE_CODE="${HF_MODEL_TRUST_REMOTE_CODE}"
|
||||
fi
|
||||
|
||||
text-generation-launcher --port 8080
|
||||
|
|
Loading…
Reference in New Issue