msluszniak commited on
Commit
c2dad90
·
verified ·
1 Parent(s): bb02d95

Add spec-compliant config.json files

Browse files
Files changed (1) hide show
  1. xnnpack/config.json +116 -2
xnnpack/config.json CHANGED
@@ -12,13 +12,127 @@
12
  "file": "whisper_base_en_xnnpack_int8.pte",
13
  "precision": "int8",
14
  "quantized": true,
15
- "default": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  },
17
  {
18
  "file": "whisper_base_en_xnnpack_fp32.pte",
19
  "precision": "fp32",
20
  "quantized": false,
21
- "default": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
  ]
24
  }
 
12
  "file": "whisper_base_en_xnnpack_int8.pte",
13
  "precision": "int8",
14
  "quantized": true,
15
+ "default": true,
16
+ "methods": {
17
+ "decode": {
18
+ "inputs": [
19
+ {
20
+ "shape": [
21
+ 1,
22
+ 128
23
+ ],
24
+ "dtype": "int64"
25
+ },
26
+ {
27
+ "shape": [
28
+ 128
29
+ ],
30
+ "dtype": "int64"
31
+ },
32
+ {
33
+ "shape": [
34
+ 1,
35
+ 1500,
36
+ 512
37
+ ],
38
+ "dtype": "float32"
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "shape": [
44
+ 1,
45
+ 128,
46
+ 51864
47
+ ],
48
+ "dtype": "float32"
49
+ }
50
+ ]
51
+ },
52
+ "encode": {
53
+ "inputs": [
54
+ {
55
+ "shape": [
56
+ 480000
57
+ ],
58
+ "dtype": "float32"
59
+ }
60
+ ],
61
+ "outputs": [
62
+ {
63
+ "shape": [
64
+ 1,
65
+ 1500,
66
+ 512
67
+ ],
68
+ "dtype": "float32"
69
+ }
70
+ ]
71
+ }
72
+ }
73
  },
74
  {
75
  "file": "whisper_base_en_xnnpack_fp32.pte",
76
  "precision": "fp32",
77
  "quantized": false,
78
+ "default": true,
79
+ "methods": {
80
+ "decode": {
81
+ "inputs": [
82
+ {
83
+ "shape": [
84
+ 1,
85
+ 128
86
+ ],
87
+ "dtype": "int64"
88
+ },
89
+ {
90
+ "shape": [
91
+ 128
92
+ ],
93
+ "dtype": "int64"
94
+ },
95
+ {
96
+ "shape": [
97
+ 1,
98
+ 1500,
99
+ 512
100
+ ],
101
+ "dtype": "float32"
102
+ }
103
+ ],
104
+ "outputs": [
105
+ {
106
+ "shape": [
107
+ 1,
108
+ 128,
109
+ 51864
110
+ ],
111
+ "dtype": "float32"
112
+ }
113
+ ]
114
+ },
115
+ "encode": {
116
+ "inputs": [
117
+ {
118
+ "shape": [
119
+ 480000
120
+ ],
121
+ "dtype": "float32"
122
+ }
123
+ ],
124
+ "outputs": [
125
+ {
126
+ "shape": [
127
+ 1,
128
+ 1500,
129
+ 512
130
+ ],
131
+ "dtype": "float32"
132
+ }
133
+ ]
134
+ }
135
+ }
136
  }
137
  ]
138
  }