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
a8950294
Unverified
Commit
a8950294
authored
Jul 23, 2024
by
OlivierDehaene
Browse files
hotfix: update nccl
parent
e7e3aa6c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Dockerfile
Dockerfile
+4
-1
server/Makefile
server/Makefile
+1
-0
No files found.
Dockerfile
View file @
a8950294
...
...
@@ -252,7 +252,10 @@ COPY server/Makefile server/Makefile
RUN
cd
server
&&
\
make gen-server
&&
\
pip
install
-r
requirements_cuda.txt
&&
\
pip
install
".[bnb, accelerate, quantize, peft, outlines]"
--no-cache-dir
pip
install
".[bnb, accelerate, quantize, peft, outlines]"
--no-cache-dir
&&
\
pip
install
nvidia-nccl-cu12
==
2.22.3
ENV
LD_PRELOAD=/opt/conda/lib/python3.10/site-packages/nvidia/nccl/lib/libnccl.so.2
# Deps before the binaries
# The binaries change on every build given we burn the SHA into them
...
...
server/Makefile
View file @
a8950294
...
...
@@ -30,6 +30,7 @@ install: install-cuda
install-cuda
:
install-server install-flash-attention-v2-cuda install-vllm-cuda install-flash-attention install-fbgemm
pip
install
-e
".[bnb]"
pip
install
nvidia-nccl-cu12
==
2.22.3
install-rocm
:
install-server install-flash-attention-v2-rocm install-vllm-rocm
...
...
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