Skip to content

[torchlib] Implement aten::_scaled_dot_product_efficient_attention.default #1160

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
BowenBao opened this issue Nov 16, 2023 · 2 comments · Fixed by #1197
Closed

[torchlib] Implement aten::_scaled_dot_product_efficient_attention.default #1160

BowenBao opened this issue Nov 16, 2023 · 2 comments · Fixed by #1197
Assignees
Labels
contribution welcome We welcome code contributions for this module: torchlib Related to the torch/aten function lib in development

Comments

@BowenBao
Copy link
Contributor

BowenBao commented Nov 16, 2023

From models. This op is emitted from cuda export only.

    cait_m36_384
    deit_base_distilled_patch16_224
    crossvit_9_240
    mobilevit_s
    pit_b_224
    nanogpt
    timm_vision_transformer
    beit_base_patch16_224
    stable_diffusion_unet

From https://github.com/microsoft/onnx-converters-private/issues/196

cc @justinchuby

@BowenBao BowenBao added the module: torchlib Related to the torch/aten function lib in development label Nov 16, 2023
@justinchuby justinchuby added the contribution welcome We welcome code contributions for this label Nov 16, 2023
@titaiwangms
Copy link
Contributor

Does it make any difference on torchlib implementation if the op is meant for CUDA? If not, I can take this real quick.

@titaiwangms titaiwangms self-assigned this Nov 29, 2023
@BowenBao
Copy link
Contributor Author

It appears only in cuda export, other than that I don't feel in general there is a difference for torchlib impl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome We welcome code contributions for this module: torchlib Related to the torch/aten function lib in development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants