CoolFace
Modelpublic

baa-ai/DeepSeek-V3.2-RAM-350GB-MLX

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes124downloads
Model Card

DeepSeek-V3.2 — 350 GB (MLX)

Mixed-precision MLX build of deepseek-ai/DeepSeek-V3.2, prepared by baa.ai.

Built at the predicted quality-maximum operating point — the budget at which additional bits stop delivering measurable quality gains.

Metrics

MetricValue
In-memory footprint~350 GiB (estimated, 1:1 with disk)
Size on disk376.8 GB (86 shards)
Average bits per weight3.95
Group size64
FrameworkMLX (Apple Silicon)
Sourcedeepseek-ai/DeepSeek-V3.2 (FP8 E4M3, 689.5 GB)
Compression vs source46% smaller (689.5 GB to 376.8 GB)

Benchmarks

Benchmarks are pending — this model requires a 384 GB+ Mac to load.

Recommended inference settings

python
sampler_params = {
    "temperature": 1.0,
    "top_p": 0.95,
    "top_k": 40,
    "repetition_penalty": 1.1,
    "max_tokens": 8192,
}

Chat template — thinking mode

DeepSeek-V3.2 uses a <think>...</think> reasoning block. The model begins its response inside a thinking block. Strip everything up to and including the first </think> to get the final answer:

python
def strip_thinking(text: str) -> str:
    if "</think>" in text:
        return text.split("</think>", 1)[1].strip()
    return text.strip()

Note: DeepSeek-V3.2 does not ship a Jinja chat template. For advanced chat formatting (tool calling, multi-turn), refer to the encoding scripts in the source repo.

Usage

python
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler, make_logits_processors

model, tokenizer = load("baa-ai/DeepSeek-V3.2-RAM-350GB-MLX")

sampler = make_sampler(temp=1.0, top_p=0.95, top_k=40)
logits_processors = make_logits_processors(repetition_penalty=1.1)

prompt = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Write a Python function that reverses a string."}],
    tokenize=False,
    add_generation_prompt=True,
)

response = generate(
    model,
    tokenizer,
    prompt=prompt,
    max_tokens=8192,
    sampler=sampler,
    logits_processors=logits_processors,
)

if "</think>" in response:
    response = response.split("</think>", 1)[1].strip()
print(response)

Hardware

  • —Apple Silicon Mac with 384 GB+ unified memory required.
  • —Fits comfortably on a 512 GB Mac Studio Ultra or Mac Pro.
  • —Does not fit on 192 GB machines without heavy swap.

Variants

VariantSizeLink
350 GB376.8 GB**baa-ai/DeepSeek-V3.2-RAM-350GB-MLX**

Black Sheep AI Products

[Shepherd](https://baa.ai/shepherd.html) — Private AI deployment platform that shrinks frontier models by 50-60% through RAM compression, enabling enterprises to run sophisticated AI on single GPU instances or Apple Silicon hardware. Deploy in your VPC with zero data leaving your infrastructure. Includes CI/CD pipeline integration, fleet deployment across Apple Silicon clusters, air-gapped and sovereign deployment support, and multi-format export (MLX, GGUF). Annual cloud costs from ~$2,700 — or run on a Mac Studio for electricity only.

[Watchman](https://baa.ai/watchman.html) — Capability audit and governance platform for compressed AI models. Know exactly what your quantized model can do before it goes live. Watchman predicts which capabilities survive compression in minutes — replacing weeks of benchmarking. Includes compliance-ready reporting for regulated industries, quality valley warnings for counterproductive memory allocations, instant regression diagnosis tracing issues to specific tensors, and 22 adversarial security probes scanning for injection, leakage, hallucination, and code vulnerabilities.

Learn more at [baa.ai](https://baa.ai) — Sovereign AI.

License

MIT — inherited from deepseek-ai/DeepSeek-V3.2.


Quantized by [baa.ai](https://baa.ai)