Skip to content

NAMO-R1 Model is Amazing! How to Convert it to MLX? #277

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

Open
yourappleintelligence opened this issue Mar 26, 2025 · 0 comments
Open

NAMO-R1 Model is Amazing! How to Convert it to MLX? #277

yourappleintelligence opened this issue Mar 26, 2025 · 0 comments

Comments

@yourappleintelligence
Copy link

I tested the NAMO-R1 model, and the results are amazing! Now, I’m wondering what kind of performance boost and efficiency it could achieve with MLX on Apple Silicon.

The model is in .safetensors format and includes:

  • namo.llm (a language model)
  • namo.ve (possibly a vision encoder)

I’d love to convert it to MLX, but I’m not sure where to start. I’ve tried extracting the weights and exploring MLX documentation, but I still need guidance on:

  • Way for converting safetensors to MLX-compatible format
  • Defining the model architecture in mlx.nn
  • Mapping and loading the weights correctly

Has anyone here worked on similar model conversions? Any guides, scripts, or insights would be greatly appreciated!

Can’t wait to see what magic NAMO-R1 + MLX can do.

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

1 participant