23 lines
658 B
Bash
23 lines
658 B
Bash
#!/bin/bash
|
|
# ComfyUI Launch - BC-250 with all patches
|
|
# v2: Removed --gpu-only (14GB shared RAM too tight for all models on GPU)
|
|
# Text encoder runs on CPU via bc250_softmax_patch.py
|
|
export HSA_OVERRIDE_GFX_VERSION=10.1.0
|
|
export HSA_ENABLE_SDMA=0
|
|
export HIP_VISIBLE_DEVICES=0
|
|
export OMP_NUM_THREADS=12
|
|
export MIOPEN_FIND_MODE=3
|
|
export PYTORCH_HIP_ALLOC_CONF=garbage_collection_threshold:0.8
|
|
export HIP_FORCE_DEV_KERNARG=1
|
|
export BC250_SOFTMAX_THRESHOLD=512
|
|
|
|
cd /home/fabian/ComfyUI
|
|
source venv/bin/activate
|
|
|
|
exec python main.py \
|
|
--listen 0.0.0.0 \
|
|
--port 8188 \
|
|
--fp16-vae \
|
|
--use-split-cross-attention \
|
|
2>&1 | tee /home/fabian/comfyui7.log
|