-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathphi4_ov_config.json
More file actions
50 lines (50 loc) · 1.53 KB
/
phi4_ov_config.json
File metadata and controls
50 lines (50 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"input_model": {
"type": "HfModel",
"model_path": "microsoft/Phi-4-reasoning"
},
"systems": {
"local_system": {
"type": "LocalSystem",
"accelerators": [
{
"device": "npu",
"execution_providers": [
"OpenVINOExecutionProvider"
]
}
]
}
},
"passes": {
"optimum_convert": {
"type": "OpenVINOOptimumConversion",
"extra_args": { "device": "npu" },
"ov_quant_config": {
"weight_format": "int4",
"group_size": 128,
"dataset": "wikitext2",
"ratio": 1,
"awq": false,
"scale_estimation": false,
"sym": true,
"trust_remote_code": true,
"backup_precision": "int8_asym",
"sensitivity_metric": "weight_quantization_error"
}
},
"io_update": { "type": "OpenVINOIoUpdate", "static": false, "reuse_cache": true },
"encapsulation": {
"type": "OpenVINOEncapsulation",
"target_device": "npu",
"keep_ov_dynamic_dims": true,
"ov_version": "2025.1",
"reuse_cache": true
}
},
"search_strategy": false,
"cache_dir": "cache",
"evaluate_input_model": false,
"output_dir": "model/Phi-4-reasoning_context_ov_dynamic_sym_gs128_bkp_int8_sym",
"target": "local_system"
}