from local

This commit is contained in:
dohe0342 2023-05-25 21:17:19 +09:00
parent 8d97499eeb
commit a28267c5f2
2 changed files with 2 additions and 0 deletions

View File

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