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
593a5634
Unverified
Commit
593a5634
authored
Apr 27, 2023
by
OlivierDehaene
Committed by
GitHub
Apr 27, 2023
Browse files
feat(docker): add nvidia env vars (#255)
parent
f092ba9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Dockerfile
Dockerfile
+5
-0
No files found.
Dockerfile
View file @
593a5634
...
@@ -164,6 +164,11 @@ FROM base as sagemaker
...
@@ -164,6 +164,11 @@ FROM base as sagemaker
COPY
sagemaker-entrypoint.sh entrypoint.sh
COPY
sagemaker-entrypoint.sh entrypoint.sh
RUN
chmod
+x entrypoint.sh
RUN
chmod
+x entrypoint.sh
# NVIDIA env vars
ENV
NVIDIA_VISIBLE_DEVICES all
ENV
NVIDIA_DRIVER_CAPABILITIES compute,utility
ENV
LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64
ENTRYPOINT
["./entrypoint.sh"]
ENTRYPOINT
["./entrypoint.sh"]
# Final image
# Final image
...
...
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