Comfy-Org / Comfy-Org/ComfyUI

White Screen in Browser

Open
#14,694 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Expected to see ComfyUI UI

### Actual Behavior

I won't post a screenshot because you all know what the color white looks like.
Seriously, not even UI elements, just WHITE.

### Steps to Reproduce

Well, it was working yesterday, didn't change anything, then today I tried to use it and the server wouldn't stay on. Tried a bunch of things, eventually adding a folder for templates somewhere worked, don't know why.
But now it just shows white in the UI.
I've even moved all the custom nodes to the .disabled folder, even the Manager, still white.

### Debug Logs

```powershell
/home/USER/Stable/ComfyUIStart.sh'
Using Python from: /home/USER/Stable/comfy/bin/python
Python version: Python 3.10.12
[INFO] setup plugin alembic.autogenerate.schemas
[INFO] setup plugin alembic.autogenerate.tables
[INFO] setup plugin alembic.autogenerate.types
[INFO] setup plugin alembic.autogenerate.constraints
[INFO] setup plugin alembic.autogenerate.defaults
[INFO] setup plugin alembic.autogenerate.comments
[INFO] Adding extra search path checkpoints /home/USER/Stable/A1111-new/stable-diffusion-webui/models/Stable-diffusion
[INFO] Adding extra search path configs /home/USER/Stable/A1111-new/stable-diffusion-webui/models/Stable-diffusion
[INFO] Adding extra search path vae /home/USER/Stable/A1111-new/stable-diffusion-webui/models/VAE
[INFO] Adding extra search path loras /home/USER/Stable/A1111-new/stable-diffusion-webui/models/Lora
[INFO] Adding extra search path loras /home/USER/Stable/A1111-new/stable-diffusion-webui/models/LyCORIS
[INFO] Adding extra search path upscale_models /home/USER/Stable/A1111-new/stable-diffusion-webui/models/ESRGAN
[INFO] Adding extra search path upscale_models /home/USER/Stable/A1111-new/stable-diffusion-webui/models/RealESRGAN
[INFO] Adding extra search path upscale_models /home/USER/Stable/A1111-new/stable-diffusion-webui/models/SwinIR
[INFO] Adding extra search path embeddings /home/USER/Stable/A1111-new/stable-diffusion-webui/embeddings
[INFO] Adding extra search path hypernetworks /home/USER/Stable/A1111-new/stable-diffusion-webui/models/hypernetworks
[INFO] Adding extra search path controlnet /home/USER/Stable/A1111-new/stable-diffusion-webui/models/ControlNet
[INFO] Adding extra search path vibevoice /home/USER/comfy/ComfyUI/models/vibevoice
[INFO] Adding extra search path checkpoints /home/USER/comfy/ComfyUI/models/checkpoints
[INFO] Adding extra search path clip /home/USER/comfy/ComfyUI/models/clip
[INFO] Adding extra search path clip_vision /home/USER/comfy/ComfyUI/models/clip_vision
[INFO] Adding extra search path configs /home/USER/comfy/ComfyUI/models/configs
[INFO] Adding extra search path controlnet /home/USER/comfy/ComfyUI/models/controlnet
[INFO] Adding extra search path diffusion_models /home/USER/comfy/ComfyUI/models/diffusion_models
[INFO] Adding extra search path diffusion_models /home/USER/comfy/ComfyUI/models/unet
[INFO] Adding extra search path embeddings /home/USER/comfy/ComfyUI/models/embeddings
[INFO] Adding extra search path inpaint /home/USER/comfy/ComfyUI/models/inpaint
[INFO] Adding extra search path ipadapter /home/USER/comfy/ComfyUI/models/ipadapter
[INFO] Adding extra search path loras /home/USER/comfy/ComfyUI/models/loras
[INFO] Adding extra search path upscale_models /home/USER/comfy/ComfyUI/models/upscale_models
[INFO] Adding extra search path vae /home/USER/comfy/ComfyUI/models/vae
[INFO] Adding extra search path checkpoints /home/USER/Stable/comfy/models/checkpoints
[INFO] Adding extra search path clip /home/USER/Stable/comfy/models/clip
[INFO] Adding extra search path clip_vision /home/USER/Stable/comfy/models/clip_vision
[INFO] Adding extra search path controlnet /home/USER/Stable/comfy/models/controlnet
[INFO] Adding extra search path diffusion_models /home/USER/Stable/comfy/models/diffusion_models
[INFO] Adding extra search path embeddings /home/USER/Stable/comfy/models/embeddings
[INFO] Adding extra search path inpaint /home/USER/Stable/comfy/models/inpaint
[INFO] Adding extra search path ipadapter /home/USER/Stable/comfy/models/ipadapter
[INFO] Adding extra search path loras /home/USER/Stable/comfy/models/loras
[INFO] Adding extra search path upscale_models /home/USER/Stable/comfy/models/upscale_models
[INFO] Adding extra search path vae /home/USER/Stable/comfy/models/vae
/home/USER/Stable/comfy/lib/python3.10/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
[ERROR] Failed to import comfy_kitchen, Error: cannot import name 'QuantizedTensor' from 'comfy_kitchen.tensor' (/home/USER/Stable/comfy/lib/python3.10/site-packages/comfy_kitchen/tensor/__init__.py), fp8 and fp4 support will not be available.
[WARNING] comfy_kitchen does not support stochastic FP8 rounding, please update comfy_kitchen.
[INFO] Checkpoint files will always be loaded safely.
[INFO] Total VRAM 15940 MB, total RAM 31204 MB
[INFO] pytorch version: 2.11.0+cu130
[WARNING] WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.10.0+cu128 with CUDA 1208 (you have 2.11.0+cu130)
Python 3.10.19 (you have 3.10.12)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
[INFO] xformers version: 0.0.35
[INFO] Set vram state to: NORMAL_VRAM
[INFO] Device: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
[INFO] Using async weight offloading with 2 streams
[INFO] Enabled pinned memory 28083.0
[INFO] Using pytorch attention
[INFO] Python version: 3.10.12 (main, Mar 3 2026, 11:56:32) [GCC 11.4.0]
[INFO] ComfyUI version: 0.26.2
[INFO] comfy-aimdo version: None
[INFO] comfy-kitchen version: None
[WARNING] Dynamic vram disabled with argument. If you have any issues with dynamic vram enabled please give us a detailed reports as this argument will be removed soon. If you use gguf we recommend keeping dynamic vram enabled and using native ComfyUI model formats instead. ComfyUI native formats like fp8 will be faster even if they are larger than your memory.
[INFO] [Prompt Server] web root: /home/USER/Stable/comfy/lib/python3.10/site-packages/comfyui_frontend_package/static
[INFO] Asset seeder disabled
[INFO] Context impl SQLiteImpl.
[INFO] Will assume non-transactional DDL.
[INFO] Using RAM pressure cache.
[INFO] Starting server

[INFO] To see the GUI go to: http://0.0.0.0:7860
[INFO] To see the GUI go to: http://[::]:7860
```

