Skip to content

Microsoft Harrier OSS support - #58

Open
kyr0 wants to merge 1 commit into
Blaizzy:mainfrom
kyr0:main
Open

Microsoft Harrier OSS support #58
kyr0 wants to merge 1 commit into
Blaizzy:mainfrom
kyr0:main

Conversation

@kyr0

@kyr0 kyr0 commented Apr 11, 2026

Copy link
Copy Markdown

This change adds support for Microsoft Harrier OSS by implementing a more generic code path for gemma3_text embeddings that doesn't require dense heads. This PR is meant to be challenged strongly by you @Blaizzy please :) We know each other from my last MLX audio patch that eventually got merged. This time I'm not sure if this generic solution would still be compatible with all other Gemma 3 embedding model type variants. Do we have any e2e/integration tests? I'd love to see projects like this having a Makefile where you simply do: make e2e and it runs thru all models, downloads them one by one, drops them again, and runs inference per-model. Only this way we could get 100% certainty that every code change does well. Not sure but we have Github Actions with macOS runners. Maybe we can even automate this...?

@kyr0

kyr0 commented Apr 11, 2026

Copy link
Copy Markdown
Author

Anyways, you can test this PR with this in a few copy & paste commands :)

  1. Download the model (quantized using my fork of this project with exactly this commit as diff): https://huggingface.co/kyr0/Harrier-Waldwicht-Wurzler-MLX

  2. Copy & paste my Makefile from my Waldwicht project

  3. Run:

 make test-embed EMBED_TEXT="mlx-embedding is such a cool project"

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