Skip to content

Conversation

hebiao064
Copy link

I found that for certain shape such as (32, 128) * (128, 1024), if we replace aten::mm with matmul_persistent, the output would consist NaN hence generate gibberish output from LLMs.

I tried to fixed in by removing the dual pipeline logic(?) and it should work.

I've also tested with more shapes combination here: https://github.com/sgl-project/sglang/pull/11368/files#diff-fc88db1a639b98e0e4cceb66f72842a1612290664ba6753ad6f54d8276e0cd6aR88-R131

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.

1 participant