Open Brick-test1 opened 7 hours ago
It's not a ComfyUI bug, you should report it here: https://github.com/XLabs-AI/x-flux-comfyui
It seems someone already opened a similar issue: https://github.com/XLabs-AI/x-flux-comfyui/issues/54
Try using a latent with dimensions that are divisible by 8.
Your question
I run flow, but it error can you help me. plz! ComfyUI Flux (ControlNet) Workflow: Replacing Background for Anything (Portrait, Product, etc.)
Error while processing rearrange-reduction pattern "b c (h ph) (w pw) -> b (h w) (c ph pw)". Input tensor shape: torch.Size([1, 16, 75, 150]). Additional info: {'ph': 2, 'pw': 2}. Shape mismatch, can't divide axis of length 75 in chunks of 2
Logs
System Information
ComfyUI Version: v0.2.2-85-gd985d1d
Arguments: ComfyUI\main.py --windows-standalone-build
OS: nt
Python Version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
Embedded Python: true
PyTorch Version: 2.4.1+cu124
Devices
Name: cuda:0 NVIDIA GeForce RTX 2070 SUPER : cudaMallocAsync
Logs
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context
(Please add any additional context or steps to reproduce the error here)