HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
SharpAI
SwiftLM
Swift2026–2026
SharpAI / SwiftLM

SwiftLM

⚡ Native MLX Swift LLM inference server for Apple Silicon. OpenAI-compatible API, SSD streaming for 100B+ MoE models, TurboQuant KV cache compression, MACOS + iOS iPhone app.

2Distinct people
5Mentions
0Explicit recommenders
796GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

⚡ Native MLX Swift LLM inference server for Apple Silicon. OpenAI-compatible API, SSD streaming for 100B+ MoE models, TurboQuant KV cache compression, MACOS + iOS iPhone app.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour5 dated mentions

Observed mentions: 2026-04-01 05:33:35 UTC to 2026-04-01 20:18:52 UTC.

0122026-04-01 05:00:00 UTC to 2026-04-01 06:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsApr 1, 05:002026-04-01 06:00:00 UTC to 2026-04-01 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 07:00:00 UTC to 2026-04-01 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 08:00:00 UTC to 2026-04-01 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 09:00:00 UTC to 2026-04-01 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 10:00:00 UTC to 2026-04-01 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 11:00:00 UTC to 2026-04-01 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 12:00:00 UTC to 2026-04-01 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 1, 12:002026-04-01 13:00:00 UTC to 2026-04-01 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 14:00:00 UTC to 2026-04-01 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 15:00:00 UTC to 2026-04-01 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 16:00:00 UTC to 2026-04-01 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 17:00:00 UTC to 2026-04-01 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 18:00:00 UTC to 2026-04-01 19:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2026-04-01 19:00:00 UTC to 2026-04-01 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-01 20:00:00 UTC to 2026-04-01 21:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsApr 1, 20:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 1, 05:002026-04-01 05:00:00 UTC2026-04-01 06:00:00 UTC110
Apr 1, 06:002026-04-01 06:00:00 UTC2026-04-01 07:00:00 UTC000
Apr 1, 07:002026-04-01 07:00:00 UTC2026-04-01 08:00:00 UTC000
Apr 1, 08:002026-04-01 08:00:00 UTC2026-04-01 09:00:00 UTC000
Apr 1, 09:002026-04-01 09:00:00 UTC2026-04-01 10:00:00 UTC000
Apr 1, 10:002026-04-01 10:00:00 UTC2026-04-01 11:00:00 UTC000
Apr 1, 11:002026-04-01 11:00:00 UTC2026-04-01 12:00:00 UTC000
Apr 1, 12:002026-04-01 12:00:00 UTC2026-04-01 13:00:00 UTC000
Apr 1, 13:002026-04-01 13:00:00 UTC2026-04-01 14:00:00 UTC000
Apr 1, 14:002026-04-01 14:00:00 UTC2026-04-01 15:00:00 UTC000
Apr 1, 15:002026-04-01 15:00:00 UTC2026-04-01 16:00:00 UTC000
Apr 1, 16:002026-04-01 16:00:00 UTC2026-04-01 17:00:00 UTC000
Apr 1, 17:002026-04-01 17:00:00 UTC2026-04-01 18:00:00 UTC000
Apr 1, 18:002026-04-01 18:00:00 UTC2026-04-01 19:00:00 UTC211
Apr 1, 19:002026-04-01 19:00:00 UTC2026-04-01 20:00:00 UTC000
Apr 1, 20:002026-04-01 20:00:00 UTC2026-04-01 21:00:00 UTC202

What Hacker News says

5 sources
Claude Code helped me figure out this recipe (inspired by a similar workaround in the CI scripts): git clone --recursive https://github.com/SharpAI/SwiftLM.git cd SwiftLM swift build -c release # Trick to copy in that missing mlx.metallib file uv run --with mlx-metal python -c " import importlib.metadata, pathlib, shutil d = importlib.metadata.distribution('mlx-metal') metallib = pathlib.Path(d._path).parent / 'mlx/lib/mlx.metallib' shutil.copy(metallib, '.build/release/') print(f'Copied {metallib} -> .build/release/mlx.metallib') # Now start the server (downloads 69GB Qwen model) .build/release/SwiftLM \ --model mlx-community/Qwen3.5-122B-A10B-4bit \ --stream-experts \ --port 5413 But the server crashed when I tried to run a prompt through it: freed pointer was not the last allocation
In TurboQuant KV Compression and SSD Expert Streaming for M5 Pro and IOS
We implemented two techniques to run massive 100B+ parameter MoE models natively on the M5 Pro 64GB MacBook Pro: TurboQuant KV compression: We ported the V3 Lloyd-Max codebooks from the TurboQuant paper (Zandieh et al., ICLR 2026) into native C++ and fused dequantization into Metal shaders. This achieves a measured 4.3× KV cache compression at runtime, completely eliminating Python overhead. SSD Expert Streaming: To fit a 122B parameter model (e.g., Qwen3.5-122B MoE) without triggering macOS VM swapping or Watchdog kernel kills, the full ~60 GB weight file remains on NVMe. Only the top-k active expert pages are streamed to the GPU per forward pass at ~9 GB/s. As a result, inference runs with only 2,694 MB of active GPU VRAM on the M5 Pro 64GB, while the OS page cache automatically handles hot-expert reuse. By combining these two approache
Read the rest
s, we can comfortably run massive models in memory-constrained environments on Apple Silicon. Also tested QWEN 4B on IPHONE 13 Pro. Code and implementation details: https://github.com/SharpAI/SwiftLM
In TurboQuant KV Compression and SSD Expert Streaming for M5 Pro and IOS

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.