Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
62fc4010
Unverified
Commit
62fc4010
authored
Jun 02, 2023
by
OlivierDehaene
Committed by
GitHub
Jun 02, 2023
Browse files
feat(sagemaker): add trust remote code to entrypoint (#394)
parent
e7248fe9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sagemaker-entrypoint.sh
sagemaker-entrypoint.sh
+4
-0
No files found.
sagemaker-entrypoint.sh
View file @
62fc4010
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment