theaicatalog
Hugging Face ยท Open source

AnyLanguageModel 1.0 lets Swift apps switch between local and hosted models

Hugging Face has released AnyLanguageModel 1.0, along with swift-huggingface 1.0 and swift-xet 1.0. The library is a drop-in replacement for Apple's Foundation Models framework, so developers change one import statement and can run open-weight models through llama.cpp, MLX, and Core ML. It also supports hosted providers such as OpenAI, Anthropic, Google Gemini, and Hugging Face Inference Providers, and it runs on Linux.