2
0

Downgrade Python to 3.12 and remove the --no-deps flag from a pip install command in the Dockerfile.

Este cometimento está contido em:
Donato Capitella
2026-03-09 11:08:11 +00:00
ascendente 9997faaa1e
cometimento fb0aef0864
2 ficheiros modificados com 3 adições e 3 eliminações
+2 -2
Ver ficheiro
@@ -18,7 +18,7 @@ RUN chmod +x /tmp/install_rocm_sdk.sh && \
/tmp/install_rocm_sdk.sh
# 4. Python Venv Setup
RUN /usr/bin/python3.13 -m venv /opt/venv
RUN /usr/bin/python3.12 -m venv /opt/venv
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=/opt/venv/bin:$PATH
ENV PIP_NO_CACHE_DIR=1
@@ -70,7 +70,7 @@ RUN export HIP_DEVICE_LIB_PATH=$(find /opt/rocm -type d -name bitcode -print -qu
echo "Compiling with Bitcode: $HIP_DEVICE_LIB_PATH" && \
export CMAKE_ARGS="-DROCM_PATH=/opt/rocm -DHIP_PATH=/opt/rocm -DAMDGPU_TARGETS=gfx1151 -DHIP_ARCHITECTURES=gfx1151" && \
python -m pip wheel --no-build-isolation --no-deps -w /tmp/dist -v . && \
python -m pip install --no-deps /tmp/dist/*.whl
python -m pip install /tmp/dist/*.whl
RUN python -m pip install ray
+1 -1
Ver ficheiro
@@ -4,7 +4,7 @@ set -e
# 1. System Base & Build Tools
# Added 'gperftools-libs' for tcmalloc (fixes double-free)
dnf -y install --setopt=install_weak_deps=False --nodocs \
python3.13 python3.13-devel git rsync libatomic bash ca-certificates curl \
python3.12 python3.12-devel git rsync libatomic bash ca-certificates curl \
gcc gcc-c++ binutils make ffmpeg-free \
cmake ninja-build aria2c tar xz vim nano dialog \
libdrm-devel zlib-devel openssl-devel pgrep \