Upload OPTForCausalLM
Browse files- config.json +27 -25
config.json
CHANGED
|
@@ -26,33 +26,35 @@
|
|
| 26 |
"modules_to_not_convert": null,
|
| 27 |
"quant_method": "torchao",
|
| 28 |
"quant_type": {
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
"
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
},
|
| 45 |
-
"
|
| 46 |
-
"
|
|
|
|
|
|
|
|
|
|
| 47 |
},
|
| 48 |
-
"
|
| 49 |
-
"
|
| 50 |
-
|
| 51 |
-
"_type": "torch.dtype"
|
| 52 |
-
}
|
| 53 |
-
},
|
| 54 |
-
"_type": "Float8DynamicActivationFloat8WeightConfig",
|
| 55 |
-
"_version": 1
|
| 56 |
},
|
| 57 |
"quant_type_kwargs": {}
|
| 58 |
},
|
|
|
|
| 26 |
"modules_to_not_convert": null,
|
| 27 |
"quant_method": "torchao",
|
| 28 |
"quant_type": {
|
| 29 |
+
"default": {
|
| 30 |
+
"_data": {
|
| 31 |
+
"activation_dtype": {
|
| 32 |
+
"_data": "float8_e4m3fn",
|
| 33 |
+
"_type": "torch.dtype"
|
| 34 |
+
},
|
| 35 |
+
"granularity": {
|
| 36 |
+
"_data": {},
|
| 37 |
+
"_type": "PerRow",
|
| 38 |
+
"_version": 1
|
| 39 |
+
},
|
| 40 |
+
"mm_config": {
|
| 41 |
+
"_data": {
|
| 42 |
+
"emulate": false,
|
| 43 |
+
"pad_inner_dim": false,
|
| 44 |
+
"use_fast_accum": true
|
| 45 |
+
},
|
| 46 |
+
"_type": "Float8MMConfig",
|
| 47 |
+
"_version": 1
|
| 48 |
},
|
| 49 |
+
"set_inductor_config": true,
|
| 50 |
+
"weight_dtype": {
|
| 51 |
+
"_data": "float8_e4m3fn",
|
| 52 |
+
"_type": "torch.dtype"
|
| 53 |
+
}
|
| 54 |
},
|
| 55 |
+
"_type": "Float8DynamicActivationFloat8WeightConfig",
|
| 56 |
+
"_version": 1
|
| 57 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
},
|
| 59 |
"quant_type_kwargs": {}
|
| 60 |
},
|