forked from zhangks98/eeg-adapt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinference_costs
54 lines (47 loc) · 1.38 KB
/
inference_costs
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
Inference cost for 8-bit
{
"discount_sparsity": true,
"mem_o_FLOAT32": 43002.0,
"mem_w_INT8": 248102.0,
"op_mac_FLOAT32_INT8": 19590397.0,
"total_bops": 5015141632.0,
"total_mem_o_bits": 1376064.0,
"total_mem_w_bits": 1984816.0,
"unsupported": "{'MultiThreshold', 'Gather', 'LogSoftmax'}"
}
-------------------------------------------------------------
Inference cost for 6-bit
{
"discount_sparsity": true,
"mem_o_FLOAT32": 43002.0,
"mem_w_INT6": 240506.0,
"op_mac_FLOAT32_INT6": 19005220.0,
"total_bops": 3649002240.0,
"total_mem_o_bits": 1376064.0,
"total_mem_w_bits": 1443036.0,
"unsupported": "{'MultiThreshold', 'Gather', 'LogSoftmax'}"
}
-------------------------------------------------------------
Inference cost for 4-bit
{
"discount_sparsity": true,
"mem_o_FLOAT32": 43002.0,
"mem_w_INT4": 208243.0,
"op_mac_FLOAT32_INT4": 16219529.0,
"total_bops": 2076099712.0,
"total_mem_o_bits": 1376064.0,
"total_mem_w_bits": 832972.0,
"unsupported": "{'MultiThreshold', 'Gather', 'LogSoftmax'}"
}
-------------------------------------------------------------
Inference cost for 2-bit
{
"discount_sparsity": true,
"mem_o_FLOAT32": 43002.0,
"mem_w_INT2": 16230.0,
"op_mac_FLOAT32_INT2": 2459732.0,
"total_bops": 157422848.0,
"total_mem_o_bits": 1376064.0,
"total_mem_w_bits": 32460.0,
"unsupported": "{'MultiThreshold', 'Gather', 'LogSoftmax'}"
}