Gorilla4X commited on
Commit
0904e46
·
verified ·
1 Parent(s): 093c1a8

model card

Browse files
Files changed (1) hide show
  1. README.md +101 -0
README.md ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: unsloth/DeepSeek-R1-Distill-Qwen-14B
4
+ base_model_relation: quantized
5
+ pipeline_tag: text-generation
6
+ library_name: gguf
7
+ tags:
8
+ - the-rock8
9
+ - rock8
10
+ - rdna4
11
+ - gfx1201
12
+ - radeon-ai-pro-r9700
13
+ - rx-9070
14
+ - fp8
15
+ - f8e4m3
16
+ - quark
17
+ - gguf
18
+ - amd
19
+ - rocm
20
+ - llama.cpp
21
+ - quantized
22
+ - reasoning
23
+ - deepseek-r1
24
+ model_name: Quacken-R1-14B-FP8
25
+ quantized_by: The Rock8
26
+ ---
27
+
28
+ # Quacken-R1-14B-FP8
29
+ ### The Rock8 - Got any weights? 💪🦆
30
+
31
+ Native **fp8 E4M3** GGUF of **DeepSeek-R1-Distill-Qwen-14B** (a reasoning model) for
32
+ **AMD RDNA4** (gfx1201 - Radeon AI PRO R9700 / RX 9070 / 9070 XT / W-series),
33
+ quantized with **AMD Quark** from the full-precision BF16 weights by
34
+ [The Rock8](https://github.com/The-Monk/The-Rock8).
35
+
36
+ The Rock8's llama.cpp fork runs this fp8 on RDNA4's **native WMMA fp8 tensor cores**
37
+ (prefill) and `v_dot4_f32_fp8_fp8` (decode) - not a dequant-to-f16 fallback.
38
+
39
+ ## What it is
40
+ - **Format:** fp8 E4M3 (`F8E4M3`), block-scaled, produced by AMD Quark from BF16.
41
+ - **Target:** AMD RDNA4 / gfx1201 (Radeon AI PRO R9700, RX 9070 / 9070 XT).
42
+ - **Runtime:** The Rock8 (llama.cpp fork with native RDNA4 fp8 kernels) on TheRock ROCm 7.13.
43
+ - **File:** `DeepSeek-R1-Distill-Qwen-14B-Quark-F8E4M3.gguf` (16 GB).
44
+
45
+ ## Reasoning model - usage note
46
+ This is an R1-distill reasoning model. It emits a chain-of-thought inside
47
+ `<think>...</think>` before the final answer; llama.cpp / OpenAI-compatible servers
48
+ surface that as `reasoning_content`. To **disable** thinking for a turn, append
49
+ `/no_think` to the prompt (or set the chat template's thinking flag off). Expect
50
+ longer generations by default because of the reasoning trace.
51
+
52
+ ## Source model + license
53
+ - **Source:** [unsloth/DeepSeek-R1-Distill-Qwen-14B](https://huggingface.co/unsloth/DeepSeek-R1-Distill-Qwen-14B)
54
+ (a mirror of deepseek-ai/DeepSeek-R1-Distill-Qwen-14B).
55
+ - **License:** **MIT** (inherited from the source model; redistribution of this
56
+ quantized derivative is permitted with attribution). This is a derivative work.
57
+
58
+ ## Validation (real gfx1201 hardware)
59
+ | Metric | Value |
60
+ |---|---:|
61
+ | Perplexity (wikitext, 20 chunks, n_ctx=512) | **8.97** |
62
+ | Prefill `pp512` | **2499 t/s** |
63
+ | Decode `tg128` | **33.4 t/s** |
64
+
65
+ Benched on a single R9700 (gfx1201).
66
+
67
+ ## Run it
68
+
69
+ ### llama.cpp (The Rock8 fork)
70
+ ```bash
71
+ # reasoning chat (keeps <think>)
72
+ llama-cli -m DeepSeek-R1-Distill-Qwen-14B-Quark-F8E4M3.gguf -ngl 99 \
73
+ -p "Solve step by step: a train travels 60 km in 40 minutes. What is its speed in km/h?"
74
+ # fast, no reasoning trace
75
+ llama-cli -m DeepSeek-R1-Distill-Qwen-14B-Quark-F8E4M3.gguf -ngl 99 -p "What do you call a dried grape? Answer in one word. /no_think"
76
+ # bench
77
+ llama-bench -m DeepSeek-R1-Distill-Qwen-14B-Quark-F8E4M3.gguf -ngl 99 -p 512 -n 128
78
+ ```
79
+
80
+ ### Lemonade appliance (container)
81
+ ```bash
82
+ podman run -d --rm --runtime crun --name lemonade \
83
+ --device /dev/kfd --device /dev/dri \
84
+ --group-add keep-groups --security-opt seccomp=unconfined \
85
+ -v /path/to/quacken-r1-14b:/models:ro \
86
+ -e MODEL=/models/DeepSeek-R1-Distill-Qwen-14B-Quark-F8E4M3.gguf -e MODEL_NAME=Quacken-R1-14B-FP8 \
87
+ -e HIP_VISIBLE_DEVICES=0 -p 13305:13305 \
88
+ ghcr.io/the-monk/the-rock8:rdna4-tr713 serve
89
+ ```
90
+ Container (same image on each registry; `--runtime crun` is required for GPU):
91
+ `ghcr.io/the-monk/the-rock8:rdna4-tr713` - `docker.io/gorilla4x/the-rock8:rdna4-tr713` - `quay.io/the-monk/the-rock8:rdna4-tr713`
92
+ (images may not be pushed to every registry yet).
93
+
94
+ ## The Rock8 - RDNA4 fp8 (links)
95
+ - **GitHub:** [The-Rock8](https://github.com/The-Monk/The-Rock8) - kernels, patch series, appliance recipe, full feature doc.
96
+ - **Collection:** [The Rock8 - RDNA4 fp8](https://huggingface.co/Gorilla4X).
97
+ - **Sibling model:**
98
+ [Quacken-8B-FP8](https://huggingface.co/Gorilla4X/Quacken-8B-FP8).
99
+ - **3 more coming:** Quacken-27B-FP8 (Qwen3.6-27B), Qwen3.6-35B-A3B (MoE) fp8, and Ornith-1.0-35B fp8 (in final validation).
100
+
101
+ *Every artifact links to the others - land on any one, reach them all.*