from local

This commit is contained in:
dohe0342 2023-05-25 19:26:24 +09:00
parent 736309846a
commit ef8c547682
2 changed files with 1 additions and 1 deletions

View File

@ -1610,7 +1610,7 @@ def run_adapter(rank, world_size, args, wb=None):
# if rank == 0: logging.info(module) # if rank == 0: logging.info(module)
#print(module) #print(module)
if isinstance(module, torch.nn.Linear): if isinstance(module, torch.nn.Linear):
if rank == 0: logging.info(module) if rank == 0: print(module)
# lora_modules.append(LoRAHook(module)) # lora_modules.append(LoRAHook(module))
adapter_names = [] adapter_names = []