diff --git a/scripts/pod/start-comfyui.sh b/scripts/pod/start-comfyui.sh index 161b5d9..79d715e 100755 --- a/scripts/pod/start-comfyui.sh +++ b/scripts/pod/start-comfyui.sh @@ -7,6 +7,8 @@ set -euo pipefail LOG=/workspace/minimax-h3/comfyui-$(hostname).log +# reduce near-limit CUDA OOMs from fragmentation (community-verified for H3) +export PYTORCH_CUDA_ALLOC_CONF=${PYTORCH_CUDA_ALLOC_CONF:-expandable_segments:True} mkdir -p /workspace/minimax-h3/output ARGS=${COMFY_ARGS:-}