mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
Update ldcache to include libcuda.so during docker build
This commit is contained in:
parent
d077150eb7
commit
c4c799137f
@ -240,5 +240,9 @@ ENTRYPOINT ["./entrypoint.sh"]
|
|||||||
# Final image
|
# Final image
|
||||||
FROM base
|
FROM base
|
||||||
|
|
||||||
|
# Update ldcache so that triton can find libcuda.so
|
||||||
|
RUN echo "/usr/local/cuda-12.1/compat" >> /etc/ld.so.conf.d/nvidia.conf && \
|
||||||
|
echo "/usr/local/cuda-12.1/lib64" >> /etc/ld.so.conf.d/nvidia.conf && ldconfig
|
||||||
|
|
||||||
ENTRYPOINT ["text-generation-launcher"]
|
ENTRYPOINT ["text-generation-launcher"]
|
||||||
CMD ["--json-output"]
|
CMD ["--json-output"]
|
||||||
|
Loading…
Reference in New Issue
Block a user