Skip to content

628 Update performance profiling #632

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

Merged
merged 7 commits into from
Mar 30, 2022
Merged

628 Update performance profiling #632

merged 7 commits into from
Mar 30, 2022

Conversation

yiheng-wang-nv
Copy link
Contributor

@yiheng-wang-nv yiheng-wang-nv commented Mar 25, 2022

Signed-off-by: Yiheng Wang vennw@nvidia.com

Fixes #628 .

Description

For pathology, the nsys profile works fine, thus I did not change any code, but for the required libs, I did some modification to avoid installing unused libs, and ensure all necessary libs are installed.
For radiology, the dlprof related places are totally removed and nsys profile has been used.

All modifications have been tested locally with a new initialized environment (created for pathology and radiology separately) via using:

python3 -m venv perf
source perf/bin/activate
pip install -r requirements.txt
...

Status

Ready

Checks

  • Notebook runs automatically ./runner [-p <regex_pattern>]

yiheng-wang-nv and others added 6 commits March 25, 2022 22:20
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
@yiheng-wang-nv yiheng-wang-nv changed the title [WIP] 628 Update performance profiling 628 Update performance profiling Mar 29, 2022
@yiheng-wang-nv yiheng-wang-nv marked this pull request as ready for review March 29, 2022 10:15
@yiheng-wang-nv
Copy link
Contributor Author

Hi @dongyang0122 , could you please help to double check the changes of the radiology side? I checked the generated nsys-rep files via using NVIDIA Nsight Systems, and the reports look close to your attached figures, but I am not 100% sure since my local machine uses different GPU (titan RTX). Thanks in advance!

Copy link
Member

@bhashemian bhashemian left a comment

Choose a reason for hiding this comment

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

The pathology parts look good to me.

@wyli wyli enabled auto-merge (squash) March 30, 2022 20:11
@wyli wyli merged commit a0596e1 into master Mar 30, 2022
@wyli wyli deleted the update-perf-profilier branch March 30, 2022 20:15
boneseva pushed a commit to boneseva/MONAI-tutorials that referenced this pull request Apr 21, 2024
* update performance profilling

Signed-off-by: Yiheng Wang <vennw@nvidia.com>

* update pathology requirements

Signed-off-by: Yiheng Wang <vennw@nvidia.com>

* keep the old folder

Signed-off-by: Yiheng Wang <vennw@nvidia.com>

* use nsys for radiology

Signed-off-by: Yiheng Wang <vennw@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

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.

Dlprof tool deprecated
3 participants