from local

This commit is contained in:
dohe0342 2023-04-11 16:03:10 +09:00
parent c23d227a5b
commit f28e0038a7
2 changed files with 1 additions and 1 deletions

View File

@ -1602,7 +1602,7 @@ def run_adapter(rank, world_size, args, wb=None):
)
'''
prompt = torch.randn((50, 512), requires_grad=True).to(device)
prompt = torch.randn((50, 512), requires_grad=True)
print(prompt)
optimizer_adapter = ScaledAdam(
[prompt],