Skip to main content
Back

Cyber Monday Deal: Get 20% off all AlphaSignal Pro subscriptions. Ends soon.

UkisAI Squeezes Swift 1.5's 27B Reasoning Model Into 8.42GB for Consumer GPUs

UkisAI released compact 2-bit and 3-bit GGUF quantizations of Swift 1.5 that run a 27B reasoning model in under 10GB while cutting thinking tokens by more than half.

Pro

  • UkisAI released mixed-precision GGUF quantizations of Swift 1.5 Qwen3.8-27B ranging from 8.42GB to 11.77GB
  • Swift 1.5 uses 58.5% fewer thinking tokens while scoring 0.35% higher than the base model
  • Four tiers (IQ2_XS, IQ2_S, IQ3_XXS, IQ3_S) each with optional multi-token prediction head variants
  • Built on GSQ and RCO methods from ISTA-DASLab with Swift-specific refinement
  • Compatible with llama.cpp, Ollama, LM Studio, vLLM, and Docker Model Runner out of the box
  • Distributed under Swift Open License v1.0, not Apache 2.0, so enterprise users should check terms

UkisAI has released four mixed-precision GGUF versions of Swift 1.5, a post-trained Qwen3.8-27B reasoning model. The smallest model file occupies 8.42GB, lowering the storage and memory requirements for local inference on consumer GPUs and unified-memory Macs.

The release combines per-tensor bit allocations from ISTA-DASLab’s quantization research with a Swift-specific calibration and refinement process. UkisAI reports that the resulting files track the BF16 model’s token probabilities more closely than its initial Swift quantizations across prose, code, mathematics and multilingual test data.

Two sets of efficiency claims

Swift 1.5 itself provides the first efficiency gain. According to UkisAI, the full-precision post-trained model uses 58.5% fewer reasoning tokens than its Qwen base while scoring 0.35% higher across the cited tasks, producing a reported 9.18× speed-up on several evaluations.

Those figures apply to the full-precision Swift 1.5 model. The GGUF release adds weight compression, but the model card does not report equivalent downstream task scores or end-to-end speed measurements for every quantized tier. Its quantization results focus primarily on distribution similarity.

Four files trade size for fidelity

Each tier assigns different bit widths to individual tensors according to their sensitivity. The reported file sizes and development-set Kullback-Leibler divergence, or KLD, are:

Tier File size Development KLD
IQ2_XS 8.42GB 0.189979
IQ2_S 9.26GB 0.134751
IQ3_XXS 10.09GB 0.097774
IQ3_S 11.77GB 0.051265

KLD measures how far the quantized model’s next-token probability distribution moves from the BF16 reference. Lower values indicate a closer match on the evaluation samples, although they do not guarantee equal reasoning, coding or instruction-following accuracy.

Each tier also has an optional -mtp variant containing a multi-token prediction head. These files add about 350MB and require a runtime that supports the model’s specific MTP implementation.

GSQ and RCO split the compression job

The pipeline uses two methods from the Institute of Science and Technology Austria. RCO searches for a per-tensor bit allocation that satisfies an exact file-size budget, while GSQ uses Gumbel-Softmax sampling and gradient-based codebook learning to fit weights into those low-precision allocations.

In practical terms, RCO decides where the available bits should go, giving more capacity to tensors that are sensitive to compression. GSQ then determines the low-precision values used to represent those weights, providing a more adaptive fit than direct rounding.

UkisAI reuses the published GSQ-RCO allocation for the matching Qwen3.8-27B tier, quantizes the Swift 1.5 weights with its V1MIX importance matrix, and applies an additional Swift-specific refinement pass. The importance matrix comes from calibration data intended to represent the post-trained model’s coding and agentic workload distribution.

The benchmarks have clear limits

The model card reports KLD across C4 prose, CodeParrot source code, GSM8K mathematics text, and multilingual mC4 samples in German, French, Spanish and Chinese. All four refined files improve on their corresponding initial Swift quantizations across every reported domain.

Comparisons with ISTA’s reference quantizations are mixed. The refined Swift files record math-text KLD values 4.9% to 7.7% higher, and the IQ3_S version trails its ISTA comparison on five of seven domains.

The tests use 512-token samples, leaving behavior at 32K and longer contexts unmeasured. They also evaluate token-distribution similarity rather than complete coding tasks, tool-use traces or multi-step reasoning accuracy. Production deployments therefore need workload-specific tests at their intended context length.

Local inference needs more than file space

Runtime memory exceeds the listed GGUF size because the inference engine must also store the key-value cache, compute buffers, model metadata and runtime state. Context length, batch size, cache precision and GPU offload settings can substantially increase RAM or VRAM use. An 8.42GB file may fit on a 16GB unified-memory system, but long contexts can consume the remaining headroom.

The model card lists llama.cpp-compatible tools including LM Studio, Ollama, Jan, vLLM and Docker Model Runner. Support depends on the runtime version, particularly for Qwen3.8 architecture changes and the optional MTP head.

A practical llama.cpp server command with a 32K starting context is:

llama-server \
  -m Swift-1.5-Qwen3.8-27B-GSQ-RCO-IQ3_XXS.gguf \
  --jinja -fa on -ngl 99 -c 32768 \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
  --presence-penalty 0.0 --repeat-penalty 1.0 --port 8000
  • -ngl 99 requests extensive GPU offload and may need reduction on smaller GPUs.
  • -c 32768 limits the initial context allocation to 32K tokens; larger values require additional memory and validation.
  • --jinja enables the model’s chat-template rendering.
  • -fa on enables flash attention in compatible builds.

Licensing affects deployment

The adapted weights use the Swift license v1.0, while the original Qwen components retain their Apache 2.0 terms. Teams considering commercial distribution, hosted services or derivative releases need to review both sets of terms.

Choosing the right tier

The four files create a practical ladder for local testing. IQ2_XS minimizes storage, IQ2_S reduces divergence while remaining below 10GB, IQ3_XXS offers a middle option, and IQ3_S provides the closest reported match to BF16 at 11.77GB.

The release makes 27B-class local inference feasible on hardware that would struggle with BF16 or conventional higher-bit quantizations. Its strongest published evidence concerns next-token distribution fidelity. Reasoning accuracy, long-context stability, throughput and MTP performance still require direct testing on the target runtime and workload.