Skip to content

Mark unused parameters in c10 and torch/csrc/utils - #199468

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

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

Conversation

@cyyever

@cyyever cyyever commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Comment out the names of unused function parameters (T /*name*/) in c10, torch/csrc/utils, tensor and multiprocessing, 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/199468

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

✅ No Failures

As of commit a358439 with merge base 326909e (image):
💚 Looks good so far! There are no failures yet. 💚

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
@Skylion007 Skylion007 added the topic: not user facing topic category label Oct 2, 2026
@cyyever

cyyever commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 3, 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

@cyyever

cyyever commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge -f "It builds"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@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 c10, torch/csrc/utils, tensor and multiprocessing, 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#199468
Approved by: https://github.com/Skylion007

This branch was previously deployed

1 inactive deployment
bedrock — a3584395 Deployed Oct 2, 2026 by cyyever
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.

4 participants