Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Simplify nvtx3 CMake handling, always use nvtx3 #153784

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
Loading
from

Conversation

cyyever
Copy link
Collaborator

@cyyever cyyever commented May 18, 2025

Fixes #ISSUE_NUMBER

Copy link

pytorch-bot bot commented May 18, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/153784

Note: Links to docs will display an error until the docs builds have been completed.

❌ 6 New Failures, 1 Unrelated Failure

As of commit a705ea2 with merge base 4613081 (image):

NEW FAILURES - The following jobs have failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@cyyever cyyever requested review from nWEIdia and removed request for eqy, syed-ahmed and sraikund16 May 18, 2025 01:00
@cyyever cyyever force-pushed the nvtx3_fix_final branch 2 times, most recently from be25ee9 to 81a9132 Compare May 18, 2025 01:17
@cyyever cyyever marked this pull request as draft May 18, 2025 01:20
@cyyever cyyever force-pushed the nvtx3_fix_final branch 2 times, most recently from a767cf2 to b26bbcc Compare May 19, 2025 10:00
@cyyever
Copy link
Collaborator Author

cyyever commented May 19, 2025

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label May 19, 2025
@cyyever cyyever force-pushed the nvtx3_fix_final branch 2 times, most recently from 22de8de to 2b21267 Compare May 19, 2025 10:23
@@ -127,36 +124,12 @@ endif()

# ---[ CUDA libraries wrapper

# find lbnvrtc.so
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be better to separate nvtx and nvrtc changes?

@@ -961,20 +961,15 @@ if(USE_CUDNN)
endif()

# ---[ nvtx
if(USE_SYSTEM_NVTX)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Although this might not be a common use case since we have shipped nvtx header files, deleting this would eliminate the possibility of using system nvtx?
Would it always find the nvtx shipped with the src code? Or how can it find system nvtx?

@@ -107,7 +107,6 @@ function(caffe2_print_configuration_summary)
get_target_property(__tmp torch::cudss INTERFACE_LINK_LIBRARIES)
message(STATUS " cuDSS library : ${__tmp}")
endif()
message(STATUS " nvrtc : ${CUDA_nvrtc_LIBRARY}")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where would nvrtc info be printed? Again, this PR title seems to be specific to nvtx, suggest nvrtc in a separate PR.

Copy link
Collaborator

@nWEIdia nWEIdia left a comment

Choose a reason for hiding this comment

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

Such changes need to be tested with downstream tasks, is there a way to test this before merge? e.g. build with torchvision, torchaudio, https://github.com/NVIDIA/Fuser etc.

@cyyever cyyever force-pushed the nvtx3_fix_final branch from 2b21267 to a705ea2 Compare May 29, 2025 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.