from local

This commit is contained in:
dohe0342 2023-05-25 21:15:56 +09:00
parent 5d90953546
commit 8d97499eeb
2 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class LoRAHook():
lora_alpha=1.0, lora_alpha=1.0,
) )
def hook_fn(self, module, input, output): def hook_fn(self, module, input, output):
print(input, output.size()) print(len(input), output.size())
lora_out = self.lora(input) lora_out = self.lora(input)
output += lora_out output += lora_out