Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/update ptb #4083

Merged
merged 6 commits into from
Dec 18, 2019
Merged

Dev/update ptb #4083

merged 6 commits into from
Dec 18, 2019

Conversation

zhiqiu
Copy link
Contributor

@zhiqiu zhiqiu commented Dec 18, 2019

Update ptb model to save training time.

  • reduce number of reshape

  • reduce number of conversion between VarBase and numpy.

Before: 117.9s / epoch on v100
image

After: 108.6s / epoch on v100

image

@phlrain phlrain self-requested a review December 18, 2019 03:46
@phlrain phlrain merged commit 8071d26 into PaddlePaddle:develop Dec 18, 2019
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