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

mlx-community/gemma-2-2b-it-4bit infer error #2537

Open
ktmobility1 opened this issue Oct 3, 2024 · 1 comment
Open

mlx-community/gemma-2-2b-it-4bit infer error #2537

ktmobility1 opened this issue Oct 3, 2024 · 1 comment

Comments

@ktmobility1
Copy link

I am trying to infer mlx-community/gemma-2-2b-it-4bit using the candle-examples/gemma sample.

But the following error occurs:
Error: shape mismatch for model.embed_tokens.weight, expected: [256000, 2304], got: [256000, 288]

It's very difficult for me as I'm a beginner. Please help me.

@akashicMarga
Copy link

mlx-community/gemma-2-2b-it-4bit this model can be used with mlx framework. check model card - https://huggingface.co/mlx-community/gemma-2-2b-it-4bit

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

2 participants