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

question about long softmax #7

Open
hgl71964 opened this issue Apr 4, 2024 · 1 comment
Open

question about long softmax #7

hgl71964 opened this issue Apr 4, 2024 · 1 comment

Comments

@hgl71964
Copy link

hgl71964 commented Apr 4, 2024

I solve the long softmax puzzels, but I have to store the intermediate results to z_ptr, which may cause unnecessary Memory I/O.

Essentially, I would like to know if there's a solution to create temporary array in shared memory and store intermediate results there in Triton?

@srush
Copy link
Owner

srush commented Apr 4, 2024

There is 😃

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

No branches or pull requests

2 participants