### Other

my start script is a bit custom to use a venv but it's been working like that for months.

```
#!/bin/bash

# Activate virtual environment
source comfy/bin/activate

# Verify the venv is active (optional - for debugging)
echo "Using Python from: $(which python)"
echo "Python version: $(python --version)"

# Change to the main directory before running
cd comfy/ComfyUI

# Run the Python program
python3 main.py --port=7860 --enable-cors-header '*' --listen --disable-dynamic-vram #--highvram #--disable-smart-memory
```
as part of my initial problem today I added --disable-dynamic-vram
to solve this:
```
Using Python from: /home/USER/Stable/comfy/bin/python
Python version: Python 3.10.12
[INFO] setup plugin alembic.autogenerate.schemas
[INFO] setup plugin alembic.autogenerate.tables
[INFO] setup plugin alembic.autogenerate.types
[INFO] setup plugin alembic.autogenerate.constraints
[INFO] setup plugin alembic.autogenerate.defaults
[INFO] setup plugin alembic.autogenerate.comments
Traceback (most recent call last):
File "/home/USER/Stable/comfy/ComfyUI/main.py", line 59, in
comfy_aimdo.control.init(simple_vram_headroom=None if args.reserve_vram is None else int(args.reserve_vram * 1024 ** 3))
AttributeError: module 'comfy_aimdo.control' has no attribute 'init'
USER@USERMaker:~/Stable$
```

Which again, was not a problem yesterday, and I haven't changed anything since then because why would I?

Contributor guide

Open the contributing guide

Research direction

Start with main.py and the custom launch script, then open http://0.0.0.0:7860 while checking the startup output, including the comfy_aimdo and xformers messages. Trace whether the frontend assets from the logged web root load successfully; done means the ComfyUI interface renders instead of a blank white page.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ai, backend, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.