qgallouedec HF Staff commited on
Commit
db367c5
·
verified ·
1 Parent(s): 500a6dd

FP8 weights, like the reference checkpoint

Browse files
Files changed (3) hide show
  1. config.json +24 -1
  2. model.safetensors +2 -2
  3. tokenizer_config.json +2 -2
config.json CHANGED
@@ -7,11 +7,33 @@
7
  "model_type": "mistral_large4",
8
  "multimodal_projector_bias": false,
9
  "projector_hidden_act": "gelu",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "spatial_merge_size": 2,
11
  "text_config": {
12
  "attention_bias": false,
13
  "attention_dropout": 0.0,
14
  "bos_token_id": 1,
 
15
  "eos_token_id": 2,
16
  "final_logit_softcapping": 30.0,
17
  "first_k_dense_replace": 1,
@@ -66,7 +88,7 @@
66
  "sparse"
67
  ],
68
  "model_type": "mistral_large4_text",
69
- "moe_intermediate_size": 16,
70
  "n_group": 1,
71
  "n_routed_experts": 8,
72
  "n_shared_experts": 1,
@@ -111,6 +133,7 @@
111
  "transformers_version": "5.21.0.dev0",
112
  "vision_config": {
113
  "attention_dropout": 0.0,
 
114
  "head_dim": 4,
115
  "hidden_act": "silu",
116
  "hidden_size": 16,
 
7
  "model_type": "mistral_large4",
8
  "multimodal_projector_bias": false,
9
  "projector_hidden_act": "gelu",
10
+ "quantization_config": {
11
+ "activation_scheme": "dynamic",
12
+ "dequantize": false,
13
+ "expert_dtype": "fp8",
14
+ "modules_to_convert": null,
15
+ "modules_to_not_convert": [
16
+ "model.vision_tower",
17
+ "model.multi_modal_projector",
18
+ "lm_head",
19
+ "kv_b_proj",
20
+ "indexer.wk",
21
+ "indexer.weights_proj",
22
+ "kv_a_proj_with_mqa"
23
+ ],
24
+ "quant_method": "fp8",
25
+ "scale_fmt": "float",
26
+ "weight_block_size": [
27
+ 32,
28
+ 32
29
+ ]
30
+ },
31
  "spatial_merge_size": 2,
32
  "text_config": {
33
  "attention_bias": false,
34
  "attention_dropout": 0.0,
35
  "bos_token_id": 1,
36
+ "dtype": "bfloat16",
37
  "eos_token_id": 2,
38
  "final_logit_softcapping": 30.0,
39
  "first_k_dense_replace": 1,
 
88
  "sparse"
89
  ],
90
  "model_type": "mistral_large4_text",
91
+ "moe_intermediate_size": 64,
92
  "n_group": 1,
93
  "n_routed_experts": 8,
94
  "n_shared_experts": 1,
 
133
  "transformers_version": "5.21.0.dev0",
134
  "vision_config": {
135
  "attention_dropout": 0.0,
136
+ "dtype": "bfloat16",
137
  "head_dim": 4,
138
  "hidden_act": "silu",
139
  "hidden_size": 16,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:288001a0565e8174b42f35e6049f7d61d7a9249894fac1c6d8a0fd070375f717
3
- size 26585376
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30e7f2faab9479609a7075553e61bcd2239513e0a6fb7b6b506549154217adbb
3
+ size 26755208
tokenizer_config.json CHANGED
@@ -2,8 +2,8 @@
2
  "backend": "tokenizers",
3
  "bos_token": "<s>",
4
  "eos_token": "</s>",
5
- "is_local": false,
6
- "local_files_only": true,
7
  "model_max_length": 1000000000000000019884624838656,
8
  "pad_token": "<pad>",
9
  "processor_class": "PixtralProcessor",
 
2
  "backend": "tokenizers",
3
  "bos_token": "<s>",
4
  "eos_token": "</s>",
5
+ "is_local": true,
6
+ "local_files_only": false,
7
  "model_max_length": 1000000000000000019884624838656,
8
  "pad_token": "<pad>",
9
  "processor_class": "PixtralProcessor",