Downgrade Python to 3.12 and remove the --no-deps flag from a pip install command in the Dockerfile.
Esse commit está contido em:
+2
-2
@@ -18,7 +18,7 @@ RUN chmod +x /tmp/install_rocm_sdk.sh && \
|
|||||||
/tmp/install_rocm_sdk.sh
|
/tmp/install_rocm_sdk.sh
|
||||||
|
|
||||||
# 4. Python Venv Setup
|
# 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 VIRTUAL_ENV=/opt/venv
|
||||||
ENV PATH=/opt/venv/bin:$PATH
|
ENV PATH=/opt/venv/bin:$PATH
|
||||||
ENV PIP_NO_CACHE_DIR=1
|
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" && \
|
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" && \
|
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 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
|
RUN python -m pip install ray
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set -e
|
|||||||
# 1. System Base & Build Tools
|
# 1. System Base & Build Tools
|
||||||
# Added 'gperftools-libs' for tcmalloc (fixes double-free)
|
# Added 'gperftools-libs' for tcmalloc (fixes double-free)
|
||||||
dnf -y install --setopt=install_weak_deps=False --nodocs \
|
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 \
|
gcc gcc-c++ binutils make ffmpeg-free \
|
||||||
cmake ninja-build aria2c tar xz vim nano dialog \
|
cmake ninja-build aria2c tar xz vim nano dialog \
|
||||||
libdrm-devel zlib-devel openssl-devel pgrep \
|
libdrm-devel zlib-devel openssl-devel pgrep \
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário