Views
No views yet
| Metric | Value |
|---|---|
| In-memory footprint | ~350 GiB (estimated, 1:1 with disk) |
| Size on disk | 376.8 GB (86 shards) |
| Average bits per weight | 3.95 |
| Group size | 64 |
| Framework | MLX (Apple Silicon) |
| Source | deepseek-ai/DeepSeek-V3.2 (FP8 E4M3, 689.5 GB) |
| Compression vs source | 46% smaller (689.5 GB to 376.8 GB) |
1sampler_params = {
2 "temperature": 1.0,
3 "top_p": 0.95,
4 "top_k": 40,
5 "repetition_penalty": 1.1,
6 "max_tokens": 8192,
7}<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:1def strip_thinking(text: str) -> str:
2 if "</think>" in text:
3 return text.split("</think>", 1)[1].strip()
4 return text.strip()1from mlx_lm import load, generate
2from mlx_lm.sample_utils import make_sampler, make_logits_processors
3
4model, tokenizer = load("baa-ai/DeepSeek-V3.2-RAM-350GB-MLX")
5
6sampler = make_sampler(temp=1.0, top_p=0.95, top_k=40)
7logits_processors = make_logits_processors(repetition_penalty=1.1)
8
9prompt = tokenizer.apply_chat_template(
10 [{"role": "user", "content": "Write a Python function that reverses a string."}],
11 tokenize=False,
12 add_generation_prompt=True,
13)
14
15response = generate(
16 model,
17 tokenizer,
18 prompt=prompt,
19 max_tokens=8192,
20 sampler=sampler,
21 logits_processors=logits_processors,
22)
23
24if "</think>" in response:
25 response = response.split("</think>", 1)[1].strip()
26print(response)| Variant | Size | Link |
|---|---|---|
| 350 GB | 376.8 GB | baa-ai/DeepSeek-V3.2-RAM-350GB-MLX |