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

LLVM ERROR: mma16816 data type not supported #4922

Open
mobicham opened this issue Oct 16, 2024 · 0 comments
Open

LLVM ERROR: mma16816 data type not supported #4922

mobicham opened this issue Oct 16, 2024 · 0 comments

Comments

@mobicham
Copy link

The latest Triton build (3.1.0) throws the following error when using bitpacked data inside a loop with tl.dot:

LLVM ERROR: mma16816 data type not supported

This error happens on Ampere and Hopper, but not on older gpus like the Titan RTX/2080 Ti.

The bitpacked data is read with indices in the form offs_k[:, None] // num_elements, something like [0,0,0...1,1,1...64,64,64].

I have faced this error in the previous build and I found that replacing for k in range(0, total_blocks_k, 1): with for k in tl.range(0, total_blocks_k, 1, num_stages=1): solved the issue, but this trick no longer works with 3.1.0.

Here's a full-script to reproduce it.
https://gist.github.com/mobicham/f9eba3c07f7e497ae622194a9c5e4822

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

1 participant