---
title: "Swift Transformers Reaches 1.0 – and Looks to the Future"
description: "swift-transformers, Hugging Face's Swift library for running local models on Apple Silicon, reaches 1.0."
url: "https://swe.quest/articles/swift-transformers-reaches-1-0-and-looks-to-the-future-a8395154e2037c4e"
canonical: "https://huggingface.co/blog/swift-transformers"
source: "Hugging Face"
published: "2025-09-26"
difficulty: "easy"
kind: "Release"
reading_minutes: 5
tags: ["swift","inference","llms","mobile"]
---

# Swift Transformers Reaches 1.0 – and Looks to the Future

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-09-26, 5 min read, Release. Original: [https://huggingface.co/blog/swift-transformers](https://huggingface.co/blog/swift-transformers)

## Summary

swift-transformers, Hugging Face's Swift library for running local models on Apple Silicon, reaches 1.0. The release makes Tokenizers and Hub standalone top-level modules and adopts a rewritten swift-jinja for chat templates that is orders of magnitude faster. It also moves to modern Core ML APIs with stateful models for KV caching and MLTensor, drops the CLI targets and the swift-argument-parser dependency, and fully supports Swift 6. The release includes breaking API changes, and future work will focus on MLX integration and agentic use cases including MCP.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Swift](https://swe.quest/tags/swift.md) (Languages)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)

## Prerequisites

- Swift packages ([easy posts on Swift](https://swe.quest/tags/swift.md?difficulty=easy))
- LLM tokenization ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

swift-transformers, Core ML, MLX, swift-jinja, Hugging Face Hub, MLTensor, WhisperKit, MCP

## Related posts

- [Releasing Swift Transformers: Run On-Device LLMs in Apple Devices](https://swe.quest/articles/releasing-swift-transformers-run-on-device-llms-in-apple-devices-ee6106831bf892fd.md): Hugging Face · 2023-08-08 · Medium · 15 min read · Swift, Inference & serving, LLMs, Mobile
  Hugging Face released swift-transformers, an alpha Swift package with a transformers-like API for on-device text generation, along with the swift-chat demo app, updated exporters and transformers-to-coreml conversion tools, and pre-converted Llama 2 7B and Falcon 7B Core ML models.
- [Introducing swift-huggingface: The Complete Swift Client for Hugging Face](https://swe.quest/articles/introducing-swift-huggingface-the-complete-swift-client-for-hugging-face-a785ae7c4e628cdb.md): Hugging Face · 2025-12-05 · Medium · 6 min read · Swift, Developer tools, Mobile, Machine learning
  swift-huggingface is a ground-up rewrite of the Swift client for the Hugging Face Hub, replacing swift-transformers' HubApi.
- [WWDC 24: Running Mistral 7B with Core ML](https://swe.quest/articles/wwdc-24-running-mistral-7b-with-core-ml-8ff5ba3b889a9bf2.md): Hugging Face · 2024-07-22 · Medium · 13 min read · Inference & serving, LLMs, Swift, Mobile
  Mistral 7B Instruct can run on a Mac with Core ML using features new in iOS 18 and macOS Sequoia: the MLTensor Swift type for tensor pre- and post-processing, stateful buffers that keep the kv-cache on the GPU instead of passing it in and out on every call, and block-wise 4-bit quantization.
- [AnyLanguageModel 1.0: One Year of Local Models on Apple Platforms](https://swe.quest/articles/anylanguagemodel-1-0-one-year-of-local-models-on-apple-platforms-2fd58a39aa0b428c.md): Hugging Face · 2026-10-20 · Medium · 4 min read · Swift, LLMs, Inference & serving, Mobile, API design
  AnyLanguageModel 1.0 is a Swift package that acts as a drop-in replacement for Apple's Foundation Models framework, letting apps swap the model and provider by changing a single import.
- [Introducing AnyLanguageModel: One API for Local and Remote LLMs on Apple Platforms](https://swe.quest/articles/introducing-anylanguagemodel-one-api-for-local-and-remote-llms-on-apple-049ac2052cff4c11.md): Hugging Face · 2025-11-20 · Medium · 6 min read · Swift, LLMs, API design, Inference & serving, Mobile
  AnyLanguageModel is a Swift package that mirrors Apple's Foundation Models API, so a single \`import\` swap lets apps target Apple's system model, Core ML, MLX, llama.cpp, Ollama, or cloud providers (OpenAI, Anthropic, Gemini, Hugging Face Inference Providers) through the same session-based interface.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
