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 torch.compile benchmark tutorial #1607

Merged
merged 17 commits into from
Jan 19, 2024
Merged

Conversation

KumoLiu
Copy link
Contributor

@KumoLiu KumoLiu commented Jan 9, 2024

Fixes # .

Description

Add a tutorial about how to use torch.compile.

Checks

  • Avoid including large-size files in the PR.
  • Clean up long text outputs from code cells in the notebook.
  • For security purposes, please check the contents and remove any sensitive info such as user names and private key.
  • Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
  • Notebook runs automatically ./runner.sh -t <path to .ipynb file>

Signed-off-by: YunLiu <[email protected]>
Signed-off-by: YunLiu <[email protected]>
Signed-off-by: YunLiu <[email protected]>
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@KumoLiu KumoLiu marked this pull request as ready for review January 18, 2024 07:37
@KumoLiu KumoLiu requested review from ericspod and Nic-Ma January 18, 2024 07:37
modules/torch_compile.ipynb Show resolved Hide resolved
modules/torch_compile.ipynb Show resolved Hide resolved
modules/torch_compile.ipynb Show resolved Hide resolved
modules/torch_compile.ipynb Show resolved Hide resolved
@ericspod
Copy link
Member

You might have to look at the comments I made through ReviewNB to see where they were made, that context seems lost here!

@KumoLiu KumoLiu requested a review from ericspod January 19, 2024 09:14
Copy link
Member

@ericspod ericspod left a comment

Choose a reason for hiding this comment

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

LGTM!

@KumoLiu KumoLiu merged commit d8fc342 into Project-MONAI:main Jan 19, 2024
6 checks passed
@KumoLiu KumoLiu deleted the compile branch January 19, 2024 15:36
@KumoLiu KumoLiu mentioned this pull request Feb 26, 2024
5 tasks
boneseva pushed a commit to boneseva/MONAI-tutorials that referenced this pull request Apr 21, 2024
Fixes # .

### Description
Add a tutorial about how to use `torch.compile`.

### Checks
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [ ] Avoid including large-size files in the PR.
- [ ] Clean up long text outputs from code cells in the notebook.
- [ ] For security purposes, please check the contents and remove any
sensitive info such as user names and private key.
- [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use
relative paths for tutorial repo files (3) put figure and graphs in the
`./figure` folder
- [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>`

---------

Signed-off-by: YunLiu <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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