Skip to content

Mark unused parameters in torch/csrc/api - #199460

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

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

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/api (C++ frontend), Dtype.cpp and Generator.cpp, to address clang-tidy unused-parameter warnings. No behavior change is intended.

Split by area from a larger cleanup; related to #199453.

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/199460

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

✅ No Failures

As of commit 71b084c 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.

@pytorch-bot pytorch-bot Bot added the release notes: cpp release notes category label Oct 2, 2026
@cyyever
cyyever marked this pull request as ready for review October 2, 2026 07:40
pytorchmergebot pushed a commit that referenced this pull request Oct 2, 2026
Comment out the names of unused function parameters (`T /*name*/`) in top-level torch/csrc files, 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).

Pull Request resolved: #199453
Approved by: https://github.com/janeyx99, https://github.com/Skylion007
pytorchmergebot pushed a commit that referenced this pull request Oct 3, 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. #199460).

Test plan: not verified locally; relying on CI.

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

Pull Request resolved: #199468
Approved by: https://github.com/Skylion007
pytorchmergebot pushed a commit that referenced this pull request Oct 3, 2026
Comment out the names of unused function parameters (`T /*name*/`) in inductor, stable, shim, fx and nativert, 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).

Pull Request resolved: #199467
Approved by: https://github.com/janeyx99
@janeyx99 janeyx99 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 6, 2026
pytorchmergebot pushed a commit that referenced this pull request Oct 7, 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. #199460).

Test plan: not verified locally; relying on CI.

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

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

cyyever commented Oct 7, 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 7, 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

@cyyever

cyyever commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot 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

pytorchmergebot pushed a commit that referenced this pull request Oct 7, 2026
Comment out the names of unused function parameters (`T /*name*/`) in torch/csrc/lazy, 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).

Pull Request resolved: #199465
Approved by: https://github.com/janeyx99
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 top-level torch/csrc files, 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#199453
Approved by: https://github.com/janeyx99, https://github.com/Skylion007
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
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 inductor, stable, shim, fx and nativert, 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#199467
Approved by: https://github.com/janeyx99
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
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/api (C++ frontend), `Dtype.cpp` and `Generator.cpp`, to address clang-tidy unused-parameter warnings. No behavior change is intended.

Split by area from a larger cleanup; related to pytorch#199453.

Test plan: not verified locally; relying on CI.

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

Pull Request resolved: pytorch#199460
Approved by: https://github.com/janeyx99
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/lazy, 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#199465
Approved by: https://github.com/janeyx99

This branch was previously deployed

1 inactive deployment
bedrock — 71b084c6 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

ciflow/trunk Trigger trunk jobs on your pull request Merged open source release notes: cpp release notes 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.

5 participants