diff --git a/.gitignore b/.gitignore index e96aa10a..2eb85dc5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ .DS_Store *.swp +# Local agent tooling +.claude/ + # C extensions *.so diff --git a/pack/.post_operation/20260901_dtk_pin_numpy_remove_nixl_ep/dtk/Dockerfile b/pack/.post_operation/20260901_dtk_pin_numpy_remove_nixl_ep/dtk/Dockerfile new file mode 100644 index 00000000..e0210e5c --- /dev/null +++ b/pack/.post_operation/20260901_dtk_pin_numpy_remove_nixl_ep/dtk/Dockerfile @@ -0,0 +1,67 @@ +ARG DTK_VERSION=26.04 +ARG VLLM_VERSION=0.18.1 + +FROM gpustack/runner:dtk${DTK_VERSION}-vllm${VLLM_VERSION} AS vllm +SHELL ["/bin/bash", "-eo", "pipefail", "-c"] + +ARG TARGETPLATFORM +ARG TARGETOS +ARG TARGETARCH + +## Restore NumPy 1.x ABI compatibility + +# The DTK base image currently ships a Torch build compiled against the NumPy +# 1.x ABI. NumPy 2.x cannot initialize in that Torch build, which causes +# distributed initialization to fail when it calls Tensor.numpy(). +# +# Install without dependencies to avoid changing the prebuilt DTK Python +# environment beyond the NumPy compatibility pin. +RUN <