-
Notifications
You must be signed in to change notification settings - Fork 44
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
TypeError: scaled_dot_product_attention(): argument 'query' (position 1) must be Tensor, not list #19
Comments
got this also |
Torch version? Python version? What GPU? Does it work on CPU? |
Mine is python 3.11.8 Not working on CPU or GPU. |
Hello,KJ. |
Perhaps you can consider adapting to Torch 2.2.0+CU118 |
I have the same problem with image processing |
The original code had marked torch 2.3.1 as minimum. What's the reason to use old torch version? Current torch stable is at 2.4.0 already, which is also what ComfyUI itself comes with now. |
Perhaps some other niche plugins require torch 2.2.0. Personally, I think it's okay to uninstall those niche plugins that require torch 2.2.0 |
Should work with 2.2.0 now anyway, still recommend using newer version. |
I was still having trouble with the old 2.2.0. For those of you who are also having this problem, run update_comfyui_and_python_dependencies.bat in your \ComfyUI_windows_portable\update directory. It will update your torch to 2.4.0. |
workflow.json
The text was updated successfully, but these errors were encountered: