Skip to content
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

patch does not apply #4

Closed
vbqgyy opened this issue Oct 17, 2023 · 7 comments
Closed

patch does not apply #4

vbqgyy opened this issue Oct 17, 2023 · 7 comments

Comments

@vbqgyy
Copy link

vbqgyy commented Oct 17, 2023

git pull
remote: Enumerating objects: 33, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 15 (delta 11), reused 15 (delta 11), pack-reused 0
Unpacking objects: 100% (15/15), 1.67 KiB | 39.00 KiB/s, done.
From https://ghproxy.com/https://github.com/comfyanonymous/ComfyUI
c8013f7..88ceeb3 master -> origin/master
Updating c8013f7..88ceeb3
Fast-forward
comfy/ldm/modules/diffusionmodules/model.py | 194 +++++++++-------------------
web/lib/litegraph.core.js | 2 +-
2 files changed, 59 insertions(+), 137 deletions(-)

I:\00AI\ComfyUI_windows_portable\ComfyUI>git apply 0001-AIT-Compile-support.patch
0001-AIT-Compile-support.patch:22: trailing whitespace.
import torch
0001-AIT-Compile-support.patch:23: trailing whitespace.
import comfy.cli_args
0001-AIT-Compile-support.patch:24: trailing whitespace.
comfy.cli_args.enable_ait = True
0001-AIT-Compile-support.patch:25: trailing whitespace.

0001-AIT-Compile-support.patch:26: trailing whitespace.
import comfy.sd
error: patch failed: comfy/ldm/modules/attention.py:91
error: comfy/ldm/modules/attention.py: patch does not apply
error: patch failed: comfy/ldm/modules/diffusionmodules/openaimodel.py:370
error: comfy/ldm/modules/diffusionmodules/openaimodel.py: patch does not apply

@vbqgyy
Copy link
Author

vbqgyy commented Oct 17, 2023

File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "I:\00AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AIT_init
.py", line 1, in
from .ait_load import AIT_Unet_Loader
File "I:\00AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AIT\ait_load.py", line 111, in
"AITLoader": AITLoader,
^^^^^^^^^
NameError: name 'AITLoader' is not defined

Cannot import I:\00AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AIT module for custom nodes: name 'AITLoader' is not defined

@FizzleDorf
Copy link
Owner

thanks for the ticket guys. It's been rough with recent world events eating up most of my time but I'll get to this as soon as I am able.

@asagi4
Copy link
Contributor

asagi4 commented Oct 19, 2023

Try if #5 fixes things.

@FizzleDorf
Copy link
Owner

I've fixed the latter issue in commit d9972e2. I am working on the patch fix now.

@vbqgyy
Copy link
Author

vbqgyy commented Oct 20, 2023

Try if #5 fixes things.

Wow, great! It's working!

@vbqgyy
Copy link
Author

vbqgyy commented Oct 20, 2023

thanks for the ticket guys. It's been rough with recent world events eating up most of my time but I'll get to this as soon as I am able.

Thanks for your hard work, brother, but please take care of your health.

@FizzleDorf
Copy link
Owner

as of 313cf02 things should be working normally.

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

3 participants