Skip to content

Commit

Permalink
cleanup after example
Browse files Browse the repository at this point in the history
  • Loading branch information
bm-synth committed Feb 8, 2025
1 parent 92031f8 commit c52cd72
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def to_layers(self):
"pin_memory": False,
"dynamic_batching": {
"enabled": True,
# Path to load the sequence lengths from, as {metrics_path}/seqlen/seqlen_sample_to_metric.bin and *.idx
# If these 2 files dont exist, they'll be output there on the first run, and loaded on subsequent runs.
# Files to load the sequence lengths from: {metrics_path}/seqlen/seqlen_sample_to_metric.bin and *.idx
# If files dont exist, they'll be computed and saved on the first run, and loaded on subsequent runs.
"metrics_path": "./curriculum_output/",
"lr_scaling_method": "linear",
"min_batch_size": 1,
Expand Down Expand Up @@ -176,3 +176,5 @@ def to_layers(self):

if engine.data_parallel_group.rank() == 0:
print(f"epoch {epoch}, batch {batch_id}, loss {loss.item()}, LRs {lr_scheduler.get_lr()}")
dist.barrier()
dist.destroy_process_group()

0 comments on commit c52cd72

Please sign in to comment.