Downloads · 30 days
692
32% of all-time downloads
arsis-dev/ukisai-Swift-Qwen3.8-27b-MTPLX
ukisai-Swift-Qwen3.8-27b-MTPLX is a image-text-to-text model from arsis-dev. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as other.
MTPLX / MLX conversion of ukisai/Swift-Qwen3.8-27b, built for fast local inference on Apple Silicon.
Downloads · 30 days
692
32% of all-time downloads
All-time downloads
2.2K
Public
Parameters
27.4B
17 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors16.9 GB · 100%
How the weights are stored.
U3226.9B · 98%
From the Hugging Face model README
MTPLX / MLX conversion of ukisai/Swift-Qwen3.8-27b, built for fast local inference on Apple Silicon.
This build was created with MTPLX Forge and keeps Swift's native MTP head in BF16 for self-speculative decoding.
The model body is quantized to 4-bit affine, group size 64.
ukisai/Swift-Qwen3.8-27bForge verification was run locally on an Apple M5 Max with 128 GB unified memory.
| Mode | Mean MTP acceptance | Decode speed | Speedup vs AR |
|---|---|---|---|
| AR baseline | — | 29.4 tok/s | 1.00× |
| MTP D1 | 96% | 46.5 tok/s | 1.58× |
| MTP D2 | 98% | 61.9 tok/s | 2.11× |
| MTP D3 | 93% | 65.2 tok/s | 2.22× |
Recommended depth on this machine: D3.
The D3 result improves measured decode throughput from 29.4 tok/s to 65.2 tok/s, a 2.22× speedup over autoregressive decoding.
temperature = 1.0
top_p = 0.95
top_k = 20
The complete Forge verification data is included in:
mtplx_runtime.json
These numbers measure decode throughput for this MTPLX conversion.
They should not be interpreted as:
Actual throughput depends on prompt length, context size, generation length, sampling parameters, thermal conditions, and workload.
The Forge verification reported successful quality checks for AR, D1, D2 and D3.
This checkpoint was built with:
Body bits: 4-bit
Group size: 64
Quantization: affine
Body dtype: auto
MTP strategy: keep BF16
MTP depth max: 3
In compact form:
Swift-Qwen3.8-27B
│
├── model body → MLX 4-bit affine / g64
│
├── MTP head → BF16
│
└── vision → preserved
│
▼
Swift-Qwen3.8-27B-MTPLX
Swift retains the native multi-token prediction head from its Qwen3.8 architecture.
MTPLX can use this head as a self-speculative drafter: candidate tokens are predicted ahead and verified by the target model.
On the tested M5 Max, Forge selected MTP depth 3 as the fastest configuration.
The MTP head is intentionally kept in BF16 in this build rather than quantized.
The Forge conversion contains the vision weights in:
model-vision.safetensors
The published artifact therefore preserves the multimodal components of the source checkpoint.
The performance numbers above are text-generation decode measurements. Multimodal quality and image-processing throughput have not been independently benchmarked for this release.
Install MTPLX on Apple Silicon:
brew install youssofal/mtplx/mtplx
Download this model:
mtplx pull arsis-dev/ukisai-Swift-Qwen3.8-27b-MTPLX
Then start MTPLX:
mtplx start
Select this model when prompted.
You can also inspect the checkpoint before running it:
mtplx inspect arsis-dev/ukisai-Swift-Qwen3.8-27b-MTPLX
The optimal MTP depth can depend on the Apple Silicon generation, memory bandwidth, thermal state and workload.
To benchmark AR vs D1/D2/D3 on your own machine:
mtplx tune \
--model arsis-dev/ukisai-Swift-Qwen3.8-27b-MTPLX \
--retune
Do not assume D3 will necessarily be optimal on every Mac.
MTPLX can expose the model through an OpenAI-compatible local API.
Start the server:
mtplx serve --port 8000
The default local endpoint is:
127.0.0.1:8000
This can be used with clients supporting OpenAI-compatible chat-completion APIs.
Important files in this repository include:
model-00001-of-00003.safetensors
model-00002-of-00003.safetensors
model-00003-of-00003.safetensors
model-vision.safetensors
mtp.safetensors
model.safetensors.index.json
mtplx_runtime.json
config.json
generation_config.json
chat_template.jinja
tokenizer.json
mtp.safetensors contains the BF16 MTP sidecar used for speculative decoding.
mtplx_runtime.json contains Forge provenance and the local verification results.
Source model:
ukisai/Swift-Qwen3.8-27b
Source revision used by Forge:
1b30aaaf753fe5c1cb51ada2ea0367a53445359c
Conversion:
MTPLX Forge 2.11.2
This repository is a quantized runtime conversion. It is not a new fine-tune and does not alter the training performed by UkisAI.
Swift-Qwen3.8-27B is an efficient-thinking derivative of Qwen3.8-27B developed by UkisAI.
The purpose of this repository is only to provide an Apple-Silicon-oriented MTPLX/MLX conversion of that model.
For model architecture, training methodology, evaluation results, intended use and limitations, refer to the original model card:
ukisai/Swift-Qwen3.8-27b
This conversion inherits the licensing conditions of the original Swift checkpoint.
Swift weights are distributed under the Swift Open License v1.0.
Please review the License and access section of the original:
ukisai/Swift-Qwen3.8-27b
before downloading, redistributing or using these weights commercially.
The MTPLX software itself is a separate project and has its own software license.
Validated:
Not yet independently evaluated for this conversion:
Contributions and independent benchmark results are welcome.
Original model:
UkisAI — Swift-Qwen3.8-27B
Apple Silicon runtime and Forge tooling:
MTPLX — Youssofal
MTPLX conversion and benchmark:
arsis-dev
Thanks to the original model authors and the MTPLX project for making this conversion possible.