JevK5-mlx-4bit#
4-bit MLX conversion of alibiserikbay/JevK5 optimized for Apple Silicon native GPU inference.
Converted by : SirSahOl Source Model : alibiserikbay/JevK5 Framework : MLX by Apple Quantization : 4-bit (Average 4.50 bits per weight) Format : safetensors License : apache-2.0
Model Details#
Architecture : Qwen3_5ForCausalLMParameters : ~4.2BContext Length : 262,144 tokensFormat : MLX (Apple Silicon native GPU format)Quantization : 4-bit (Average 4.50 bits per weight)Active VRAM Footprint : ~2.7 GB (Minimum recommended: 8 GB Unified Memory)
Quick Start#
Installation#
Usage#
CLI#
# Chat interactively
mlx_lm.chat --model SirSahOl/JevK5-chat-mlx-4bit
# Generate text
mlx_lm.generate --model SirSahOl/JevK5-chat-mlx-4bit --prompt "Write a short poem about artificial intelligence." Copy
Python API (with Chat Template)#
from mlx_lm import load, generate
model, tokenizer = load("SirSahOl/JevK5-chat-mlx-4bit")
messages = [
{"role": "user", "content": "Explain quantum superposition in simple terms."}
]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
print(response) Copy
Measured Benchmarks (Apple M1)#
Metric 4-bit 8-bit Tokens/sec 17.97 10.35 TTFT 55.74 ms 96.71 ms Peak Memory 420.9 MB 59.7 MB
Benchmarked on Apple M1 with 8GB unified memory. Average over 5 runs with 256 max tokens.
Multi-Quantization Comparison#
Evaluate your hardware budget and choose the optimal precision:
Variant Disk Size VRAM Footprint Target Apple Silicon Hardware Key Advantage 4-bit MLX (This Repository)~2.7 GB ~2.7 GB M1 / M2 / M3 / M4 (8GB+) Maximum generation speed and lowest RAM overhead. 8-bit MLX ~4.9 GB ~4.9 GB M1 / M2 / M3 / M4 Pro/Max (16GB+) Balanced accuracy and generation speed; near-lossless reasoning. 16-bit MLX ~9.2 GB ~9.2 GB M2 / M3 / M4 Max/Ultra (32GB+) Full unquantized precision; reference evaluation quality.
Who Should Use This?#
Your Hardware Recommended Quantization M1/M2/M3/M4 (8GB – 16GB) 4-bit — Best balance of speed, low memory, and multitasking capabilityM1/M2/M3/M4 Pro/Max (18GB – 36GB) 8-bit — Higher quality reasoning with comfortable memory headroomM1/M2/M3/M4 Max/Ultra (36GB – 192GB) 16-bit — Unquantized full precision, zero quality degradation
General guidance:
Use 4-bit if you want to run this model alongside IDEs, browsers, and background development tools. Use 8-bit if you have 16GB+ unified memory and require superior reasoning and code accuracy. Use 16-bit for research, benchmarking, evaluation, or high-end workstation deployments.
Other Quantization Variants#
LM Studio & Local Inference Setup Guide#
To prevent runaway loops and ensure correct conversational turn-taking, configure custom stop tokens in your local inference runtime:
<|im_start|><|im_end|><|endoftext|>
System Prefix : <|im_start|>system\nSystem Suffix : <|im_end|>\nUser Prefix : <|im_start|>user\nAssistant Suffix : <|im_end|>\n<|im_start|>assistant\n
Ollama Quickstart#
FROM SirSahOl/JevK5-chat-mlx-4bit
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"
PARAMETER temperature 0.7 Copy
ollama create jevk5-chat-mlx-4bit -f Modelfile
ollama run jevk5-chat-mlx-4bit Copy
Conversion Details#
Property Value Source Model alibiserikbay/JevK5 Quantization 4-bit mlx-lm Version 0.31.3 Conversion Time 14.94s Output Size 2.2 GB Date 2026-10-01T01:17:53.616463+00:00
Reproduction#
To reproduce this conversion:
pip install mlx-lm==0.31.3
python3 -m mlx_lm.convert --hf-path alibiserikbay/JevK5 --mlx-path output/JevK5-mlx-4bit -q --q-bits 4 Copy
Limitations & Known Issues#
4-bit group-wise quantization introduces minor precision loss compared to unquantized weights; for deep mathematical derivations or precision-critical reasoning, test the 8-bit or 16-bit variants. High context sequences (>32K tokens) require sufficient unified memory headroom; ensure unified memory is not overcommitted. This is a weight-only MLX conversion designed specifically for Apple Silicon GPUs (M1/M2/M3/M4 series).
License#
This model conversion inherits the license of the source model: apache-2.0 .
See the original model card for full license details.
Changelog#
Version Date Changes v1.0 2026-10-01 Initial conversion
Converted with MLX Foundry — a professional pipeline for converting models to Apple MLX format.