Comfy-Org / Comfy-Org/ComfyUI

dormant error from d248b550ac07?

Open
#9,022 3 comments 0 reactions 0 assignees View on GitHub
bug-cop:response-received Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

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

It doesn't break when running Hidream i1 <1 denoise. Isn't hidream in core now?

### Actual Behavior

Traceback (most recent call last):
File "/mnt/c/users/tits/ComfyUI/main.py", line 139, in
import server
File "/mnt/c/users/tits/ComfyUI/server.py", line 38, in
from api_server.routes.internal.internal_routes import InternalRoutes
ModuleNotFoundError: No module named 'api_server'

I believe triggered by initializing Hidreami1 got NaN's from setting denoise to .5 that I believe triggered something else. Fp8 em5 clip and base model.

Requested to load AutoencodingEngine
loaded completely 183.41322326660156 159.87335777282715 True
/mnt/c/users/tits/ComfyUI/nodes.py:1585: RuntimeWarning: invalid value encountered in cast
img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))
Prompt executed in 15.98 seconds
got prompt
88%|█████

Shutdown cui and git pulled + upgraded comfyui-frontend for good measure.

Restarting from the UI brought on the future "ModuleNotFoundError: No module named 'api_server'" afaik.

Honestly don't know where the "bug" is or if Hidream exposed something from comfy core

### Steps to Reproduce

Run inference with CUI, Hidream I1, reg clip_l and g, t5 fp8 em5 and ll3.18b scaled fp8 set denoise <1 (I set to .5). Changed empty latent > latent to: load image > vae encode > latent in ksampler. Vae was flux bf16..problem? (works fine regularly)

Ksampler: LCM/normal/cfg1...NaN city/black screen then I restart. After that I did git pull + update comfyui-frontend praying for a quick fix.
Then:

Checkpoint files will always be loaded safely.
Total VRAM 24564 MB, total RAM 80430 MB
pytorch version: 2.7.1+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
Using sage attention
Traceback (most recent call last):
File "/mnt/c/users/tits/ComfyUI/main.py", line 139, in
import server
File "/mnt/c/users/tits/ComfyUI/server.py", line 38, in
from api_server.routes.internal.internal_routes import InternalRoutes
ModuleNotFoundError: No module named 'api_server'

Did some stuff to troubleshoot:

grep -r 'api_server' /mnt/c/users/foo/ComfyUI
/mnt/c/users/foo/ComfyUI/app/api_server/routes/internal/internal_routes.py

git log -S 'api_server' -- server.py

commit f07e5bb5225ff8b9706866a7a5105c987c92b330
Author: Robin Huang
Date: Tue Aug 20 22:25:06 2024 -0700

temp fix:

PYTHONPATH="$PYTHONPATH:/mnt/c/users/foo/ComfyUI/app" python3 main.py

### Debug Logs

```powershell
I see nothing in the last 50 commits that stand out as breaking this (but not a dev so).

I'm not a developer so feel free to smack me around and tell me what else you need.

Last error I got on the console:

Filter xfade
Cross fade one video with another video.
slice threading supported
Inputs:
#0: main (video)
#1: xfade (video)
Outputs:
#0: default (video)
xfade AVOptions:
transition ..FV...... set cross fade transition (from -1 to 34) (default fade)
custom -1 ..FV...... custom transition
fade 0 ..FV...... fade transition
wipeleft 1 ..FV...... wipe left transition
wiperight 2 ..FV...... wipe right transition
wipeup 3 ..FV...... wipe up transition
wipedown 4 ..FV...... wipe down transition
slideleft 5 ..FV...... slide left transition
slideright 6 ..FV...... slide right transition
slideup 7 ..FV...... slide up transition
slidedown 8 ..FV...... slide down transition
circlecrop 9 ..FV...... circle crop transition
rectcrop 10 ..FV...... rect crop transition
distance 11 ..FV...... distance transition
fadeblack 12 ..FV...... fadeblack transition
fadewhite 13 ..FV...... fadewhite transition
radial 14 ..FV...... radial transition
smoothleft 15 ..FV...... smoothleft transition
smoothright 16 ..FV...... smoothright transition
smoothup 17 ..FV...... smoothup transition
smoothdown 18 ..FV...... smoothdown transition
circleopen 19 ..FV...... circleopen transition
circleclose 20 ..FV...... circleclose transition
vertopen 21 ..FV...... vert open transition
vertclose 22 ..FV...... vert close transition
horzopen 23 ..FV...... horz open transition
horzclose 24 ..FV...... horz close transition
dissolve 25 ..FV...... dissolve transition
pixelize 26 ..FV...... pixelize transition
diagtl 27 ..FV...... diag tl transition
diagtr 28 ..FV...... diag tr transition
diagbl 29 ..FV...... diag bl transition
diagbr 30 ..FV...... diag br transition
hlslice 31 ..FV...... hl slice transition
hrslice 32 ..FV...... hr slice transition
vuslice 33 ..FV...... vu slice transition
vdslice 34 ..FV...... vd slice transition
duration ..FV...... set cross fade duration (default 1)
offset ..FV...... set cross fade start relative to first input stream (default 0)
expr ..FV...... set expression for custom transition
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.