8000 [Inductor] Fix cuda_kernel typing by mlazos · Pull Request #150908 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[Inductor] Fix cuda_kernel typing #150908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 33 commits into from
Closed

Conversation

Copy link
pytorch-bot bot commented Apr 9, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit dfe295f with merge base de20d76 (image):

NEW FAILURES - The following jobs have failed:

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

make_kernel_render: Callable[[CUDATemplateBuffer, Optional[list[IRNode]]], str],
make_kernel_render: Callable[
[CUDATemplateBuffer, Optional[list[IRNode]]],
tuple[CUDATemplateKernel, functools.partial[str]],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is functool partial to restrictive here? Curious if the typing should be a Callable instead? Unless we are using specific functionality or hidden attrs only supported by partial functions.

make_kernel_render: Callable[
[CUDATemplateBuffer, Optional[list[IRNode]]],
tuple[CUDATemplateKernel, functools.partial[str]],
],
bmreq: CUDABenchmarkRequest,
template: "CUDATemplate", # type: ignore[name-defined]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: why isn't this Typed? Missing import in TYPE_CHECKING block

mlazos added a commit that referenced this pull request Apr 9, 2025
ghstack-source-id: 317fe01
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 9, 2025
ghstack-source-id: 2e46d64
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 10, 2025
ghstack-source-id: c8259db
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 10, 2025
ghstack-source-id: c81eb49
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 10, 2025
ghstack-source-id: 155fbba
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 11, 2025
ghstack-source-id: 17c4198
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 11, 2025
ghstack-source-id: 17c4198
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
Divigroup-RAP pushed a commit to Divigroup-RAP/PYTORCH that referenced this pull request Apr 22, 2025
ghstack-source-id: 94b316d
Pull Request resolved: pytorch/pytorch#150908
mlazos added a commit that referenced this pull request Apr 22, 2025
ghstack-source-id: 94b316d
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 25, 2025
ghstack-source-id: 77cfd32
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 26, 2025
ghstack-source-id: 1853112
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 27, 2025
ghstack-source-id: 1853112
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 27, 2025 8000
ghstack-source-id: 1853112
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 27, 2025
ghstack-source-id: 1853112
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 27, 2025
ghstack-source-id: 1853112
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 27, 2025
ghstack-source-id: 1853112
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 28, 2025
ghstack-source-id: 1853112
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 28, 2025
ghstack-source-id: efc6040
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 28, 2025
ghstack-source-id: 642225c
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 29, 2025
ghstack-source-id: e61ab35
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 29, 2025
ghstack-source-id: e61ab35
Pull Request resolved: #150908
mlazos added a commit that referenced this pull request Apr 29, 2025
ghstack-source-id: e61ab35
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Apr 29, 2025
ghstack-source-id: 61ef1e6
Pull Request resolved: #150908
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov

[ghstack-poisoned]
@mlazos mlazos closed this May 3, 2025
@mlazos
Copy link
Contributor Author
mlazos commented May 3, 2025

Merged into other PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
< 4D22 div class="discussion-sidebar-heading text-bold"> Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0