initial config.json of fp8 with kv_cache quantize version
Browse files- config.json +44 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/group/amdneuralopt/huggingface/pretrained_models/databricks/dbrx-instruct",
|
3 |
+
"architectures": [
|
4 |
+
"DbrxForCausalLM"
|
5 |
+
],
|
6 |
+
"attn_config": {
|
7 |
+
"clip_qkv": 8,
|
8 |
+
"kv_n_heads": 8,
|
9 |
+
"model_type": "",
|
10 |
+
"rope_theta": 500000
|
11 |
+
},
|
12 |
+
"d_model": 6144,
|
13 |
+
"emb_pdrop": 0.0,
|
14 |
+
"ffn_config": {
|
15 |
+
"ffn_hidden_size": 10752,
|
16 |
+
"model_type": "",
|
17 |
+
"moe_jitter_eps": 0,
|
18 |
+
"moe_loss_weight": 0.05,
|
19 |
+
"moe_num_experts": 16,
|
20 |
+
"moe_top_k": 4
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"max_seq_len": 32768,
|
24 |
+
"model_type": "dbrx",
|
25 |
+
"n_heads": 48,
|
26 |
+
"n_layers": 40,
|
27 |
+
"num_key_value_heads": 8,
|
28 |
+
"output_router_logits": false,
|
29 |
+
"quantization_config": {
|
30 |
+
"activation_scheme": "static",
|
31 |
+
"ignored_layers": [
|
32 |
+
"lm_head",
|
33 |
+
"*router.layer"
|
34 |
+
],
|
35 |
+
"kv_cache_scheme": "static",
|
36 |
+
"quant_method": "fp8"
|
37 |
+
},
|
38 |
+
"resid_pdrop": 0.0,
|
39 |
+
"tie_word_embeddings": false,
|
40 |
+
"torch_dtype": "bfloat16",
|
41 |
+
"transformers_version": "4.45.0",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 100352
|
44 |
+
}
|