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

ATen Op Supports Int Return Type and CPU Tensor Arguments #19773

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

centwang
Copy link
Contributor

@centwang centwang commented Mar 5, 2024

This PR:

  • add support for int as return type, will create a CPU scalar tensor for it.
  • add attributes to specify which arguments or returns are CPU tensors.
  • adjust ATen efficient attn to match latest PyTorch native function.
  • a Triton codegen bugfix by the way.

@centwang centwang requested a review from zhijxu-MS March 5, 2024 05:24
@centwang centwang merged commit 1bfc266 into main Mar 6, 2024
95 checks passed
@centwang centwang deleted the weicwang/aten branch March 6, 2024 02:11
zz002 pushed a commit to zz002/onnxruntime that referenced this pull request Mar 7, 2024
…19773)

This PR:
- add support for int as return type, will create a CPU scalar tensor
for it.
- add attributes to specify which arguments or returns are CPU tensors.
- adjust ATen efficient attn to match latest PyTorch native function.
- a Triton codegen bugfix by the way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants