Skip to content

Mark unused parameters in cuda and profiler - #199466

Closed
cyyever wants to merge 1 commit into
pytorch:mainfrom
cyyever:unused_p9_cuda
Closed

cyyever wants to merge 1 commit into
pytorch:mainfrom
cyyever:unused_p9_cuda

Conversation

@cyyever

@cyyever cyyever commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Comment out the names of unused function parameters (T /*name*/) in torch/csrc/cuda, torch/csrc/profiler and torch/csrc/acc, to address clang-tidy unused-parameter warnings. No behavior change is intended.

Split by area from a larger cleanup (see also the other "Mark unused parameters" PRs, e.g. #199460).

Test plan: not verified locally; relying on CI.

This PR was authored with an AI assistant (Claude Code).

Signed-off-by: Yuanyuan Chen <[email protected]>
@pytorch-bot

pytorch-bot Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 12 New Failures

As of commit a4e84a8 with merge base 326909e (image):

NEW FAILURES - The following jobs have failed:

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

@cyyever
cyyever marked this pull request as ready for review October 2, 2026 07:40
@github-actions github-actions Bot added bot-triaged This is a label only to be used by the auto triage bot triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Oct 2, 2026
@cyyever

cyyever commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Oct 6, 2026
@cyyever

cyyever commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -i

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

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 0 checks:

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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 9 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@cyyever

cyyever commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -f "Unrelated failures"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

cyyever added a commit to BakeLab/pytorch that referenced this pull request Oct 11, 2026
Comment out the names of unused function parameters (`T /*name*/`) in torch/csrc/cuda, torch/csrc/profiler and torch/csrc/acc, to address clang-tidy unused-parameter warnings. No behavior change is intended.

Split by area from a larger cleanup (see also the other "Mark unused parameters" PRs, e.g. pytorch#199460).

Test plan: not verified locally; relying on CI.

This PR was authored with an AI assistant (Claude Code).

Pull Request resolved: pytorch#199466
Approved by: https://github.com/eqy

This branch was previously deployed

1 inactive deployment
bedrock — a4e84a86 Deployed Oct 2, 2026 by soulitzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot-triaged This is a label only to be used by the auto triage bot ciflow/trunk Trigger trunk jobs on your pull request Merged open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants