8000 SageAttention is not working for my ComfyUI Desktop · Issue #6681 · comfyanonymous/ComfyUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SageAttention is not working for my ComfyUI Desktop #6681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
santaonholidays opened this issue Feb 2, 2025 · 17 comments
Open

SageAttention is not working for my ComfyUI Desktop #6681

santaonholidays opened this issue Feb 2, 2025 · 17 comments

Comments

@santaonholidays
Copy link

I greet you Ladies and Gentleman,

Today i came to the conclusion to fix my Sageattention which is not working.I had the Issue where i tried a custom Workflow Image to Video with Hunyuan. But the problem is that i can only use comfy and sdpa,flash attention and sageattention are not working for me.I tried to manually install Sageattention and dropped it onto my file and it did not work. I asked alot of Discord Groups and i didnt got any help and thats why im writing this Issue on Github.

Best Regards :)

@santaonholidays
Copy link
Author

bump

@ltdrdata
Copy link
Collaborator
ltdrdata commented Feb 8, 2025

If you provide no information other than simply saying that it doesn't work, no one will be able to help you.

Your execution environment, ComfyUI version, CLI options, full logs, and workflow—

all of these are necessary.

@santaonholidays
Copy link
Author

ComfyUI version v0.3.14

Traceback (most recent call last):
  File "C:\Users\santa\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 327, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\santa\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 202, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\santa\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\Users\santa\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\ComfyUI\custom_nodes/ComfyUI-HunyuanVideoWrapper\nodes.py", line 297, in loadmodel
    raise ValueError(f"Can't import SageAttention: {str(e)}")
ValueError: Can't import SageAttention: No module named 'triton.language'

WTF are CLI options?

and ANY sageattention node i try does not work

@santaonholidays
Copy link
Author

Update: I almost made it but the next step is

Put the wheel on the ComfyUI_windows_portable\update folder

ComfyUI Desktop Version is the type of app where i cant find the folder,i need help c:

@santaonholidays
Copy link
Author

Bump

@octaviodivy
Copy link
octaviodivy commented Feb 11, 2025

Have you seen this reddit post @santaonholidays

@santaonholidays
Copy link
Author

Have you seen this reddit post @santaonholidays

That's where my problem is.Finding the update folder for the wheel

@santaonholidays
Copy link
Author

Bump

1 similar comment
@santaonholidays
Copy link
Author

Bump

@Tapyon
Copy link
Tapyon commented Feb 15, 2025

bump !!! jejje.. im here too !
i know im the noob here around , but trying to understand some of this POSTs, or you have the worst dude trying to explain something like if im working in GOOGLE as the CEO OF PROGRAMMERS, or you have the dude that explain it PERFECT , but leave some empty step or information, making the other perfection for garbage, like if it was for fun ....

hope i can fix this.. and come back to help guys !

@perobueno
Copy link
perobueno commented Mar 28, 2025

yeah sageattention2 doesn't work on windows I guess.

@zet556633
Copy link

same problem, pls help me, im just noob :(

@ArtisteImprevisible
Copy link

Same error

Bump

@serget2
Copy link
serget2 commented Apr 6, 2025

bump

@efefek
Copy link
efefek commented Apr 17, 2025

Same here :))

@Kdc1992
Copy link
Kdc1992 commented May 4, 2025

Same here, iv spent hours doing everything, and it even lists sage v1 and triton as installed but cannot manage to get sage 2 going and comfyui does not recognize sage 1 install.

@angelofdev
Copy link
angelofdev commented May 28, 2025

Make sure you have Triton already installed (see #7421 (comment))

In the ComfyUI desktop open up the terminal and navigate to the .venv fol 68C5 der
run pip install SageAttention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0