Skip to content

[inductor] Control coalesce tiling analysis with JustKnobs - #190351

Closed
eellison wants to merge 2 commits into
gh/eellison/1058/basefrom
gh/eellison/1058/head
Closed

eellison wants to merge 2 commits into
gh/eellison/1058/basefrom
gh/eellison/1058/head

Conversation

@eellison

@eellison eellison commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a

Authored with an AI assistant.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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:

❌ 1 New Failure, 2 Cancelled Jobs, 1 Pending, 3 Unclassified Failures

As of commit 3fb9247 with merge base f30b6ce (image):

NEW FAILURE - The following job has failed:

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

  • .github/workflows/inductor.yml (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    AI verdict: AI verdict: pending

  • .github/workflows/trunk.yml (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)

    AI verdict: AI verdict: inconclusive

    The partition data contains no events (no baseline, no failure logs). The PR only changes torch/_inductor/config.py, while the build timeouts (~6h48m) across many jobs suggest infrastructure issues likely triggered by .ci/docker/ changes from other concurrent commits merged into the same ghstack base update.

    Full reasoning on HUD →

  • .github/workflows/tsan.yml (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)

    AI verdict: AI verdict: not related

    The TSAN failure is a "workflow file issue" caused by broken .github/workflows/tsan.yml changes (adding use-arc references) that came from the ghstack base update, not from the PR's actual code change to torch/_inductor/config.py. The same failure affects multiple other PR branches that share the same base.

    Full reasoning on HUD →

CANCELLED JOBS - The following jobs were cancelled. Please retry:

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

@eellison eellison added the topic: not user facing topic category label Jul 17, 2026
@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 17, 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 jobs have failed, first few of them are: trunk / dynamo-unittest / dynamo-test (3.13) / test (dynamo_wrapped, 6, 7, mt-l-x86iavx512-8-64)

Details for Dev Infra team Raised by workflow job

@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -f "strict, config migration", no behavior change

@pytorch-bot

pytorch-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: unrecognized arguments: no behavior change

usage: @pytorchbot [-h]
                   
                   {merge,revert,rebase,label,drci,lint,fix-lint,apply-lint,cherry-pick}
                   ...

Try @pytorchbot --help for more info.

@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -f "strict, config migration, no behavior change"

@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

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: Merge rule check failed for stacked PR #190350:

PR #190350 has not been reviewed yet

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

[ghstack-poisoned]
eellison added a commit that referenced this pull request Jul 20, 2026
Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

ghstack-source-id: 3087798
Pull-Request: #190351
@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@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 jobs have failed, first few of them are: trunk / win-vs2022-cpu-py3 / test (default, 2, 4, windows.4xlarge.nonephemeral)

Details for Dev Infra team Raised by workflow job

@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot mege -f "unrelated failures"

@pytorch-bot

pytorch-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: argument command: invalid choice: 'mege' (choose from 'merge', 'revert', 'rebase', 'label', 'drci', 'lint', 'fix-lint', 'apply-lint', 'cherry-pick')

usage: @pytorchbot [-h]
                   
                   {merge,revert,rebase,label,drci,lint,fix-lint,apply-lint,cherry-pick}
                   ...

Try @pytorchbot --help for more info.

@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@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

@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 STARTUP failures reported, please check workflows syntax!

Details for Dev Infra team Raised by workflow job

@eellison

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge -f "internal just knob added since prior revert"

@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

youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
…ytorch#190351)"

This reverts commit b5f53e4.

Reverted pytorch#190351 on behalf of https://github.com/georgehong due to Reverting due to breaking internal tests (ErrorMessagesTest, DictGuardTests, and HigherOrderOpVmapGuardTests) ([comment](pytorch#190351 (comment)))
youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
…ytorch#190351)"

This reverts commit b5f53e4.

Reverted pytorch#190351 on behalf of https://github.com/georgehong due to Reverting due to breaking internal tests (ErrorMessagesTest, DictGuardTests, and HigherOrderOpVmapGuardTests) ([comment](pytorch#190351 (comment)))
youlituao pushed a commit to youlituao/pytorch that referenced this pull request Jul 28, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…ytorch#190351)"

This reverts commit b5f53e4.

Reverted pytorch#190351 on behalf of https://github.com/georgehong due to Reverting due to breaking internal tests (ErrorMessagesTest, DictGuardTests, and HigherOrderOpVmapGuardTests) ([comment](pytorch#190351 (comment)))
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
MelindaTan pushed a commit to MelindaTan/pytorch that referenced this pull request Jul 31, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
MelindaTan pushed a commit to MelindaTan/pytorch that referenced this pull request Jul 31, 2026
…ytorch#190351)"

This reverts commit b5f53e4.

Reverted pytorch#190351 on behalf of https://github.com/georgehong due to Reverting due to breaking internal tests (ErrorMessagesTest, DictGuardTests, and HigherOrderOpVmapGuardTests) ([comment](pytorch#190351 (comment)))
MelindaTan pushed a commit to MelindaTan/pytorch that referenced this pull request Jul 31, 2026
…90351)

Move the internal rollout control for coalesce tiling analysis to the standard
declarative Config mechanism used by async compile pool quiescing. This keeps
the existing environment override and OSS default while allowing internal
rollout through pytorch/inductor:coalesce_tiling_analysis without a bespoke
version helper.

Test Plan:

```
PYTHONPATH=$PWD python test/inductor/test_config.py TestInductorConfig
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=0 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is False; print(c.__file__)'
```

```
PYTHONPATH=$PWD TORCHINDUCTOR_COALESCE_TILING_ANALYSIS=1 python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
PYTHONPATH=$PWD python -c 'import torch._inductor.config as c; assert c.triton.coalesce_tiling_analysis is True; print(c.__file__)'
```

```
https_proxy=http://fwdproxy:8080 HTTPS_PROXY=http://fwdproxy:8080 lintrunner -a
```

Authored with an AI assistant.

Pull Request resolved: pytorch#190351
Approved by: https://github.com/zou3519
@github-actions
github-actions Bot deleted the gh/eellison/1058/head branch August 21, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/inductor ciflow/torchtitan Run TorchTitan integration tests ciflow/trunk Trigger trunk jobs on your pull request Merged module: inductor Reverted topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants