ComfyUI_frontend
ComfyUI_frontend copied to clipboard
[Bug]: New random seed everytime you save workflow in `control_before_generate` mode
Frontend Version
1.3.16
Expected Behavior
When you save the workflow, the seed should remain the same.
It should only change before each generation if set to randomize
in control_before_generate
mode.
Actual Behavior
When the seed is set to randomize
in control_before_generate
mode, everytime you save the workflow, the seed get changed.
Steps to Reproduce
https://github.com/user-attachments/assets/adf7eaf2-1822-4ef0-967d-f7a4ea64584a
Debug Logs
E:\>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --disable-all-custom-nodes --disable-xformers --preview-size 1024 --front-end-version Comfy-Org/ComfyUI_frontend@latest
Total VRAM 8192 MB, total RAM 65277 MB
pytorch version: 2.4.1+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3070 Ti Laptop GPU : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: E:\ComfyUI\web_custom_versions\Comfy-Org_ComfyUI_frontend\1.3.16
E:\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)
Skipping loading of custom nodes
Starting server
To see the GUI go to: http://127.0.0.1:8188
Browser Logs
No errors.
What browsers do you use to access the UI ?
Google Chrome
Other
Bug already reported here: https://github.com/Comfy-Org/ComfyUI_frontend/issues/1165
I just wanted to separate the "saved/unsaved status" issue from this one to make @huchenlei happier! 😉