Update to ROCm 10.1.0 / PyTorch 2.13 base image

- FROM rocm/pytorch:rocm10.1.0_ubuntu24.04_py3.12_pytorch_release_2.13.0
- Install git via apt (no longer bundled in ROCm 10.x images)
- Add LD_LIBRARY_PATH/LIBRARY_PATH for the _rocm_sdk_* wheel layout
  (fixes aiter JIT 'ld: cannot find -lamdhip64' with flash-attention)
- compose: persist aiter + Triton JIT kernel caches in ./cache/
- check-comfyui.sh: mkdir -p /opt/ComfyUI before copying pre-cloned
- Bump image tag v0.8 -> v1.0, README versions
This commit is contained in:
hermes committed 2026-10-26 22:11:18 +00:00
1 parent 74462469aa
commit 6cf465cb5c
5 files changed
+26 -6

No files matched your search

+16 -1
View File
@@ -1,4 +1,19 @@
FROM rocm/pytorch:rocm7.2.4_ubuntu24.04_py3.12_pytorch_release_2.9.1
FROM rocm/pytorch:rocm10.1.0_ubuntu24.04_py3.12_pytorch_release_2.13.0
# ROCm 10.x images no longer ship /opt/rocm: the ROCm SDK is packaged inside
# pip wheels (_rocm_sdk_core = runtime libs, _rocm_sdk_devel = headers +
# unversioned .so files for linking).
# - LD_LIBRARY_PATH: runtime loading (the torch wheel does this itself at
# import time, but aiter's JIT subprocesses need it globally).
# - LIBRARY_PATH: link time. Without this, aiter's JIT builds fail with
# "ld: cannot find -lamdhip64" when flash-attention delegates to aiter.
ENV LD_LIBRARY_PATH=/usr/local/lib/python3.12/dist-packages/_rocm_sdk_devel/lib:/usr/local/lib/python3.12/dist-packages/_rocm_sdk_core/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
ENV LIBRARY_PATH=/usr/local/lib/python3.12/dist-packages/_rocm_sdk_devel/lib:/usr/local/lib/python3.12/dist-packages/_rocm_sdk_core/lib${LIBRARY_PATH:+:$LIBRARY_PATH}
# git is no longer bundled in the ROCm 10.x images
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
rm -rf /var/lib/apt/lists/*
# "Installing" flash-attention
# - Not sure if branch `main_perf` is actually better,