Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dorukgezici/pydantic-ai-mlx-lm

Add mlx-lm support to Pydantic AI, run MLX compatible HF models on Apple silicon.
https://github.com/dorukgezici/pydantic-ai-mlx-lm

mlx mlx-lm pydantic-ai

Last synced: 12 days ago
JSON representation

Add mlx-lm support to Pydantic AI, run MLX compatible HF models on Apple silicon.

Awesome Lists containing this project

README

        


pydantic-ai-mlx-lm


MLX local inference for Pydantic AI through mlx-lm






pydantic-ai-mlx-lm


PyPI download count

Run MLX compatible HuggingFace models on Apple silicon locally with Pydantic AI.

Still in development:
- [x] Non-streaming and streaming text requests
- [ ] Tool support

_Apple's MLX seems more performant on Apple Silicon than llama.cpp, which is what Ollama uses. (as of January 25)_

## Installation

```bash
uv add pydantic-ai-mlx-lm
```