-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathphi3_trtrtx.json
More file actions
41 lines (41 loc) · 1.06 KB
/
phi3_trtrtx.json
File metadata and controls
41 lines (41 loc) · 1.06 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
{
"input_model": {
"type": "HfModel",
"model_path": "microsoft/Phi-3-mini-4k-instruct",
"task": "text-classification"
},
"systems": {
"local_system": {
"type": "LocalSystem",
"accelerators": [
{
"device": "gpu",
"execution_providers": [
"NvTensorRTRTXExecutionProvider"
]
}
]
}
},
"target": "local_system",
"passes": {
"mb": {
"type": "ModelBuilder",
"precision": "int4",
"int4_block_size": 32,
"int4_algo_config": "rtn",
"int4_is_symmetric": true,
"enable_cuda_graph": true
},
"mq": {
"type": "MatMulNBitsToQDQ",
"use_int4": true,
"add_zero_point": false,
"save_as_external_data": true
}
},
"log_severity_level": 0,
"output_dir": "model/phi3",
"cache_dir": "cache",
"evaluate_input_model": false
}