Skip to content

Commit cabd26d

Browse files
committed
Fix missing device arg in train.py, fix #2488
1 parent 6b302f2 commit cabd26d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

train.py

+1
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,7 @@ def main():
892892
optimizer,
893893
train_loss_fn,
894894
args,
895+
device=device,
895896
lr_scheduler=lr_scheduler,
896897
saver=saver,
897898
output_dir=output_dir,

0 commit comments

Comments
 (0)