FIxing MIOPEN_FIND_MODE settings that can cause GPU hangs

This commit is contained in:
John Doe
2025-11-27 12:33:18 -05:00
parent cced0a0b34
commit 58c9ea4ca3

View File

@@ -97,14 +97,16 @@ services:
image: docker.io/getterup/comfyui-rocm7.1:latest
container_name: comfyui
environment:
#- ROCR_VISIBLE_DEVICES=1
- HIP_VISIBLE_DEVICES=0
- ROCR_VISIBLE_DEVICES=0
- COMFYUI_ENABLE_ROCM=True
- GPU_ARCH=rocm7.1
- PYTORCH_TUNABLEOP_ENABLED=1
- MIOPEN_FIND_MODE=NORMAL
- PYTORCH_TUNABLEOP_ENABLED=0
- MIOPEN_FIND_MODE=1
- AMD_SERIALIZE_KERNEL=1
- MIOPEN_USER_DB_PATH=/tmp/.miopen
- MIOPEN_CUSTOM_CACHE_DIR=/tmp/.miopen
- MIOPEN_DEBUG_DISABLE_FIND_DB=1
# === GPU targeting ===
# - HCC_AMDGPU_TARGET="gfx1100" # Change for your GPU
# - PYTORCH_ROCM_ARCH="gfx1100" # e.g., gfx1030 for RX 6800/6900
@@ -129,8 +131,7 @@ services:
- NUMEXPR_NUM_THREADS=8
# === Experimental ROCm flags ===
- HSA_ENABLE_ASYNC_COPY=1
- HSA_ENABLE_SDMA=1
- MIOPEN_FIND_MODE=2
- HSA_ENABLE_SDMA=0
- MIOPEN_ENABLE_CACHE=1
# - MIGRAPHX_MLIR_USE_SPECIFIC_OPS="attention"
ports: