Skip to content

Mark unused parameters in inductor and nativert - #199467

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

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

Conversation

@cyyever

@cyyever cyyever commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

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).

@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/199467

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

⏳ 1 Pending, 3 Unrelated Failures

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

NEW FAILURES SUPPRESSED BY AI (non-blocking) - The following job failed, but the AI CI Advisor judged the failure not to be evidence against this change:

  • pull / linux-jammy-py3.11-gcc11 / test (distributed, 8, 8, mt-l-x86iamx-8-64) (gh)
    Could not load credentials from any providers

    AI verdict: AI verdict: infra issue

    The tests in the job ran and passed (for example, test_dtensor_ops 5/6 reported "was successful"). The job went red only because the aws-actions/configure-aws-credentials steps could not get AWS credentials through OIDC. After that, S3 uploads failed and the runner-container-hooks failed to reach the k8s API. The suspect commit only marks unused parameters in C++ files and does not touch any CI or workflow files.

    Full reasoning on HUD →

UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:

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

@janeyx99 janeyx99 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think u can do bigger patches to save CI time

@cyyever
cyyever force-pushed the unused_p9_inductor branch from 624557f to 6492cc8 Compare October 3, 2026 00:39
@cyyever
cyyever force-pushed the unused_p9_inductor branch from 6492cc8 to 5b69743 Compare October 3, 2026 00:40
@cyyever

cyyever commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator Author

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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 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 3, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 3 checks: pull / linux-jammy-py3.11-gcc11 / test (distributed, 8, 8, mt-l-x86iamx-8-64), inductor / unit-test / inductor-cpu-test / test (inductor_aoti_fallback, 1, 2, mt-l-x86iamx-8-64, unstable), inductor / unit-test / inductor-cpu-test / test (inductor_aoti_fallback, 2, 2, mt-l-x86iamx-8-64, unstable)

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 -i

@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 while ignoring the following 3 checks: pull / linux-jammy-py3.11-gcc11 / test (distributed, 8, 8, mt-l-x86iamx-8-64), inductor / unit-test / inductor-cpu-test / test (inductor_aoti_fallback, 1, 2, mt-l-x86iamx-8-64, unstable), inductor / unit-test / inductor-cpu-test / test (inductor_aoti_fallback, 2, 2, mt-l-x86iamx-8-64, unstable)

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants