Repository navigation
Commit 5c5228c
committed
flashnext cuda: the fused read-outs' branches live in cuda_batch_hc, so cuda_batch.zig stays within 600 lines
The attention and MoE blocks' writeback and read-out (fused where cuda_batch_hc.fuses allows, else the two launches)
move from cuda_batch.zig into cuda_batch_hc.attnReadout and mlpReadout: the same calls in the same order.1 parent 3a3f6b6 commit 5c5228c
2 files changed
Lines changed: 23 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
| 542 | + | |
549 | 543 | | |
550 | 544 | | |
551 | 545 | | |
| |||
555 | 549 | | |
556 | 550 | | |
557 | 551 | | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
| 552 | + | |
565 | 553 | | |
566 | 554 | | |
567 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
0 commit comments