Half Loading
Your question
I had installed comfyui, and had lot of fun. But as i was restarting the program to implement Lora training tools the PC crashed, (Windows11) and when i tried to start it again, it simply didn't. Its initial cmd screen said program paused, complaints over cuda not enabled and something torch. And press any key to continue... So any key i pressed made the Init screen close and no program was launched. So i thought reinstall could be a thing. Files removed, downloaded again, unzipped and placed. This time the program just half loads. Below is a pic of how it looks. Its not usable, and i didn't get further. I have done a Python reinstall/restore to get path updated. But otherwise i am simply out of ideas of what i can do, and in what direction i shall look. So I am desperate for a hint.
Logs
The init message:
C:\AI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
Total VRAM 16376 MB, total RAM 32581 MB
pytorch version: 2.3.1+cu118
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: C:\AI\ComfyUI_windows_portable\ComfyUI\web
Import times for custom nodes:
0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
Starting server
To see the GUI go to: http://127.0.0.1:8188
Other
No response
Try with a different browser.
I have now also tried Opera, chrome and firefox, but no change, but thanks for ideas, I fear i must reinstall windows, which i really dont want to
I have now also tried Opera, chrome and firefox, but no change, but thanks for ideas, I fear i must reinstall windows, which i really dont want to
Looking at the PyTorch version, it seems you installed ComfyUI a long time ago. Try updating it to the latest version.
So i run update_comfyui.bat and the server/browser went blank. As i tried the other browsers, some few things showed up in Chrome. similar to depicted, but on black. The init screen says pytorchversion: 2.3.1+cu118 , that is the same as before. Isnt there anything i can ask the cmd ?
PS C:\AI\ComfyUI_windows_portable> pip show torch WARNING: Package(s) not found: torch
ok trying install PS C:\AI\ComfyUI_windows_portable> pip install --upgrade torch torchvision torchaudio Collecting torch Using cached torch-2.5.1-cp312-cp312-win_amd64.whl.metadata (28 kB) Collecting torchvision Using cached torchvision-0.20.1-cp312-cp312-win_amd64.whl.metadata (6.2 kB) Collecting torchaudio Using cached torchaudio-2.5.1-cp312-cp312-win_amd64.whl.metadata (6.5 kB) Collecting filelock (from torch) Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB) Collecting typing-extensions>=4.8.0 (from torch) Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Collecting networkx (from torch) Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) Collecting jinja2 (from torch) Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting fsspec (from torch) Downloading fsspec-2024.10.0-py3-none-any.whl.metadata (11 kB) Collecting setuptools (from torch) Using cached setuptools-75.3.0-py3-none-any.whl.metadata (6.9 kB) Collecting sympy==1.13.1 (from torch) Downloading sympy-1.13.1-py3-none-any.whl.metadata (12 kB) Collecting mpmath<1.4,>=1.1.0 (from sympy==1.13.1->torch) Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Collecting numpy (from torchvision) Downloading numpy-2.1.3-cp312-cp312-win_amd64.whl.metadata (60 kB) Collecting pillow!=8.3.*,>=5.3.0 (from torchvision) Downloading pillow-11.0.0-cp312-cp312-win_amd64.whl.metadata (9.3 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch) Downloading MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl.metadata (4.1 kB) Using cached torch-2.5.1-cp312-cp312-win_amd64.whl (203.0 MB) Downloading sympy-1.13.1-py3-none-any.whl (6.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.2/6.2 MB 11.5 MB/s eta 0:00:00 Using cached torchvision-0.20.1-cp312-cp312-win_amd64.whl (1.6 MB) Using cached torchaudio-2.5.1-cp312-cp312-win_amd64.whl (2.4 MB) Downloading pillow-11.0.0-cp312-cp312-win_amd64.whl (2.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 12.3 MB/s eta 0:00:00 Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Downloading filelock-3.16.1-py3-none-any.whl (16 kB) Downloading fsspec-2024.10.0-py3-none-any.whl (179 kB) Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 11.7 MB/s eta 0:00:00 Downloading numpy-2.1.3-cp312-cp312-win_amd64.whl (12.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.6/12.6 MB 11.9 MB/s eta 0:00:00 Using cached setuptools-75.3.0-py3-none-any.whl (1.3 MB) Downloading MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl (15 kB) Downloading mpmath-1.3.0-py3-none-any.whl (536 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 8.8 MB/s eta 0:00:00 Installing collected packages: mpmath, typing-extensions, sympy, setuptools, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision, torchaudio Successfully installed MarkupSafe-3.0.2 filelock-3.16.1 fsspec-2024.10.0 jinja2-3.1.4 mpmath-1.3.0 networkx-3.4.2 numpy-2.1.3 pillow-11.0.0 setuptools-75.3.0 sympy-1.13.1 torch-2.5.1 torchaudio-2.5.1 torchvision-0.20.1 typing-extensions-4.12.2
[notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: python.exe -m pip install --upgrade pip PS C:\AI\ComfyUI_windows_portable> pip show torch Name: torch Version: 2.5.1 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Yes its updated, but no change in the program.
Clear your browser cache or try pressing ctrl+f5 to force a full reload of the page and also make sure any popup blockers/addons like uorigin are disabled for the page. Oh and make sure that your browser doesn't have some setting enabled/disabled that prevents javascript from running.
Java enabled, and browser refreshed. I dont know why, but Comfyui chooses my microsoft edge only, and i dont know how to change that. I dont use it for anything else so it is basic and default.
However as i think back, i tried to install 4-5 things when it crashed and upon restart i watched it work, a lot, to install those things. SO something must have happened there which made change to my pc. It is therefore annoying that there is no uninstalling procedure which could revert situation to what it was, Or what is common to do in difficult situations?
Java enabled, and browser refreshed. I dont know why, but Comfyui chooses my microsoft edge only, and i dont know how to change that. I dont use it for anything else so it is basic and default.
However as i think back, i tried to install 4-5 things when it crashed and upon restart i watched it work, a lot, to install those things. SO something must have happened there which made change to my pc. It is therefore annoying that there is no uninstalling procedure which could revert situation to what it was, Or what is common to do in difficult situations?
When running ComfyUI, Edge launches because Edge is selected as the default browser in your Windows settings.
This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.