mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2023-08-15 01:09:35 +03:00
feat(sagemaker): add trust remote code to entrypoint (#394)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user