Allow (custom) nodes a way to patch/unpatch the model #408
BlenderNeko
started this conversation in
Ideas
Replies: 1 comment
-
Yes I'm planning on adding a modular way to add things to the attention stuff because I'm going to need to do that for hypernetworks, GLIGEN if I decide to implement it and a bunch of other stuff. It's not going to involve monkey patching because I hate hooks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to figure out how to best implement DAAM in a couple of custom nodes. DAAM would require changing the cross attention forward passes through something like monkey patching. I could do this patching/unpatching in a custom sampler node, emulating how this is now happening behind the scenes with control nets? But it would maybe be nicer if there was some kind of structure in place for other nodes to append their own patch/unpatch functions to that get run before/after sampling. thoughts? advice? etc.
Beta Was this translation helpful? Give feedback.
All reactions