from local

This commit is contained in:
dohe0342 2023-04-11 16:26:56 +09:00
parent 2e61476b01
commit 41551bacf1
3 changed files with 0 additions and 2 deletions

View File

@ -995,7 +995,6 @@ def train_one_epoch(
world_size: int = 1, world_size: int = 1,
rank: int = 0, rank: int = 0,
wb = None, wb = None,
prompt = None,
) -> None: ) -> None:
"""Train the model for one epoch. """Train the model for one epoch.
@ -1057,7 +1056,6 @@ def train_one_epoch(
batch=batch, batch=batch,
is_training=True, is_training=True,
decode = True if batch_idx % params.decode_interval == 0 else False, decode = True if batch_idx % params.decode_interval == 0 else False,
prompt=prompt,
) )
try: loss_info.reduce(loss.device) try: loss_info.reduce(loss.device)