Views
No views yet
Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. Try the Lab · All OptiQ quants · Docs
| Property | Value |
|---|---|
| Predominant precision | 4-bit |
| Layers at 8-bit (sensitive) | 220 |
| Layers at 4-bit (robust) | 276 |
| Total quantized layers | 496 |
| Achieved bits per weight | 4.769 |
| Group size | 64 |
| Vision tower | bf16, 333 tensors, in optiq/optiq_vision.safetensors |
| Bundled MTP head | optiq/mtp.safetensors (4-bit projections, BF16 norms) |
| Size on disk | 19 GB, from a 52 GB bf16 base |
llama.cpp uses for Q4_K_M and similar mixed-precision quants: the "4-bit" label is the predominant precision, not the weighted average.Qwen/Qwen3.6-27B and its architecture is unchanged (every field of the text config matches), so all 496 quantizable layers map across exactly and the allocation lands at the same 4.769 bits per weight when recomputed against Tess's own tensors.optiq/ subfolder, so a stock *.safetensors glob ignores them and mlx-lm sees a clean language model.pip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("mlx-community/Tess-4-27B-OptiQ-4bit")
4prompt = tokenizer.apply_chat_template(
5 [{"role": "user", "content": "Explain the tradeoffs of optimistic concurrency control."}],
6 add_generation_prompt=True, tokenize=False)
7print(generate(model, tokenizer, prompt=prompt, max_tokens=512))<think>...</think> before answering, so give it enough max_tokens to finish.mlx-optiq, which loads the bf16 vision sidecar and feeds the merged embeddings to the quantized language tower:pip install mlx-optiq1from PIL import Image
2from optiq.runtime.engine import OptiqEngine
3
4engine = OptiqEngine("mlx-community/Tess-4-27B-OptiQ-4bit")
5answer = engine.generate("What is in this image?",
6 images=[Image.open("photo.jpg")], max_tokens=512)
7print(answer.text)optiq serve --model mlx-community/Tess-4-27B-OptiQ-4bitoptiq/mtp.safetensors:optiq serve --model mlx-community/Tess-4-27B-OptiQ-4bit --mtp