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

Move allocations out of torch ops #740

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Conversation

nandor
Copy link
Contributor

@nandor nandor commented Jan 16, 2025

Torch ops ban the input and output pointers from aliasing altogether, thus they cannot be sliced from the same allocation. Some use cases migth also wish to explicitly specify the output buffers, this is a step towards enabling that.

@yzh119 yzh119 self-requested a review January 17, 2025 22:34
Copy link
Collaborator

@yzh119 yzh119 left a comment

Choose a reason for hiding this comment

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

Rebased onto mainline, thanks for your contribution @nandor !

@yzh119 yzh119 merged commit 0129159 into flashinfer-ai:main Jan 24, 2025
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