1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

[Chore] add dummy lora attention processors to prevent failures in other libs (#8777)

add dummy lora attention processors to prevent failures in other libs
This commit is contained in:
Sayak Paul
2024-07-03 13:11:00 +05:30
committed by GitHub
parent 84bbd2f4ce
commit 06ee4db3e7

View File

@@ -2775,6 +2775,26 @@ class PAGCFGIdentitySelfAttnProcessor2_0:
return hidden_states
class LoRAAttnProcessor:
def __init__(self):
pass
class LoRAAttnProcessor2_0:
def __init__(self):
pass
class LoRAXFormersAttnProcessor:
def __init__(self):
pass
class LoRAAttnAddedKVProcessor:
def __init__(self):
pass
ADDED_KV_ATTENTION_PROCESSORS = (
AttnAddedKVProcessor,
SlicedAttnAddedKVProcessor,