Qwen3.8-27B exlr8 bit235: Running a Large Model on Mac
2 min readupdated
This is a Mac-optimized version of the Qwen/Qwen3.8-27B language model, compressed using trellis quantization (the process of reducing model weights to save memory) to an average of 2.35 bpw. The build is specifically designed to run on standard 24 GB Apple Silicon computers using the Metal API. It supports a full 262,144-token (text fragment) context, simultaneous multi-threading, and speculative generation (a method for accelerating text generation) via an integrated MTP module. The model is ideal for developers and enthusiasts looking to run powerful language models locally on Apple hardware.
Key features
- Full compatibility with standard 24 GB Apple Silicon Macs without exceeding memory limits.
- Preservation of a massive 262,144-token context when running on local hardware.
- High generation speed for code and structured text thanks to seamless MTP.
- Support for up to 4 concurrent request processing streams simultaneously.
What you can do
- Deploy a local server for working with large texts and code on a Mac mini or MacBook.
- Test high-speed structured JSON generation and Python coding.
- Verify multi-threaded request processing using optimized caching.
Example
Running the model in the terminal using the tesserax utility:
tesserax --model hf:kindlingai/qwen3.8-27b-exlr8-bit235 serve \
--manifest bit235 \
--head-dtype int4_g32 \
--kv-dtype fp8 \
--max-model-len 262144 \
--kv-cache-tokens 262144 \
--slots 4 \
--max-batch-rows 512 \
--mtp 7 \
--spec-adaptiveRead more
DetailsWeight size: 13.27 GB
Perplexity (a measure of text uncertainty): 5.7219
KLD (Kullback-Leibler divergence): 0.1216
Requirements: Mac with 24 GB Unified Memory (Apple Silicon)










Comments