Skip to content

[Test] Deduplicate CUDA Kineto setup - #198209

Closed
gderossi wants to merge 1 commit into
pytorch:mainfrom
gderossi:common-profiler-setup
Closed

gderossi wants to merge 1 commit into
pytorch:mainfrom
gderossi:common-profiler-setup

Conversation

@gderossi

@gderossi gderossi commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

This PR extracts CUDA Kineto initialization from test files into a shared helper, reducing code duplication. It also adds the initialization to test/test_linalg.py to fix related test failures.

Fixes #197005
cc @eqy

@pytorch-bot

pytorch-bot Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ You can merge normally! (2 Unrelated Failures)

As of commit 4e6bc69 with merge base 3fc2dd5 (image):

CRCR (non-blocking) - The following CRCR downstream CI jobs failed but are non-blocking:

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

@pytorch-bot pytorch-bot Bot added the release notes: linalg_frontend release notes category label Sep 22, 2026
@gderossi gderossi added topic: not user facing topic category and removed release notes: linalg_frontend release notes category labels Sep 22, 2026
@gderossi
gderossi force-pushed the common-profiler-setup branch from 3d699ce to cb90a1d Compare September 22, 2026 15:44

@Skylion007 Skylion007 left a comment

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.

Submodule update

@gderossi
gderossi force-pushed the common-profiler-setup branch from cb90a1d to 4e6bc69 Compare September 22, 2026 16:02
@gderossi

Copy link
Copy Markdown
Collaborator Author

Submodule update

Ugh sorry clicked the wrong button in Cursor, fixed now

@gderossi
gderossi requested a review from Skylion007 September 22, 2026 18:28
@Skylion007

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 22, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test] test_linalg.py failures when CUDA profiling runs after CPU-only profiling

4 participants