Skip to content

fix - windows compatibility#59

Open
JayWiz wants to merge 2 commits into
NVIDIA:mainfrom
JayWiz:fix/windows-compatibility
Open

fix - windows compatibility#59
JayWiz wants to merge 2 commits into
NVIDIA:mainfrom
JayWiz:fix/windows-compatibility

Conversation

@JayWiz

@JayWiz JayWiz commented Jul 14, 2026

Copy link
Copy Markdown

minor change to ensure windows compatibility in v1.0.0

@copy-pr-bot

copy-pr-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@nvssatoor
nvssatoor requested a review from hsahuja0805 July 15, 2026 08:00
@acollins3

Copy link
Copy Markdown
Collaborator

/ok to test 34f08c3

Comment thread nsight/collection/ncu.py Outdated

@hsahuja0805 hsahuja0805 Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please use the resolved executable instead of the bare name since it will fail for some cases on Windows. Instead of ncu here, assign shutil.which("ncu") or "ncu" to a variable and use that instead.

In test_collection.py:test_launch_ncu_runs_with_ncu_available test
With the shutil.which change here , cmd[0] is the resolved path, so patch shutil.which (e.g. @patch("shutil.which", return_value="resolved-ncu")) and assert "resolved-ncu" here.

@hsahuja0805
hsahuja0805 force-pushed the fix/windows-compatibility branch from 34f08c3 to fa6d0bb Compare July 23, 2026 10:40
@hsahuja0805

Copy link
Copy Markdown
Collaborator

/ok to test fa6d0bb

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.

4 participants