File tree
6 files changed
+272
-54
lines changed- test/prototype/moe_training
- torchao/prototype
- moe_training
- kernels
- mx_formats
6 files changed
+272
-54
lines changedLines changed: 22 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
230 | 230 |
| |
231 | 231 |
| |
232 | 232 |
| |
233 |
| - | |
| 233 | + | |
234 | 234 |
| |
235 |
| - | |
| 235 | + | |
236 | 236 |
| |
237 | 237 |
| |
238 | 238 |
| |
239 |
| - | |
| 239 | + | |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
243 |
| - | |
| 242 | + | |
| 243 | + | |
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
247 |
| - | |
| 247 | + | |
248 | 248 |
| |
249 |
| - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
250 | 252 |
| |
251 |
| - | |
| 253 | + | |
252 | 254 |
| |
253 | 255 |
| |
254 | 256 |
| |
| |||
305 | 307 |
| |
306 | 308 |
| |
307 | 309 |
| |
308 |
| - | |
309 |
| - | |
| 310 | + | |
| 311 | + | |
310 | 312 |
| |
311 | 313 |
| |
312 | 314 |
| |
313 | 315 |
| |
314 | 316 |
| |
315 | 317 |
| |
316 | 318 |
| |
317 |
| - | |
318 |
| - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
319 | 325 |
| |
320 |
| - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
321 | 330 |
| |
322 | 331 |
| |
323 | 332 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
139 |
| - | |
| 139 | + | |
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + |
Lines changed: 129 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 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 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + |
Lines changed: 44 additions & 40 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
277 | 278 |
| |
278 | 279 |
| |
279 | 280 |
| |
280 |
| - | |
| 281 | + | |
281 | 282 |
| |
282 | 283 |
| |
283 | 284 |
| |
284 | 285 |
| |
285 | 286 |
| |
286 |
| - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
287 | 293 |
| |
288 | 294 |
| |
289 | 295 |
| |
290 | 296 |
| |
291 | 297 |
| |
292 | 298 |
| |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 |
| - | |
297 |
| - | |
| 299 | + | |
298 | 300 |
| |
299 | 301 |
| |
300 |
| - | |
301 |
| - | |
| 302 | + | |
| 303 | + | |
302 | 304 |
| |
303 | 305 |
| |
304 | 306 |
| |
305 | 307 |
| |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
311 |
| - | |
312 |
| - | |
313 |
| - | |
314 |
| - | |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 | 308 |
| |
319 | 309 |
| |
320 | 310 |
| |
321 |
| - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
322 | 317 |
| |
323 | 318 |
| |
324 |
| - | |
325 |
| - | |
| 319 | + | |
| 320 | + | |
326 | 321 |
| |
327 | 322 |
| |
328 | 323 |
| |
| |||
334 | 329 |
| |
335 | 330 |
| |
336 | 331 |
| |
| 332 | + | |
337 | 333 |
| |
338 | 334 |
| |
339 | 335 |
| |
| |||
343 | 339 |
| |
344 | 340 |
| |
345 | 341 |
| |
346 |
| - | |
| 342 | + | |
347 | 343 |
| |
348 | 344 |
| |
349 | 345 |
| |
350 | 346 |
| |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 | 347 |
| |
356 | 348 |
| |
357 | 349 |
| |
358 |
| - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
359 | 356 |
| |
360 | 357 |
| |
361 |
| - | |
362 |
| - | |
| 358 | + | |
| 359 | + | |
363 | 360 |
| |
364 | 361 |
| |
365 | 362 |
| |
| |||
385 | 382 |
| |
386 | 383 |
| |
387 | 384 |
| |
388 |
| - | |
389 | 385 |
| |
390 | 386 |
| |
391 | 387 |
| |
| |||
402 | 398 |
| |
403 | 399 |
| |
404 | 400 |
| |
405 |
| - | |
406 |
| - | |
| 401 | + | |
| 402 | + | |
407 | 403 |
| |
408 | 404 |
| |
409 | 405 |
| |
410 | 406 |
| |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
411 | 419 |
| |
412 | 420 |
| |
413 | 421 |
| |
| |||
427 | 435 |
| |
428 | 436 |
| |
429 | 437 |
| |
430 |
| - | |
431 |
| - | |
432 |
| - | |
433 |
| - | |
434 | 438 |
| |
435 | 439 |
| |
436 | 440 |
| |
437 |
| - | |
| 441 | + | |
438 | 442 |
| |
439 | 443 |
| |
440 | 444 |
| |
|
0 commit comments