longgui0318 / comfyui-magic-clothing

ShineChen1024/MagicClothing comfyui support .
69 stars 8 forks source link

Attention issue #3

Closed alexgenovese closed 1 month ago

alexgenovese commented 3 months ago

Hi,

I got this issue on mac:

/custom_nodes/comfyui-oms-diffusion/oms_diffusion_nodes.py", line 149, in get_area_and_mult
    conditioning["c_attn_stored_area"] = AttnStoredExtra(torch.tensor([area[0],area[1],area[2],area[3]]))
                                                                       ~~~~^^^
TypeError: 'NoneType' object is not subscriptable

thank you

longgui0318 commented 3 months ago

Can you share your workflow and test images. Can you remove some of the irrelevant content so that I can test it

longgui0318 commented 3 months ago

I found the problem, comfyui updated the implementation, I need to follow up on it and will reply when it's resolved. For related updates read here

longgui0318 commented 3 months ago

I tried to fix it, if anything else goes wrong, please reply to this issue

alexgenovese commented 3 months ago

Screenshot 2024-06-14 alle 17 19 47

I don't know if it's linked to this issue:

Loading pipeline components...: 100%|████████████████████████████████████████████████████████████████| 5/5 [00:03<00:00, 1.62it/s] 'NoneType' object has no attribute 'cadam32bit_grad_fp32'

longgui0318 commented 3 months ago

This node is part of the ComfyUI_MagicClothing project, please verify it and then take another look.