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

Shared memory out of resource #14

Open
TechxGenus opened this issue Aug 11, 2024 · 2 comments
Open

Shared memory out of resource #14

TechxGenus opened this issue Aug 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@TechxGenus
Copy link

Thanks for sharing this great resource.
I'm trying to run some benchmarks with test_mask from examples/flex_attn.ipynb on one RTX 4090. When I set B=1,H=16,S=2048,D=128, it triggers an error:

triton.runtime.errors.OutOfResources: out of resource: shared memory, Required: 131074, Hardware limit: 101376. Reducing block sizes or `num_stages` may help.
@drisspg
Copy link
Contributor

drisspg commented Aug 12, 2024

Thanks for opening this PR up! Admittedly we dont have much CI testing for PyTorch on 4090. Would you mind trying to create a minimal repro on posting it on PyTorch. Feel free to tag me in the issue

@TechxGenus
Copy link
Author

Thanks. I create it here: pytorch/pytorch#133254

@drisspg drisspg added the bug Something isn't working label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants