Apple Silicon framework for language and vision models
Top 95.9% on sourcepulse
This project provides a Python framework for running Phi-3 language and vision models locally on Apple Silicon Macs, optimized with the MLX framework. It targets developers and researchers needing efficient, on-device AI capabilities for tasks like visual question answering, text generation, and agent-based workflows, offering significant performance gains through MLX optimization and quantization.
How It Works
Phi-3-MLX leverages the MLX framework, Apple's array computation library, to achieve high performance on Apple Silicon. It integrates the Phi-3-Vision multimodal model and Phi-3-Mini-128K language model, supporting features like batched generation, model quantization for reduced memory footprint, and LoRA fine-tuning. The framework also includes a flexible agent system that can utilize custom toolchains and external APIs for advanced tasks.
Quick Start & Requirements
pip install phi-3-vision-mlx
git clone https://github.com/JosefAlbers/Phi-3-Vision-MLX.git && cd Phi-3-Vision-MLX && pip install -e .
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The PyPI version may not always be up-to-date, recommending installation directly from the repository. Specific performance metrics are provided for an M1 Max 64GB, and performance may vary on other Apple Silicon configurations.
10 months ago
1 day