comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
50.33k stars 5.3k forks source link

Crash on image generation #4475

Open voidxO7 opened 3 weeks ago

voidxO7 commented 3 weeks ago

Your question

This is a brand new install of comfyui, I'm not sure what is causing this.

Logs

## ComfyUI-Manager: installing dependencies done.
[2024-08-18 19:24] ** ComfyUI startup time: 2024-08-18 19:24:20.428683
[2024-08-18 19:24] ** Platform: Windows
[2024-08-18 19:24] ** Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
[2024-08-18 19:24] ** Python executable: F:\stable-diffusion-comfyui\python_embeded\python.exe
[2024-08-18 19:24] ** ComfyUI Path: F:\stable-diffusion-comfyui\ComfyUI
[2024-08-18 19:24] ** Log path: F:\stable-diffusion-comfyui\comfyui.log
[2024-08-18 19:24] 
Prestartup times for custom nodes:
[2024-08-18 19:24]    1.0 seconds: F:\stable-diffusion-comfyui\ComfyUI\custom_nodes\ComfyUI-Manager
[2024-08-18 19:24] 
Total VRAM 4096 MB, total RAM 16167 MB
[2024-08-18 19:24] pytorch version: 2.4.0+cu121
[2024-08-18 19:24] Set vram state to: NORMAL_VRAM
[2024-08-18 19:24] Device: cuda:0 NVIDIA GeForce RTX 3050 Laptop GPU : cudaMallocAsync
[2024-08-18 19:24] Using pytorch cross attention
[2024-08-18 19:24] [Prompt Server] web root: F:\stable-diffusion-comfyui\ComfyUI\web
[2024-08-18 19:24] Adding extra search path checkpoints F:\stable-diffusion-webui\models/Stable-diffusion
[2024-08-18 19:24] Adding extra search path configs F:\stable-diffusion-webui\models/Stable-diffusion
[2024-08-18 19:24] Adding extra search path vae F:\stable-diffusion-webui\models/VAE
[2024-08-18 19:24] Adding extra search path loras F:\stable-diffusion-webui\models/Lora
[2024-08-18 19:24] Adding extra search path loras F:\stable-diffusion-webui\models/LyCORIS
[2024-08-18 19:24] Adding extra search path upscale_models F:\stable-diffusion-webui\models/ESRGAN
[2024-08-18 19:24] Adding extra search path upscale_models F:\stable-diffusion-webui\models/RealESRGAN
[2024-08-18 19:24] Adding extra search path upscale_models F:\stable-diffusion-webui\models/SwinIR
[2024-08-18 19:24] Adding extra search path embeddings F:\stable-diffusion-webui\embeddings
[2024-08-18 19:24] Adding extra search path hypernetworks F:\stable-diffusion-webui\models/hypernetworks
[2024-08-18 19:24] Adding extra search path controlnet F:\stable-diffusion-webui\models/ControlNet
[2024-08-18 19:24] F:\stable-diffusion-comfyui\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
[2024-08-18 19:24] ### Loading: ComfyUI-Manager (V2.50.1)
[2024-08-18 19:24] ### ComfyUI Revision: 2566 [39f114c4] | Released on '2024-08-18'
[2024-08-18 19:24] [SD Prompt Reader] Node version: 1.3.3
[2024-08-18 19:24] [SD Prompt Reader] Core version: 1.3.5
[2024-08-18 19:24] 
Import times for custom nodes:
[2024-08-18 19:24]    0.0 seconds: F:\stable-diffusion-comfyui\ComfyUI\custom_nodes\websocket_image_save.py
[2024-08-18 19:24]    0.0 seconds: F:\stable-diffusion-comfyui\ComfyUI\custom_nodes\comfyui-prompt-reader-node
[2024-08-18 19:24]    0.3 seconds: F:\stable-diffusion-comfyui\ComfyUI\custom_nodes\ComfyUI-Manager
[2024-08-18 19:24] 
[2024-08-18 19:24] Starting server

[2024-08-18 19:24] To see the GUI go to: http://127.0.0.1:8188
[2024-08-18 19:24] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2024-08-18 19:24] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2024-08-18 19:24] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2024-08-18 19:24] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2024-08-18 19:24] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2024-08-18 19:24] FETCH DATA from: F:\stable-diffusion-comfyui\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
[2024-08-18 19:24] got prompt

Other

No response

voidxO7 commented 3 weeks ago

Yes, it ends on "got prompt", the terminal crashes after it shows that output

jdc4429 commented 3 weeks ago

Have the same problem.. Started with Flux API always crashing and could never get to work from API but works from web interface without issue. But now even my SDXL models keep crashing. No error message, it's like it's seg faulting with the memory management of the models.