Skip to content

Commit

Permalink
Fixed bug in notebook (#5382)
Browse files Browse the repository at this point in the history
Signed-off-by: Virginia Adams <vadams@nvidia.com>

Signed-off-by: Virginia Adams <vadams@nvidia.com>
  • Loading branch information
vadam5 authored Nov 10, 2022
1 parent e57b3ec commit f8f31a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ def dummy():

# Call same generate code as in MegatronGPT
return megatron_gpt_generate(
self.cuda(), processed_inputs, self.tokenizer, length_params, sampling_params, task_ids
self.cuda(), processed_inputs, self.tokenizer, length_params, sampling_params, task_ids=task_ids
)

def predict_step(self, batch: Any, batch_idx: int, dataloader_idx: Optional[int] = None) -> Any:
Expand Down

0 comments on commit f8f31a1

Please sign in to comment.