Skip to content

Commit

Permalink
minor bug fix (NVIDIA#8696)
Browse files Browse the repository at this point in the history
Signed-off-by: arendu <[email protected]>
  • Loading branch information
arendu authored Mar 19, 2024
1 parent 1810f1f commit 7332754
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def inference_step_validation_call(self, batch, batch_idx, data_cfg, dataloader_
}
return outputs

def gather_and_maybe_write_predictions(self, output, data_cfg, mode, dataloader_idx=0):
def gather_and_maybe_write_predictions(self, output, data_cfg, mode, averaged_metric, dataloader_idx=0):
if not data_cfg.get("write_embeddings_to_file", False):
return True
gathered_output_batches = [None for _ in range(parallel_state.get_data_parallel_world_size())]
Expand Down

0 comments on commit 7332754

Please sign in to comment.