formatting

This commit is contained in:
OlivierDehaene 2023-01-31 17:38:12 +01:00
parent ca11e9e8c3
commit 4858f122db
2 changed files with 2 additions and 6 deletions

View File

@ -217,9 +217,7 @@ class BLOOMSharded(BLOOM):
return linear
module.linear = replace_linear(
state
)
module.linear = replace_linear(state)
else:
tensor = tensor.to(device)

View File

@ -315,9 +315,7 @@ class GalacticaSharded(Galactica):
return linear
module.linear = replace_linear(
state
)
module.linear = replace_linear(state)
else:
tensor = tensor.to(device)