Skip to content

Conversation

@ikawrakow
Copy link
Owner

When I implemented run time repacking, I required the tensor to be 2D to be eligible for repacking, I guess to simplify the code. But I forgot about MoE models, where expert weights are in 3D tensors.

This PR fixes that. This leads to very significant performance gains. E.g., for DeepSeek-Lite quantized with IQ4_XS, we get PP-512 = 545 t/s on the main branch, and PP-512 = 677 t/s with this PR when using run time repacking.

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