Skip to content

Avoid checked conversions in tensor GEMM kernels#876

Merged
maleadt merged 3 commits into
mainfrom
tb/gemm_inexacterror
Jul 17, 2026
Merged

Avoid checked conversions in tensor GEMM kernels#876
maleadt merged 3 commits into
mainfrom
tb/gemm_inexacterror

Conversation

@maleadt

@maleadt maleadt commented Jul 16, 2026

Copy link
Copy Markdown
Member

No description provided.

@maleadt
maleadt merged commit 8200381 into main Jul 17, 2026
17 of 19 checks passed
@maleadt
maleadt deleted the tb/gemm_inexacterror branch July 17, 2026 05:53
@maleadt

maleadt commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

FWIW, this shouldn't have been required. I'm not sure where the sudden failure came from, but it now also happens on FlashAttention. Maybe a bug/change in Julia or GPUCompiler? I'm taking a look.

@christiangnrd

Copy link
Copy Markdown
Member

I didn’t even notice a failure. What configuration/version was it happening with?

@maleadt

maleadt commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

It's an order-dependent inference failure, observed on 1.12+. I also noticed it on #870 where the FlashAttention example started to fail.

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