- 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
11 lines
363 B
Bash
11 lines
363 B
Bash
#!/bin/bash
|
|
|
|
# If the user mounts /opt/ComfyUI, but their directory doesn't have ComfyUI cloned,
|
|
# we're gonna copy the pre-cloned one into the mounted directory.
|
|
|
|
if [ ! -e /opt/ComfyUI/requirements.txt ]; then
|
|
echo "No ComfyUI detected, copying a built-in (pre-cloned) one..."
|
|
mkdir -p /opt/ComfyUI
|
|
cp -r /opt/ComfyUI-pre-cloned/{.,}* /opt/ComfyUI/
|
|
fi
|