-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathsam21_mask_decoder_qnn_ctx.json
More file actions
68 lines (68 loc) · 1.79 KB
/
sam21_mask_decoder_qnn_ctx.json
File metadata and controls
68 lines (68 loc) · 1.79 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"input_model": {
"type": "ONNXModel",
"model_path": "sam21_mask_decoder.onnx"
},
"systems": {
"host_system": {
"type": "LocalSystem"
},
"qnn_system": {
"type": "PythonEnvironment",
"python_environment_path": "/path/to/qnn/env/bin",
"accelerators": [
{
"execution_providers": [
"QNNExecutionProvider"
]
}
]
}
},
"data_configs": [
{
"name": "dummy_data_config",
"type": "DummyDataContainer",
"load_dataset_config": {
"input_shapes": [
[
1,
3,
1024,
1024
]
],
"input_names": [
"input.1"
],
"input_types": [
"float32"
]
}
}
],
"passes": {
"f16": {
"type": "OnnxFloatToFloat16",
"save_as_external_data": true
},
"cb": {
"type": "EPContextBinaryGenerator",
"provider_options": {
"htp_performance_mode": "burst",
"htp_graph_finalization_optimization_mode": "3",
"offload_graph_io_quantization": "0",
"soc_model": "60"
},
"weight_sharing": false
}
},
"host": "host_system",
"target": "qnn_system",
"log_severity_level": 0,
"ort_log_severity_level": 1,
"ort_py_log_severity_level": 1,
"cache_dir": "cache_decoder",
"output_dir": "model/decoder",
"no_artifacts": true
}