Skip to content

fix language model time print - #4865

Merged
luotao1 merged 2 commits into
PaddlePaddle:developfrom
wanghuancoder:develop_language_model_benchmark_fix
Sep 22, 2020
Merged

luotao1 merged 2 commits into
PaddlePaddle:developfrom
wanghuancoder:develop_language_model_benchmark_fix

Conversation

@wanghuancoder

@wanghuancoder wanghuancoder commented Sep 22, 2020 •

Copy link
Copy Markdown
Contributor

根据近期共识的,新的性能统计规范修改了language model:

  1. batch_time = reader time + exe.run time
  2. 求log_interval步的平均时间
  3. 本模型有使用DataLoader和不使用DataLoader两种写法,均做了修改

@luotao1 luotao1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1
luotao1 merged commit db6ce5e into PaddlePaddle:develop Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants