mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
set LD_PRELOAD
This commit is contained in:
parent
62a1ddbf8a
commit
a1695ce48b
@ -237,6 +237,8 @@ RUN cd server && \
|
|||||||
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
|
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
|
# Deps before the binaries
|
||||||
# The binaries change on every build given we burn the SHA into them
|
# The binaries change on every build given we burn the SHA into them
|
||||||
# The deps change less often.
|
# The deps change less often.
|
||||||
|
Loading…
Reference in New Issue
Block a user