jkim96 commited on
Commit
0a8e207
·
verified ·
1 Parent(s): 5bdba90

Add DASH-Q remote-code inference (Triton decode kernel)

Browse files
Files changed (1) hide show
  1. README.md +16 -12
README.md CHANGED
@@ -1,17 +1,20 @@
1
  ---
2
- license: apache-2.0
3
  base_model: microsoft/phi-4
 
4
  library_name: transformers
5
  tags:
6
  - dashq
7
  - quantized
8
  - post-training-quantization
 
9
  ---
10
- # phi-4-DASHQ-INT3-g128
11
 
12
- This repository contains a DASH-Q packed quantized checkpoint for `microsoft/phi-4`.
13
 
14
- DASH-Q checkpoints require the lightweight DASH-Q runtime package for loading. They are not plain Transformers checkpoints because linear layers are stored as `PackedQuantizedLinear` modules.
 
15
 
16
  ## Usage
17
 
@@ -47,14 +50,15 @@ Without Triton, or on CPU, it falls back to dequantize-and-matmul in PyTorch.
47
  | Field | Value |
48
  | --- | --- |
49
  | Base model | `microsoft/phi-4` |
50
- | Bits | `3` |
51
- | Group size | `128` |
52
- | Scale/zero dtype | `float16` |
53
- | Calibration dataset | `wikitext2` |
54
- | Calibration samples | `128` |
55
- | Sequence length | `2048` |
56
- | Original size | `29.3190 GB` |
57
- | Quantized size | `7.9347 GB` |
 
58
 
59
  ## Evaluation
60
 
 
1
  ---
2
+ license: mit
3
  base_model: microsoft/phi-4
4
+ base_model_relation: quantized
5
  library_name: transformers
6
  tags:
7
  - dashq
8
  - quantized
9
  - post-training-quantization
10
+ - int3
11
  ---
12
+ ![DASH-Q](https://raw.githubusercontent.com/JaeminK/dashq/main/assets/dashq_banner.png)
13
 
14
+ # phi-4-DASHQ-INT3-g128
15
 
16
+ > **DASH-Q** Diagonal-Aware Shrinkage for Robust PTQ.
17
+ > `INT3` · group size 128 · **7.9347 GB** (from 29.3190 GB — **3.7x smaller**)
18
 
19
  ## Usage
20
 
 
50
  | Field | Value |
51
  | --- | --- |
52
  | Base model | `microsoft/phi-4` |
53
+ | Precision | INT3, group size 128 |
54
+ | Scale / zero dtype | float16 |
55
+ | Calibration | wikitext2, 128 samples x 2048 |
56
+ | Size | 7.9347 GB · original 29.3190 GB · 3.7x compression |
57
+
58
+ ## Benchmarks
59
+
60
+ Full zero-shot / few-shot results for every DASH-Q checkpoint:
61
+ **[github.com/JaeminK/dashq#benchmarks](https://github.com/JaeminK/dashq#benchmarks)**
62
 
63
  ## Evaluation
64