[BE][inductor] Apply PEP 604 type annotations (part 1/3)#175675
[BE][inductor] Apply PEP 604 type annotations (part 1/3)#175675Lucaskabela wants to merge 1 commit intomainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/175675
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 1403202 with merge base 2931704 ( BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Quick note for reviewers:
|
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from analysis/ through codegen/nv_universal_gemm/. Authored with Claude.
382bf7c to
1403202
Compare
|
@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 |
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from analysis/ through codegen/nv_universal_gemm/. Split branch with Claude. Pull Request resolved: pytorch#175675 Approved by: https://github.com/PaulZhang12, https://github.com/karthickai
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from fx_passes/misc_patterns through wrapper_benchmark. Split with Claude. See also #175675 and #175676 Pull Request resolved: #175677 Approved by: https://github.com/v0i0
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from codegen/nv_universal_gemm/ through fx_passes/joint_graph. Split branch with Claude. See also #175675 Pull Request resolved: #175676 Approved by: https://github.com/v0i0
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from codegen/nv_universal_gemm/ through fx_passes/joint_graph. Split branch with Claude. See also #175675 Pull Request resolved: #175676 Approved by: https://github.com/v0i0, https://github.com/fxdawnn
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from codegen/nv_universal_gemm/ through fx_passes/joint_graph. Split branch with Claude. See also #175675 Pull Request resolved: #175676 Approved by: https://github.com/v0i0, https://github.com/fxdawnn
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from fx_passes/misc_patterns through wrapper_benchmark. Split with Claude. See also #175675 and #175676 Pull Request resolved: #175677 Approved by: https://github.com/v0i0
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from fx_passes/misc_patterns through wrapper_benchmark. Split with Claude. See also pytorch#175675 and pytorch#175676 Pull Request resolved: pytorch#175677 Approved by: https://github.com/v0i0
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from analysis/ through codegen/nv_universal_gemm/. Split branch with Claude. Pull Request resolved: pytorch#175675 Approved by: https://github.com/PaulZhang12, https://github.com/karthickai
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from fx_passes/misc_patterns through wrapper_benchmark. Split with Claude. See also pytorch#175675 and pytorch#175676 Pull Request resolved: pytorch#175677 Approved by: https://github.com/v0i0
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from codegen/nv_universal_gemm/ through fx_passes/joint_graph. Split branch with Claude. See also pytorch#175675 Pull Request resolved: pytorch#175676 Approved by: https://github.com/v0i0
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from codegen/nv_universal_gemm/ through fx_passes/joint_graph. Split branch with Claude. See also pytorch#175675 Pull Request resolved: pytorch#175676 Approved by: https://github.com/v0i0, https://github.com/fxdawnn
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from codegen/nv_universal_gemm/ through fx_passes/joint_graph. Split branch with Claude. See also pytorch#175675 Pull Request resolved: pytorch#175676 Approved by: https://github.com/v0i0, https://github.com/fxdawnn
) Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from fx_passes/misc_patterns through wrapper_benchmark. Split with Claude. See also pytorch#175675 and pytorch#175676 Pull Request resolved: pytorch#175677 Approved by: https://github.com/v0i0
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers files from analysis/ through codegen/nv_universal_gemm/.
Split branch with Claude.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo