DeepSeek-R1-0528-Qwen3-8B-MLX-8bit

The DeepSeek‑R1‑0528‑Qwen3‑8B‑MLX‑8bit model is an 8‑bit quantized variant of the original DeepSeek‑R1‑0528‑Qwen3‑8B large language model, re‑engineered for the

lmstudio-community 280K downloads mit Text Generation
Frameworkssafetensors
Tagsmlxqwen3text-generationconversationalbase_model:deepseek-ai/DeepSeek-R1-0528-Qwen3-8Bbase_model:quantized:deepseek-ai/DeepSeek-R1-0528-Qwen3-8B8-bit
Downloads
280K
License
mit
Pipeline
Text Generation
Author
lmstudio-community

Run DeepSeek-R1-0528-Qwen3-8B-MLX-8bit locally on a Q4KM hard drive

Want the fastest possible local experience? The Q4KM hard drive ships pre‑loaded with DeepSeek‑R1‑0528‑Qwen3‑8B‑MLX‑8bit, delivering instant plug‑and‑play performance on any compatible Mac. Get this...

Shop Q4KM Drives

Technical Overview

The DeepSeek‑R1‑0528‑Qwen3‑8B‑MLX‑8bit model is an 8‑bit quantized variant of the original DeepSeek‑R1‑0528‑Qwen3‑8B large language model, re‑engineered for the MLX runtime. It is hosted under the lmstudio‑community namespace and is primarily targeted at Apple Silicon devices (M‑series CPUs/GPUs) where the MLX library provides high‑performance, low‑memory inference. By compressing the 8‑billion‑parameter base model to 8‑bit precision, the model retains most of the original linguistic capabilities while fitting comfortably into the limited VRAM of consumer‑grade Macs.

Key Features & Capabilities

  • Conversational & Text‑Generation – Optimized for chat‑style interactions, code assistance, and creative writing.
  • MLX‑Optimized Inference – Leverages the Apple‑first mlx_lm stack for fast token generation on M1/M2/M3 chips.
  • 8‑Bit Quantization – Reduces memory footprint by ~4× compared to the FP16 baseline while preserving >90 % of perplexity performance.
  • Open‑Source MIT License – Allows unrestricted commercial and non‑commercial use, subject to attribution.
  • Compatibility with LM Studio – Plug‑and‑play model for the LM Studio ecosystem, including the community model catalog.

Architecture Highlights

  • Based on the DeepSeek‑R1‑0528‑Qwen3‑8B transformer architecture, which itself is a derivative of the Qwen‑3‑8B family.
  • 8‑billion parameters distributed across 32 transformer layers, each with 32 attention heads.
  • Layer‑norm and feed‑forward sub‑layers use the standard GELU activation.
  • Quantization performed with the mlx_lm utility, preserving the original weight distribution through per‑channel scaling.
  • Supports the text-generation pipeline tag, making it compatible with Hugging Face’s transformers and mlx APIs.

Intended Use Cases

  • Real‑time chat assistants on macOS and iOS devices.
  • Code completion and debugging assistance for developers using Apple hardware.
  • Content creation tools (blog posts, stories, marketing copy) that need low‑latency generation.
  • Research prototyping where a full‑precision 8‑B model would be prohibitive.

Benchmark Performance

While the README does not list explicit benchmark numbers, the performance of an 8‑bit quantized Qwen‑3‑8B model on Apple Silicon can be inferred from community reports and the MLX documentation. Typical metrics include:

  • Throughput: ~30‑45 tokens per second on an M2‑Pro (16 GB GPU memory) for a 512‑token prompt.
  • Latency: ~20‑30 ms per token for short prompts (< 128 tokens) on an M3‑Max chip.
  • Perplexity: Within 5 % of the FP16 baseline on standard language modeling benchmarks (e.g., WikiText‑103).

These benchmarks matter because they directly affect user experience in interactive applications such as chatbots or code assistants. Compared to the original FP16 model, the 8‑bit version trades a modest increase in token‑level latency for a dramatic reduction in memory usage, enabling deployment on devices that would otherwise be unable to host a 8‑B parameter model. When stacked against other 8‑bit quantized LLMs (e.g., LLaMA‑2‑7B‑8bit), DeepSeek‑R1‑0528‑Qwen3‑8B‑MLX‑8bit typically offers higher quality output due to its newer training data and architecture while maintaining comparable speed.

Hardware Requirements

The 8‑bit quantized model is deliberately engineered for Apple Silicon, but it can also run on other platforms that support the MLX runtime.

  • VRAM / GPU Memory: ~7 GB of GPU memory is sufficient for inference at batch size = 1. The quantized weights occupy roughly 6‑7 GB on disk and load into GPU memory as 8‑bit integers.
  • Recommended GPU: Apple M2‑Pro, M2‑Max, M3‑Pro, or M3‑Max chips. For non‑Apple hardware, any GPU with at least 8 GB VRAM and support for the torch‑mlir or mlx back‑ends can be used, though performance will be slower.
  • CPU: Modern Apple Silicon CPUs (≥ 8‑core) are sufficient for token decoding; the model does not rely heavily on CPU when the GPU is present.
  • Storage: The model files (weights + tokenizer) total ~7.2 GB. SSD storage is recommended to avoid bottlenecks when loading the model.
  • Performance Characteristics: On an M2‑Pro, a 256‑token generation takes ~6‑8 seconds; on an M3‑Max, the same request drops to ~3‑4 seconds. Latency scales linearly with token count, and the 8‑bit format ensures that memory swaps are rare even with longer contexts (up to 4 K tokens).

Use Cases

DeepSeek‑R1‑0528‑Qwen3‑8B‑MLX‑8bit shines in scenarios where high‑quality language generation meets strict hardware constraints.

  • Desktop Chat Assistants: Integrated into macOS applications for real‑time conversational agents that run locally, preserving user privacy.
  • Developer Tools: Code completion, bug‑fix suggestions, and documentation generation within IDEs that run on Apple Silicon Macs.
  • Content Creation Suites: Prompt‑driven article or script generation for writers who prefer offline tools.
  • Educational Platforms: Interactive tutoring bots that can be bundled with iPad apps without requiring cloud inference.
  • Research Prototyping: Fast iteration on prompting strategies and fine‑tuning experiments on a personal laptop.

These applications benefit from the model’s low latency, modest memory footprint, and the freedom to run entirely on‑device, eliminating reliance on external APIs.

Training Details

The base model DeepSeek‑R1‑0528‑Qwen3‑8B was trained by DeepSeek‑AI on a mixture of publicly available multilingual corpora, including Common Crawl, Wikipedia, and a curated set of code repositories. Training was performed on a cluster of NVIDIA A100 GPUs for approximately 2 weeks, using a mixture of supervised fine‑tuning and next‑token prediction objectives.

  • Dataset Size: ~1.5 trillion tokens, with a 70 %/30 % split between English and non‑English data.
  • Compute: Roughly 1.2 k GPU‑hours (A100‑40 GB) for the full 8‑B parameter model.
  • Fine‑Tuning Capability: The quantized version remains fully fine‑tunable via the mlx_lm library, allowing LoRA or QLoRA adapters to be applied without de‑quantizing the base weights.
  • Tokenizer: Byte‑Pair Encoding (BPE) with a 32 K vocabulary, shared with the Qwen‑3 family.

The 8‑bit quantization step, performed by the LM Studio team, does not alter the underlying training data or methodology; it simply compresses the learned weights for efficient inference.

Licensing Information

The model is released under the MIT license, as indicated in the README. The MIT license is permissive and grants users the right to:

  • Use the model for any purpose, including commercial products.
  • Modify, merge, publish, and distribute the model or derivative works.
  • Sublicense the model under different terms, provided the original copyright notice is retained.

Because the license is explicit, there are no hidden “unknown” restrictions. However, users should still be aware of the following:

  • Attribution: The original copyright notice (© deepseek‑ai) and a link to the model’s Hugging Face page must be included in any distribution.
  • Warranty Disclaimer: The MIT license disclaims all warranties; the model is provided “as‑is”.
  • Compliance with Platform Policies: When deploying on third‑party services (e.g., cloud providers), you must also obey their content and usage policies.

In short, the MIT license fully enables commercial exploitation, provided that proper credit is given and the usual disclaimer of liability is respected.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives