File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ ENV UV_LINK_MODE=copy
117117# Verify GCC version
118118RUN gcc --version
119119
120- # Workaround for triton/pytorch issues
121- RUN ldconfig /usr/local/cuda-$(echo $CUDA_VERSION | cut -d. -f1,2)/compat/
120+ # Ensure CUDA compatibility library is loaded
121+ RUN echo " /usr/local/cuda-$(echo " $CUDA_VERSION" | cut -d. -f1,2)/compat/" > /etc/ld.so.conf.d/00-cuda-compat.conf && ldconfig
122122
123123# ============================================================
124124# SLOW-CHANGING DEPENDENCIES BELOW
@@ -453,8 +453,8 @@ ENV UV_HTTP_TIMEOUT=500
453453ENV UV_INDEX_STRATEGY="unsafe-best-match"
454454ENV UV_LINK_MODE=copy
455455
456- # Workaround for triton/pytorch issues
457- RUN ldconfig /usr/local/cuda-$(echo $CUDA_VERSION | cut -d. -f1,2)/compat/
456+ # Ensure CUDA compatibility library is loaded
457+ RUN echo " /usr/local/cuda-$(echo " $CUDA_VERSION" | cut -d. -f1,2)/compat/" > /etc/ld.so.conf.d/00-cuda-compat.conf && ldconfig
458458
459459# ============================================================
460460# SLOW-CHANGING DEPENDENCIES BELOW
You can’t perform that action at this time.
0 commit comments