Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AI-WAIFU committed Oct 7, 2024
1 parent 774eb58 commit 94d31f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megatron/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def forward_step(
return model.eval_batch(data_iterator, return_logits=return_logits)

# Get the batch.
if neox_args.memory_profiling and neox_args.it:
if neox_args.memory_profiling and neox_args.iteration:
torch.cuda.nvtx.range_push(f"Get batch")
if timers is not None:
timers("batch generator").start()
Expand Down

0 comments on commit 94d31f6

Please sign in to comment.