logtd / ComfyUI-Fluxtapoz

Nodes for image juxtaposition for Flux in ComfyUI
GNU General Public License v3.0
676 stars 27 forks source link

SamplerCustomAdvanced Bias is not supported when out_dtype is set to Float32 #15

Closed bjsongzhen closed 1 month ago

bjsongzhen commented 1 month ago

ComfyUI Error Report

Error Details


## System Information
- **ComfyUI Version:** v0.2.3-19-g73e3a9e6
- **Arguments:** E:\ComfyUI-aki-v1.4F1\main.py --auto-launch --preview-method auto --disable-cuda-malloc --fast
- **OS:** nt
- **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.4.1+cu124
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 25756696576
  - **VRAM Free:** 6242935036
  - **Torch VRAM Total:** 17817403392
  - **Torch VRAM Free:** 673108220
bjsongzhen commented 1 month ago

When I was using the example_flux_reference.json and reflux_workflow_example_updated.json workflow, an error occurred. but other workflows are working normally.

tianshanxin commented 1 month ago

同样问题

tianshanxin commented 1 month ago

大佬解决下

bjsongzhen commented 1 month ago

This seems to be a problem with "configure ref for flux" node

zhilengjun commented 1 month ago

UNETLoader weight_dtype choose dafult well work

bjsongzhen commented 1 month ago

UNETLoader weight_dtype choose dafult well work

ComfyUI Error Report

Error Details

After I made the changes, a new error occurred.

logtd commented 1 month ago

Hi, thanks for testing this out.

Unfortunately the Ref Sampling features you're testing are not completed. I plan to revisit these soon. If you're looking for image editing you can use the rf-inversion workflow

https://github.com/logtd/ComfyUI-Fluxtapoz/blob/main/example_workflows/example_rf_inversion_updated.json

zhilengjun commented 1 month ago

UNETLoader weight_dtype choose dafult well work

ComfyUI Error Report

Error Details

  • Node Type: SamplerCustomAdvanced
  • Exception Type: torch.OutOfMemoryError
  • Exception Message: Allocation on device

Stack Trace

After I made the changes, a new error occurred.

Maybe there is insufficient VRAM.Try setting a smaller image size.

bjsongzhen commented 1 month ago

Hi, thanks for testing this out.

Unfortunately the Ref Sampling features you're testing are not completed. I plan to revisit these soon. If you're looking for image editing you can use the rf-inversion workflow

https://github.com/logtd/ComfyUI-Fluxtapoz/blob/main/example_workflows/example_rf_inversion_updated.json

thinks,its work!