Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.62 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.62 KB

MLXKit

MLXKit is a Swift library that provides an OpenAI compatible API layer to MLX. MLXKit can be used to create MLX servers or incorporated in chat clients.

MLXKit is in development and not intented for production.

Highlights

Supported OpenAI API

OpenAI API
Chat completion
Chat completion streaming
Vision
Text to speech
Speech to text
Moderation
Images
Assistants (beta)
Embeddings
Fine-tuning

Supported MLX models

See MLX Community on HuggingFace

Installation

The MLXKit package can be built from Xcode or SwiftPM.

In Xcode you can add https://github.com/ronaldmannak/MLXkit as a package dependency.

Requirements

  • MLX is only available on devices running macOS >= 13.5 It is highly recommended to use macOS 14 (Sonoma)