Skip to content

Commit 32fdb49

Browse files
authored
Fix argument help descriptions to match default values (#1281)
match the argument descriptions to the default values
1 parent 28d16ff commit 32fdb49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

distributed/FSDP/T5_training.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,11 @@ def fsdp_main(args):
199199
# Training settings
200200
parser = argparse.ArgumentParser(description='PyTorch T5 FSDP Example')
201201
parser.add_argument('--batch-size', type=int, default=4, metavar='N',
202-
help='input batch size for training (default: 64)')
202+
help='input batch size for training (default: 4)')
203203
parser.add_argument('--test-batch-size', type=int, default=4, metavar='N',
204-
help='input batch size for testing (default: 1000)')
204+
help='input batch size for testing (default: 4)')
205205
parser.add_argument('--epochs', type=int, default=2, metavar='N',
206-
help='number of epochs to train (default: 3)')
206+
help='number of epochs to train (default: 2)')
207207
parser.add_argument('--seed', type=int, default=1, metavar='S',
208208
help='random seed (default: 1)')
209209
parser.add_argument('--track_memory', action='store_false', default=True,

0 commit comments

Comments
 (0)