mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 19:34:53 +00:00
feat(sagemaker): add trust remote code to entrypoint
This commit is contained in:
parent
db2ebe3947
commit
71d215f0bd
@ -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
Block a user