Omdano commited on
Commit
1209faf
·
verified ·
1 Parent(s): c7f451a

Add back TorchAO INT8 quantization_config for proper loading

Browse files
Files changed (1) hide show
  1. config.json +17 -0
config.json CHANGED
@@ -23,6 +23,23 @@
23
  "pos_embed_rescale": 2.0,
24
  "pos_embed_shift": null,
25
  "proj_bias": true,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  "query_bias": true,
27
  "rope_theta": 100.0,
28
  "torch_dtype": "bfloat16",
 
23
  "pos_embed_rescale": 2.0,
24
  "pos_embed_shift": null,
25
  "proj_bias": true,
26
+ "quantization_config": {
27
+ "include_input_output_embeddings": false,
28
+ "modules_to_not_convert": null,
29
+ "quant_method": "torchao",
30
+ "quant_type": {
31
+ "default": {
32
+ "_data": {
33
+ "group_size": null,
34
+ "set_inductor_config": true
35
+ },
36
+ "_type": "Int8WeightOnlyConfig",
37
+ "_version": 1
38
+ }
39
+ },
40
+ "quant_type_kwargs": {},
41
+ "untie_embedding_weights": false
42
+ },
43
  "query_bias": true,
44
  "rope_theta": 100.0,
45
  "torch_dtype": "bfloat16",