From c0a875423ebac81b390ab6b83829713b70c093fb Mon Sep 17 00:00:00 2001 From: Hanashi Date: Thu, 6 Aug 2026 15:11:18 -0400 Subject: [PATCH] start-comfyui: expandable_segments allocator config (fragmentation OOM hygiene) Co-Authored-By: Claude Fable 5 --- scripts/pod/start-comfyui.sh | 2 ++ 1 file changed, 2 insertions(+) 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:-}