lmstudio-ai / lmstudio-ai/mlx-engine

mlx1.6.0仍然无法加载gemma4

Open
#312 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
133
Avg merge
21h 6m
Merged PRs (30d)
1

Description

Error when loading model: ValueError: Expected shape (8192, 672) but received shape (8192, 1344) for parameter language_model.model.layers.0.self_attn.q_proj.weight
#301

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Gemma 4 loading failure with MLX 1.6.0 and review the related issue #301 for context. The issue does not name a source file or test; done means the model loads without the reported q_proj.weight shape mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.