/interrupt 打断 H3 采样 → CUDA illegal memory access记录人:DSH(本机)|发生时间:2026-10-07 10:16|影响:ComfyUI(8189) 进程死亡,约 10:20 恢复
h3_bm17_beach_2k,2 段,480×864 → 768×1344)。curl -X POST http://192.168.31.31:8189/interrupt,意图是"停掉它、改用 latent 续接重跑"。interrupt 生效后,ComfyUI 进程随之死亡(不是只停了那个 job)。~/comfyui_8189_opt.log 末尾)raise InterruptProcessingException()
comfy.model_management.InterruptProcessingException
Traceback (most recent call last):
torch.AcceleratorError: CUDA error: an illegal memory access was encountered
terminate called after throwing an instance of 'c10::AcceleratorError'
Exception raised from free_impl at /pytorch/c10/cuda/CUDAMallocAsyncAllocator.cpp:206
即:在 H3 采样中途抛 InterruptProcessingException → 随后 CUDA illegal memory access → 进程 terminate。属于"打断正在跑的 CUDA Graph/异步分配器"时的崩溃,不是配置问题。
用与崩溃前实例完全相同的参数重启(依据 ~/.dsh/AGENTS.md 记录的当前实例口径):
cd /home/zyw/ComfyUI
setsid nohup env PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512,expandable_segments:True \
CUDA_VISIBLE_DEVICES=0 OMP_NUM_THREADS=4 \
venv/bin/python main.py --listen 0.0.0.0 --port 8189 \
--lowvram --force-fp16 --reserve-vram 1.0 --fast-disk \
--cache-lru 2 --disable-pinned-memory --preview-method none \
>> /home/zyw/comfyui_8189_opt.log 2>&1 < /dev/null &
--cache-lru 2 --disable-pinned-memory,不是 restart_comfy.sh 里的 --cache-lru 20)0.0.0.0:8189 LISTEN,GET /system_stats = 200,Starting server 正常75ec393d-12c9-489c-87a1-746f46eba014),无产出损失(首次中断时尚未产出文件)。/interrupt;要停任务,宁可让当前段跑完再停,或直接杀进程后重启服务。任何中断动作必须先问用户。continuityMode → 走 guide;overlap=9 → 只钉 5 帧;continuityKeepTail 默认 true → 每接缝多 12 帧),后续按 continuityMode=latent + overlap=22 + keepTail=false + 「目标帧数+22」规则重跑验证。