Compare commits

...
Author SHA1 Message Date
NickLucche d423438f1b reuse cuda major
Signed-off-by: NickLucche <nlucches@redhat.com>
2026-04-28 15:36:59 +02:00
NickLucche 31a310363e fix dockerfile
Signed-off-by: NickLucche <nlucches@redhat.com>
2026-04-28 09:49:43 +02:00
+4 -2
View File
@@ -777,8 +777,10 @@ RUN --mount=type=cache,target=/root/.cache/uv \
libcublas-dev-${CUDA_VERSION_DASH} \
libcusolver-dev-${CUDA_VERSION_DASH}"; \
if [ "$INSTALL_KV_CONNECTORS" = "true" ]; then \
if [ "$CUDA_MAJOR" -ge 13 ]; then \
uv pip install --system nixl-cu13; \
# nixl metapackage ships with default nixl-cu12 (nixl<1.1.0). Explicitly strip nixl-cu13
# from the requirements on non-cu13 images to prevent it from shadowing the correct cu12 one.
if [ "$CUDA_MAJOR" -lt 13 ]; then \
sed -i '/^nixl-cu13/d' /tmp/kv_connectors.txt; \
fi; \
uv pip install --system -r /tmp/kv_connectors.txt --no-build || ( \
# if the above fails, install from source