Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
780048f
Add more documentation for integrations to readme (#201)
DePasqualeOrg Apr 9, 2026
ec9619b
Fix tool calling for Llama 3 (#145)
aleroot Apr 9, 2026
ab04a9c
Add IntegrationTesting Xcode project and additional integration test …
atdrendel Apr 10, 2026
490aad2
Fix links in readme (#204)
DePasqualeOrg Apr 10, 2026
7f169f9
Preserve JSONValue in Llama3 Tool Calls (#203)
Lakr233 Apr 10, 2026
ebbd467
fix: base model fixes — contiguous conv state, prefill loop, SSM disp…
TheTom Apr 15, 2026
8b9de47
Merge pull request #30 from TheTom/pr/alpha-0-base-fixes
ekryski Apr 16, 2026
9bbfbb2
feat: KV cache enhancements — peek(), memoryBytes, eval barriers
TheTom Apr 15, 2026
ecf2ef1
Merge pull request #31 from TheTom/pr/alpha-1-kv-cache
ekryski Apr 16, 2026
9effaa8
feat: generation pipeline — cache parameter, kvScheme, memory utils
TheTom Apr 15, 2026
a7cc1f1
Merge pull request #32 from TheTom/pr/alpha-2-evaluate
ekryski Apr 16, 2026
ee48e6c
feat: Gemma 4 text model — KV sharing, PLE, sliding window
TheTom Apr 15, 2026
d35bc30
feat: Gemma 4 text model — KV sharing, PLE, sliding window
TheTom Apr 15, 2026
bbd3041
feat: Gemma 4 VLM — SigLIP vision encoder, multi-modal projection
TheTom Apr 15, 2026
05e1404
feat: add MiniMax M2 model support (256 experts, 8 active)
TheTom Apr 15, 2026
6ceb7d6
feat: GPT-OSS-20B enhancements — larger prefill chunks, maxKVSize cac…
TheTom Apr 15, 2026
f77cb9c
feat: Qwen3.5 GatedDeltaNet — SSM+attention hybrid architecture
TheTom Apr 15, 2026
6c451c1
feat: TurboQuant KV cache compression — Algorithm 1
TheTom Apr 16, 2026
b1c49e8
feat: MLX inference server — HTTP API for chat completions
TheTom Apr 15, 2026
81be0a3
feat: inference benchmark framework — model registry, CLI driver
TheTom Apr 15, 2026
5b1478d
feat: speculative decoding enhancements
TheTom Apr 15, 2026
9a5fbca
Merge pull request #33 from TheTom/pr/alpha-3-gemma4-text
ekryski Apr 16, 2026
b76c900
Merge pull request #34 from TheTom/pr/alpha-4-gemma4-vlm
ekryski Apr 16, 2026
ad45d63
Merge pull request #35 from TheTom/pr/alpha-5-minimax-m2
ekryski Apr 16, 2026
779b0c9
Merge pull request #36 from TheTom/pr/alpha-6-gpt-oss
ekryski Apr 16, 2026
cdb5fcc
Merge pull request #37 from TheTom/pr/alpha-7-qwen35-gdn
ekryski Apr 16, 2026
b2fb201
Merge pull request #38 from TheTom/pr/alpha-8-turboquant
ekryski Apr 16, 2026
f273a56
Merge pull request #40 from TheTom/pr/alpha-10-mlx-server
ekryski Apr 16, 2026
00ed2bf
feat: native C++ prefill bridge — dlopen, zero-copy KV injection
TheTom Apr 15, 2026
55d2428
Merge pull request #39 from TheTom/pr/alpha-9-prefill-bridge
ekryski Apr 16, 2026
6557632
Merge pull request #41 from TheTom/pr/alpha-11-benchmarks
ekryski Apr 16, 2026
63b21f4
Merge pull request #42 from TheTom/pr/alpha-12-speculative
ekryski Apr 16, 2026
c8a3862
fix: GemmaPrefillBridge Sendable + benchmark resource path
TheTom Apr 16, 2026
e7151b9
Merge pull request #43 from TheTom/pr/alpha-sendable-resource-fixes
ekryski Apr 16, 2026
8a8ed26
fix: Gemma 4 coherence — full model, KV sharing, real tokenizer
TheTom Apr 16, 2026
80b28ef
fix: Gemma 4 26B MoE mixed-precision + Qwen3.5 GDN fused decode
TheTom Apr 16, 2026
cb3bbd2
docs: add M5 Max 128GB benchmark baseline (2026-04-16)
TheTom Apr 16, 2026
3c79768
Update README.md
ekryski Apr 16, 2026
3ffdda0
Merge pull request #44 from TheTom/pr/alpha-gemma4-coherence-fix
ekryski Apr 16, 2026
a5352fa
Merge pull request #45 from TheTom/pr/alpha-26b-moe-qwen35-gdn
ekryski Apr 16, 2026
33095ee
Merge pull request #46 from TheTom/docs/alpha-m5-max-baseline-2026-04-16
ekryski Apr 16, 2026
8491040
adding .claude to gitignore
ekryski Apr 16, 2026
442c624
build: add Makefile and setup-dev.sh for alpha
ekryski Apr 16, 2026
ad50733
docs: add make, testing, and benchmarking sections to README
ekryski Apr 16, 2026
1210303
bench: hardware-dated writer, multi-config sweeps, new README
ekryski Apr 16, 2026
a16b8dd
bench: migrate InferenceBenchmark to 3.x HubClient loader
ekryski Apr 16, 2026
227df26
bench: add M1 Max and M5 Max baselines, gitignore writer state sidecars
ekryski Apr 16, 2026
d6ed784
Merge pull request #47 from ekryski/ek/update-benchmark-build-tooling
ekryski Apr 16, 2026
3cc1b6b
evaluate: populate per-token data for PPL and KLD (opt-in, ~zero over…
ekryski Apr 16, 2026
83ff028
perf: 10x prefill on Qwen3.5/3.6 GDN via asyncEval + kernel path (#49)
TheTom Apr 16, 2026
b43dd40
perf(prefill): asyncEval per-layer during prefill (Qwen35, NemotronH)…
TheTom Apr 16, 2026
d6183c5
bench: add --ngram flag, default n-gram speculative decoding off (#51)
ekryski Apr 16, 2026
249ef81
evaluate: disable n-gram speculative decoding by default (#52)
ekryski Apr 16, 2026
f11af66
fix: TokenRing.loadPrompt handles 2D prompt tokens
ekryski Apr 17, 2026
028bf9a
research: draft head & block diffusion experiments (no shipping code)
TheTom Apr 17, 2026
8591e90
feat: re-enable MLXServer executable target for alpha
TheTom Apr 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,10 @@ iOSInjectionProject/
.idea
.vscode

# Claude
.claude/

# Benchmark writer state sidecars. The markdown reports in benchmarks/ are
# committed as baselines; the JSON state is local-only so the writer can
# re-render the markdown across processes within a single sweep.
benchmarks/.*.state.json
35 changes: 34 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,44 @@ possible.
You can also run the formatters manually as follows:

```
swift-format format --in-place --recursive Libraries Tools Applications
swift-format format --in-place --recursive Libraries Tools Applications IntegrationTesting
```

or run `pre-commit run --all-files` to check all files in the repo.

## Running Tests

Unit tests run without any special hardware and do not download models.
Note: `swift test` [does not work yet](https://github.com/ml-explore/mlx-swift?tab=readme-ov-file#xcodebuild) — use `xcodebuild` instead:

```bash
xcodebuild test -scheme mlx-swift-lm-Package -destination 'platform=macOS'
```

Integration tests verify end-to-end model loading and generation. They require
macOS with Metal and download models from Hugging Face Hub on first run. These
tests do not run in CI.

Open `IntegrationTesting/IntegrationTesting.xcodeproj` in Xcode and run the
test target (`Cmd+U` or via the Test Navigator), or use `xcodebuild`:

```bash
# Run all integration tests
xcodebuild test \
-project IntegrationTesting/IntegrationTesting.xcodeproj \
-scheme IntegrationTesting \
-destination 'platform=macOS'

# Run a single test
xcodebuild test \
-project IntegrationTesting/IntegrationTesting.xcodeproj \
-scheme IntegrationTesting \
-destination 'platform=macOS' \
-only-testing:IntegrationTestingTests/ToolCallIntegrationTests/qwen35FormatAutoDetection\(\)
```

See [Libraries/IntegrationTestHelpers/README.md](Libraries/IntegrationTestHelpers/README.md) for more details.

## Issues

We use GitHub issues to track public bugs. Please ensure your description is
Expand Down
Loading