Skip to content

Commit

Permalink
Resolving epochs being hard-coded
Browse files Browse the repository at this point in the history
  • Loading branch information
PareesaMS committed Oct 5, 2023
1 parent bfad08f commit 9052147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/cifar/cifar10_deepspeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def create_moe_param_groups(model):
# We simply have to loop over our data iterator, and feed the inputs to the
# network and optimize.

for epoch in range(2): # loop over the dataset multiple times
for epoch in range(args.epochs): # loop over the dataset multiple times

running_loss = 0.0
for i, data in enumerate(trainloader):
Expand Down

0 comments on commit 9052147

Please sign in to comment.