kingfang008 commited on
Commit
98a3133
·
verified ·
1 Parent(s): 71e5264

Stage BF16 MLX lite decoder and Torch reference fixtures

Browse files
lite/config.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "bonframe-lightvae-mlx-bf16-v1",
3
+ "variant": "lite",
4
+ "architecture": {
5
+ "family": "wan22",
6
+ "kept": [
7
+ 0,
8
+ 4,
9
+ 5,
10
+ 8,
11
+ 11
12
+ ],
13
+ "packed_records": [
14
+ {
15
+ "path": "conv1",
16
+ "shape": [
17
+ 1024,
18
+ 48,
19
+ 3,
20
+ 3,
21
+ 3
22
+ ],
23
+ "padding": 1,
24
+ "rank": 290,
25
+ "bias": true
26
+ },
27
+ {
28
+ "path": "middle.0.residual.2",
29
+ "shape": [
30
+ 1024,
31
+ 1024,
32
+ 3,
33
+ 3,
34
+ 3
35
+ ],
36
+ "padding": 1,
37
+ "rank": 420,
38
+ "bias": true
39
+ },
40
+ {
41
+ "path": "middle.0.residual.6",
42
+ "shape": [
43
+ 1024,
44
+ 1024,
45
+ 3,
46
+ 3,
47
+ 3
48
+ ],
49
+ "padding": 1,
50
+ "rank": 434,
51
+ "bias": true
52
+ },
53
+ {
54
+ "path": "upsamples.0.upsamples.2.residual.2",
55
+ "shape": [
56
+ 1024,
57
+ 1024,
58
+ 3,
59
+ 3,
60
+ 3
61
+ ],
62
+ "padding": 1,
63
+ "rank": 411,
64
+ "bias": true
65
+ },
66
+ {
67
+ "path": "upsamples.0.upsamples.2.residual.6",
68
+ "shape": [
69
+ 1024,
70
+ 1024,
71
+ 3,
72
+ 3,
73
+ 3
74
+ ],
75
+ "padding": 1,
76
+ "rank": 452,
77
+ "bias": true
78
+ },
79
+ {
80
+ "path": "upsamples.0.upsamples.3.time_conv",
81
+ "shape": [
82
+ 2048,
83
+ 1024,
84
+ 3,
85
+ 1,
86
+ 1
87
+ ],
88
+ "padding": 0,
89
+ "rank": 533,
90
+ "bias": true
91
+ },
92
+ {
93
+ "path": "upsamples.1.upsamples.0.residual.2",
94
+ "shape": [
95
+ 1024,
96
+ 1024,
97
+ 3,
98
+ 3,
99
+ 3
100
+ ],
101
+ "padding": 1,
102
+ "rank": 448,
103
+ "bias": true
104
+ },
105
+ {
106
+ "path": "upsamples.1.upsamples.0.residual.6",
107
+ "shape": [
108
+ 1024,
109
+ 1024,
110
+ 3,
111
+ 3,
112
+ 3
113
+ ],
114
+ "padding": 1,
115
+ "rank": 456,
116
+ "bias": true
117
+ },
118
+ {
119
+ "path": "upsamples.1.upsamples.3.time_conv",
120
+ "shape": [
121
+ 2048,
122
+ 1024,
123
+ 3,
124
+ 1,
125
+ 1
126
+ ],
127
+ "padding": 0,
128
+ "rank": 590,
129
+ "bias": true
130
+ },
131
+ {
132
+ "path": "upsamples.2.upsamples.0.residual.2",
133
+ "shape": [
134
+ 512,
135
+ 1024,
136
+ 3,
137
+ 3,
138
+ 3
139
+ ],
140
+ "padding": 1,
141
+ "rank": 0,
142
+ "bias": true
143
+ },
144
+ {
145
+ "path": "upsamples.2.upsamples.0.residual.6",
146
+ "shape": [
147
+ 512,
148
+ 512,
149
+ 3,
150
+ 3,
151
+ 3
152
+ ],
153
+ "padding": 1,
154
+ "rank": 0,
155
+ "bias": true
156
+ },
157
+ {
158
+ "path": "upsamples.3.upsamples.0.residual.2",
159
+ "shape": [
160
+ 256,
161
+ 512,
162
+ 3,
163
+ 3,
164
+ 3
165
+ ],
166
+ "padding": 1,
167
+ "rank": 0,
168
+ "bias": true
169
+ },
170
+ {
171
+ "path": "upsamples.3.upsamples.0.residual.6",
172
+ "shape": [
173
+ 256,
174
+ 256,
175
+ 3,
176
+ 3,
177
+ 3
178
+ ],
179
+ "padding": 1,
180
+ "rank": 0,
181
+ "bias": true
182
+ },
183
+ {
184
+ "path": "head.2",
185
+ "shape": [
186
+ 12,
187
+ 256,
188
+ 3,
189
+ 3,
190
+ 3
191
+ ],
192
+ "padding": 1,
193
+ "rank": 7,
194
+ "bias": true
195
+ }
196
+ ]
197
+ },
198
+ "norms": {
199
+ "decoder.middle.0.residual.0": {
200
+ "scale": 32.0,
201
+ "silu": true
202
+ },
203
+ "decoder.middle.0.residual.3": {
204
+ "scale": 32.0,
205
+ "silu": true
206
+ },
207
+ "decoder.middle.1.norm": {
208
+ "scale": 32.0,
209
+ "silu": false
210
+ },
211
+ "decoder.upsamples.0.upsamples.2.residual.0": {
212
+ "scale": 32.0,
213
+ "silu": true
214
+ },
215
+ "decoder.upsamples.0.upsamples.2.residual.3": {
216
+ "scale": 32.0,
217
+ "silu": true
218
+ },
219
+ "decoder.upsamples.1.upsamples.0.residual.0": {
220
+ "scale": 32.0,
221
+ "silu": true
222
+ },
223
+ "decoder.upsamples.1.upsamples.0.residual.3": {
224
+ "scale": 32.0,
225
+ "silu": true
226
+ },
227
+ "decoder.upsamples.2.upsamples.0.residual.0": {
228
+ "scale": 32.0,
229
+ "silu": true
230
+ },
231
+ "decoder.upsamples.2.upsamples.0.residual.3": {
232
+ "scale": 22.627416997969522,
233
+ "silu": true
234
+ },
235
+ "decoder.upsamples.3.upsamples.0.residual.0": {
236
+ "scale": 22.627416997969522,
237
+ "silu": true
238
+ },
239
+ "decoder.upsamples.3.upsamples.0.residual.3": {
240
+ "scale": 16.0,
241
+ "silu": true
242
+ },
243
+ "decoder.head.0": {
244
+ "scale": 16.0,
245
+ "silu": true
246
+ }
247
+ },
248
+ "source_sha256": "455846ab42fe580b82209aec2bee84774860e29a6a66673ec6effe99400b6197"
249
+ }
lite/decoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5704b1bd835d143a9fc4b74dd322960bcdd61d349cc6ac440083fda0b9309598
3
+ size 304896412
lite/reference-1.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23965987fbea05899b32ed74c696ea50ca79b47ccbed2b3ed4242fe2484a8490
3
+ size 13566
lite/reference-3.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb2d8dbafbd258ffcb57f2303fd580d05d75b2d9b20004ab415bfe78cc3cd4ed
3
+ size 113406