from local

This commit is contained in:
dohe0342 2023-02-14 02:21:59 +09:00
parent de4464d149
commit 746475d753
2 changed files with 1 additions and 0 deletions

View File

@ -874,6 +874,7 @@ def run(rank, world_size, args):
num_encoder_layers=params.num_encoder_layers,
num_decoder_layers=params.num_decoder_layers,
)
logging.info(model)
num_param = sum([p.numel() for p in model.parameters()])
logging.info(f"Number of model parameters: {num_param}")