File size: 735 Bytes
c6a8d5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b45e4c4
 
 
c6a8d5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
library_name: transformers
tags:
- dflash
- speculative-decoding
- sglang
- glm-5.2
---

# GLM-5.2 FP8 DFLASH v2

## Overview

This is a DFLASH speculative draft model for GLM-5.2 FP8 serving. The checkpoint
uses DFLASH block size 12 and is intended to be loaded as the draft model in
SGLang speculative decoding.

This model is fine-tuned on top of `SubconsciousDev/glm-5.2-fp8-dflash-v1`
using `SubconsciousDev/Subconscious-Dflash-Training-Dataset-mix-glm52-25k`.

## SGLang Usage

Add these arguments to the SGLang launch command:

```bash
--speculative-algorithm DFLASH \
--speculative-draft-model-path SubconsciousDev/glm-5.2-fp8-dflash-v2 \
--speculative-num-draft-tokens 12 \
--speculative-draft-kv-cache-dtype bfloat16
```