transformers-to-mlx Skill
Convert Hugging Face transformers language models to MLX format for Apple Silicon inference. Use when asked to convert a model from transformers to MLX, port a model to MLX, create an MLX implementation of a model, or test/validate an MLX model conversion. Triggers include mentions of "convert to MLX", "MLX implementat Published by huggingface in transformers-to-mlx.
What is transformers-to-mlx Skill?
Convert Hugging Face transformers language models to MLX format for Apple Silicon inference. Use when asked to convert a model from transformers to MLX, port a model to MLX, create an MLX implementation of a model, or test/validate an MLX model conversion. Triggers include mentions of "convert to MLX", "MLX implementat Published by huggingface in transformers-to-mlx. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Testing use cases
Technical details
- Install or run with Copy skill directory
When to use transformers-to-mlx Skill
- Use it for testing.
Built with
Editorial notes
Source
- Creator: huggingface
- Repository: huggingface/transformers-to-mlx
- Skill file: skills/transformers-to-mlx/SKILL.md
What it does
Convert Hugging Face transformers language models to MLX format for Apple Silicon inference. Use when asked to convert a model from transformers to MLX, port a model to MLX, create an MLX implementation of a model, or test/validate an MLX model conversion. Triggers include mentions of "convert to MLX", "MLX implementat
Skill instructions
Transformers to MLX Model Conversion MLX-LM repo In all circumstances refer to the following repo and branch unless overridden by the user. GitHub repo: https://github.com/ml-explore/mlx-lm Branch: main Workflow Phase 0: Set up working environment 1. Verify uv is installed, use it to create a virtual environment. Always use uv pip install (not plain pip install) to install packages in the environment — this avoids resolver conflicts and is significantly faster. 2. git clone the mlx-repo from GitHub. ALWAYS USE the repo and branch specified in the MLX-LM repo section above. 3. Install mlx-lm in editable mode in the environment 4. Install transformers locally too, to ensure we have the latest version of the code: https://github.com/huggingface/transformers. You can clone with --depth 1 because it has many refs. Also install accelerate for devicemap support. 5. Make sure huggingfacehub is installed too, to use the hf CLI for model download. It comes with the previous libraries as a depend
Explore related resources
Frequently asked questions
What is transformers-to-mlx?
transformers-to-mlx is a open-source AI agent skill with Copy skill directory. Convert Hugging Face transformers language models to MLX format for Apple Silicon inference.
Who is transformers-to-mlx best for?
transformers-to-mlx is best for reusing agent instructions, scripts, and references, testing workflows.
How do I install transformers-to-mlx?
Install or run transformers-to-mlx using Copy skill directory. Check transformers-to-mlx for the latest setup command.
Is transformers-to-mlx actively maintained?
transformers-to-mlx may need a closer maintenance check before production use.
Auto-fetched from GitHub.