Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ScaFFold/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@ def main():
type=str,
help="Resume execution in this specific directory. Overrides --base-run-dir.",
)
benchmark_parser.add_argument(
"--num-shards",
type=int,
help="DistConv param: number of shards to divide the tensor into. It's best to choose the fewest ranks needed to fit one sample in GPU memory, since that keeps communication at a minimum",
)
benchmark_parser.add_argument(
"--epochs",
type=int,
help="Number of training epochs.",
)

comm = MPI.COMM_WORLD
rank = comm.Get_rank()
Expand Down