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

Add Bert Optimization Notebooks #3204

Merged
merged 17 commits into from
Mar 17, 2020
Merged

Add Bert Optimization Notebooks #3204

merged 17 commits into from
Mar 17, 2020

Conversation

tianleiwu
Copy link
Contributor

Description:
(1) Add notebooks for Bert GPU and CPU inference respectively
(2) Update performance test scripts: set OpenMP environment variable before importing onnxruntime, and use multiprocessing to create new process for each test.
(3) Add MachineInfo.py to show machine information in notebook.

Motivation and Context

  • Why is this change required? What problem does it solve?
  • If it fixes an open issue, please link to the issue here.

User can run the notebook to find the best setting to optimize GPU or CPU performance.
Related open issue: #3063

@tianleiwu tianleiwu requested a review from a team as a code owner March 13, 2020 07:55
@tianleiwu tianleiwu merged commit 0700d13 into master Mar 17, 2020
@tianleiwu tianleiwu deleted the bert_notebooks branch March 17, 2020 18:56
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.

None yet

3 participants