[inductor][heuristics] Update total tiling score when it is zero#176423
[inductor][heuristics] Update total tiling score when it is zero#176423kundaMwiza wants to merge 1 commit intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/176423
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 68df582 with merge base 14f828c ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
@pytorchbot label "topic: not user facing" |
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 1 jobs have failed, first few of them are: linux-aarch64 / linux-jammy-aarch64-py3.10 / test (openreg, 1, 1, linux.arm64.m7g.4xlarge) Details for Dev Infra teamRaised by workflow job |
|
Test timed out, retrying |
|
@pytorchbot merge |
Merge startedYour 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 |
|
@pytorchbot merge |
Merge startedYour 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 |
…orch#176423) - When the total score is zero, it should be updated otherwise there will be a division by zero error - Trying to create a repro proved difficult. Example state that produces this is: ```python size_hints = {"y": 4096, "x": 64, "r0_": 128} inductor_meta = { "tiling_scores": {"y": 134217728, "x": 2097152, "r0_": 0}, "num_load": 1, } triton_meta = { "signature": { "in_ptr0": "*fp32", "out_ptr0": "*fp32", "ynumel": "i32", "xnumel": "i32", "r0_numel": "i32", "YBLOCK": "constexpr", "XBLOCK": "constexpr", "R0_BLOCK": "constexpr", } } persistent_reduction=False ``` Pull Request resolved: pytorch#176423 Approved by: https://github.com/jansel
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo