fixing numpy pin.
Some checks failed
Build and Push Images / determine-version (push) Successful in 6s
Build and Push Images / build (Dockerfile.ray-worker-nvidia, nvidia) (push) Failing after 21s
Build and Push Images / build (Dockerfile.ray-worker-intel, intel) (push) Failing after 24s
Build and Push Images / build (Dockerfile.ray-worker-strixhalo, strixhalo) (push) Failing after 22s
Build and Push Images / build (Dockerfile.ray-worker-rdna2, rdna2) (push) Failing after 34s
Build and Push Images / Release (push) Has been skipped
Build and Push Images / Notify (push) Successful in 2s
Some checks failed
Build and Push Images / determine-version (push) Successful in 6s
Build and Push Images / build (Dockerfile.ray-worker-nvidia, nvidia) (push) Failing after 21s
Build and Push Images / build (Dockerfile.ray-worker-intel, intel) (push) Failing after 24s
Build and Push Images / build (Dockerfile.ray-worker-strixhalo, strixhalo) (push) Failing after 22s
Build and Push Images / build (Dockerfile.ray-worker-rdna2, rdna2) (push) Failing after 34s
Build and Push Images / Release (push) Has been skipped
Build and Push Images / Notify (push) Successful in 2s
This commit is contained in:
@@ -80,9 +80,11 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \
|
||||
torch torchaudio torchvision
|
||||
|
||||
# FIX: Ray base image has pandas 1.5.3 which is incompatible with numpy 2.x
|
||||
# The TheRock PyTorch wheels require numpy 2.x, so upgrade pandas to match
|
||||
# The TheRock PyTorch wheels require numpy 2.x, so upgrade pandas to match.
|
||||
# Pin numpy <2.3 because numba (required by vLLM for speculative decoding)
|
||||
# does not yet support numpy 2.3+.
|
||||
RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \
|
||||
uv pip install --system 'pandas>=2.0.0,<3.0'
|
||||
uv pip install --system 'pandas>=2.0.0,<3.0' 'numpy>=2.1.0,<2.3'
|
||||
|
||||
# Install amdsmi sysfs shim LAST (required for vLLM ROCm platform detection).
|
||||
# The native amdsmi from ROCm 7.1 requires glibc 2.38 (Ubuntu 24.04),
|
||||
|
||||
Reference in New Issue
Block a user