mirror of
https://github.com/storytold/cloud-worker.git
synced 2026-10-23 08:05:08 +00:00
start-comfyui: expandable_segments allocator config (fragmentation OOM hygiene)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
LOG=/workspace/minimax-h3/comfyui-$(hostname).log
|
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
|
mkdir -p /workspace/minimax-h3/output
|
||||||
ARGS=${COMFY_ARGS:-}
|
ARGS=${COMFY_ARGS:-}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user