Skip to content
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

[Inductor cutlass backend] Enable torch.bmm and torch.baddbmm support #113890

Closed
wants to merge 22 commits into from

Conversation

kadeng
Copy link
Contributor

@kadeng kadeng commented Nov 16, 2023

Stack from ghstack (oldest at bottom):

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Nov 16, 2023

🔗 Helpful Links

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

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

❌ 13 New Failures, 13 Unrelated Failures

As of commit c5ef3b9 with merge base afe6d27 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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

…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]

CUTLASSGemmTemplate.add_cutlass_gemm_choices(
choices, layout, [mat1, mat2], fuseable=True, non_fuseable=True
)

return autotune_select_algorithm("bmm", choices, [mat1, mat2], layout)


# Don't register this since it is slower than decomposing it
# @register_lowering(aten.baddbmm)
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems that this lowering is not registered?

…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
…bmm support"

This adds support for torch.bmm and torch.baddbmm operations through Cutlass backend. A comparatively simple addition.

[ghstack-poisoned]
@kadeng
Copy link
Contributor Author

kadeng commented Dec 15, 2023

Moved to a (draft) feature branch, see #115919

@kadeng kadeng closed this Dec 15, 2023
@facebook-github-bot facebook-github-bot deleted the gh/kadeng/26/head branch January 14, 2024 15:23
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.

None yet

2 participants