zhiselfly / ComfyUI-Alimama-ControlNet-compatible

Compatible with alimama's SD3-ControlNet Demo on ComfyUI
GNU General Public License v3.0
18 stars 1 forks source link

I try ComfyUI Alimama on flux dev and got an error #4

Closed ShmuelRonen closed 1 month ago

ShmuelRonen commented 1 month ago

I use the controlnet model: FLUX.1-dev-Controlnet-Inpainting-Alpha.safetensors and try to execute and got this error: TypeError: MMDiT.init() got an unexpected keyword argument 'image_model'

error


ComfyUI Error Report

Error Details


## System Information
- **ComfyUI Version:** v0.2.2-50-g0bfc7cc
- **Arguments:** main.py --front-end-version Comfy-Org/ComfyUI_frontend@latest --fast --reserve-vram 2
- **OS:** posix
- **Python Version:** 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
- **Embedded Python:** false
- **PyTorch Version:** 2.4.0+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 25769279488
  - **VRAM Free:** 24438112256
  - **Torch VRAM Total:** 0
  - **Torch VRAM Free:** 0
ShmuelRonen commented 1 month ago

Ok... I replace the Alimama ControlNet loader with the regular loader and this fix the issue for me.

zhiselfly commented 1 month ago

This plugin is only compatible with SD3 using Alimama's ControlNet-inpainting model, and it is just a demo. I have not adapted it for models other than SD3. Moreover, the official ComfyUI has already provided support for Alimama's model earlier, so please use the official version.