Skip to content

Add gemma4_unified model alias for Gemma 4 12B support#1386

Open
manzar-shahaan wants to merge 1 commit into
ml-explore:mainfrom
manzar-shahaan:add-gemma4-unified-model
Open

Add gemma4_unified model alias for Gemma 4 12B support#1386
manzar-shahaan wants to merge 1 commit into
ml-explore:mainfrom
manzar-shahaan:add-gemma4-unified-model

Conversation

@manzar-shahaan

Copy link
Copy Markdown

Gemma 4 12B uses model_type gemma4_unified in its config.json, which
causes mlx-lm to throw:

ValueError: Model type gemma4_unified not supported

This adds a simple alias file that maps gemma4_unified to the existing
gemma4 implementation, which resolves the error.

Tested on M1 Pro 16GB with mlx-community/gemma-4-12b-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

Successfully merging this pull request may close these issues.

1 participant