Skip to content

Commit

Permalink
remove dynamic chunks changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eddogola committed Jul 20, 2023
1 parent a659517 commit 1d81833
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/local_test_autosplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ def run_compile_stage(mod: torch.nn.Module, stage: Pipe, args):

print(f"Rank {args.rank} completes")

# run with different chunk size to exercise microbatch and scheduling components
# stage.chunks = 1
# stage(ec_input)
# stage.chunks = 100
# stage(ec_input)

# check numeric equivalence in the last rank
if args.rank == args.world_size - 1:
if CHECK_NUMERIC_EQUIVALENCE:
Expand All @@ -101,7 +95,6 @@ def run_compile_stage(mod: torch.nn.Module, stage: Pipe, args):
with torch.autograd.profiler_legacy.profile(
enabled=PROFILING_ENABLED
) as prof:
stage.chunks = nstages

if args.rank == 0:
stage(ec_input)
Expand Down

0 comments on commit 1d81833

Please sign in to comment.