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 | 6-bit |
| Layers at 8-bit (sensitive) | 145 |
| Layers at 4-bit (robust) | 104 |
| Total quantized layers | 249 |
| Group size | 64 |
| Vision tower | bf16, 333 tensors, in optiq/optiq_vision.safetensors |
| Size on disk | 8.0 GB, from a 17.6 GB bf16 base |
llama.cpp uses for Q6_K and similar mixed-precision quants: the "6-bit" label is the predominant precision, not the weighted average.optiq/sensitivity.json: 249 layers scored at both candidate widths. That is the measurement, not just the outcome, so this architecture can be re-quantized at another target without repeating it.optiq/ subfolder, so a stock *.safetensors glob ignores it and mlx-lm sees a clean language model.pip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("codelion/Ornith-1.0-9B-OptiQ-6bit")
4prompt = tokenizer.apply_chat_template(
5 [{"role": "user", "content": "Explain the difference between TCP and UDP."}],
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("codelion/Ornith-1.0-9B-OptiQ-6bit")
5answer = engine.generate("What is in this image?",
6 images=[Image.open("photo.jpg")], max_tokens=512)
7print(answer.text)optiq serve --model codelion/Ornith-1.0-9B-OptiQ-6bit