Skip to content

llama : fix compatibility with old 2 expert models #6735

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

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

slaren
Copy link
Member

@slaren slaren commented Apr 18, 2024

The correct number of extra tensors needed is 3 per layer, not n_expert, so it wouldn't allocate enough tensors for models with 2 experts.

Fixes the second issue reported in #6379

This comment has been minimized.

@ggerganov ggerganov merged commit c71bfd7 into master Apr 18, 2024
@slaren slaren deleted the sl/moe-extra-tensors-fix branch April 18, 2024 11:08
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.

3 participants