-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathminimax-m1.json
More file actions
3954 lines (3954 loc) · 94.7 KB
/
Copy pathminimax-m1.json
File metadata and controls
3954 lines (3954 loc) · 94.7 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"machine_name": "MiniMax-M1",
"assembly_instructions": "1. Bolt input_plate to the floor datum with its underside at y=0, then mount embedding_table above it as the first data deck. 2. Erect the four brushed-steel frame posts, lower side rails, upper service gantry, and front/back cross braces to form an open frame with no opaque outer walls. 3. Install residual_pipe through the centre of the frame and attach ten open cartridge trays to it at the specified heights. 4. Populate each tray left-to-right with seven copper lightning layer plates and one black softmax layer plate; repeat for all ten trays so the full 70 lightning plus 10 softmax stack is visible. 5. Mount the front attention_bus_lightning rail and rear attention_bus_softmax rail, then connect lightning plates to the lightning detail rack and softmax plates to the softmax GQA/KV rack. 6. Build the lightning detail rack on the left side in order: pre-RMSNorm tile, QKV feature projection, right-product kernel, fixed S state cylinder, z normalizer, and output projection. 7. Build the softmax detail rack on the right side in order: query heads, KV heads, RoPE drum, FlashAttention tile, KV cache bank, and output projection. 8. Build the MoE platform on the right: router disk, dispatch manifold, thirty-two routed expert blocks, shared expert, combine manifold, and two copper all-to-all rings, then connect the combine manifold back to residual_pipe. 9. Mount the tied prediction head, cross-entropy loss node, rollout buffer, CISPO trainer, reward model slab, AdamW block, H800 training rail, and output spout on the top service gantry. 10. Add the context ruler, sequence-parallel chunker, parallelism panel, and training data pipe; verify every part has a connection path back to input_plate through the frame, residual_pipe, or a named bus.",
"metadata": {
"domain": "ml-architecture",
"reference": "https://huggingface.co/MiniMaxAI/MiniMax-M1-80k",
"thumbnail_camera": [
13,
9,
14
],
"info": {
"english_name": "MiniMax-M1 (MiniMax, 2025) — 456B-A45.9B hybrid-attention reasoning MoE",
"summary": "456B-parameter Mixture-of-Experts reasoning model from MiniMax (45.9B activated per token). The signature feature is a HYBRID attention stack: 7 LIGHTNING-attention layers (linear-time, no KV cache) for every 1 SOFTMAX-attention layer (standard GQA with KV cache). Built on MiniMax-Text-01, then post-trained with the new CISPO RL algorithm over 41 days on H800s. 1 M-token native input context, 80 K output budget for very long chains-of-thought.",
"description": "MiniMax-M1 is the reasoning-extension of MiniMax-Text-01. The two carry the same architecture: 80 transformer layers, hidden 6144, 32 routed experts + 1 shared with top-2 routing, but the attention is HYBRID — lightning-attention (linear) layers replace standard softmax attention 7-out-of-8 times. Lightning attention is the right-product / kernel form of linear attention: it maintains a fixed-size hidden state S ∈ R^{d_k × d_v} that is updated per token, so the per-token cost is O(d_k · d_v) regardless of context. Only the 1-in-8 softmax layers see the full O(T) attention, and they use GQA. The result: at 1M context the attention compute and KV memory are dominated by the 10 softmax layers, not the 70 lightning layers — which makes 1M context economical.\n\nM1 specifically adds reasoning via CISPO (Clipped IS-weight Policy Optimisation): a sequence-level importance-sampling RL with token-level clipping designed to handle very long rollouts (up to 80K output tokens) without the variance blow-up that kills naïve PPO/GRPO at this length.\n\nDesign rationale, in one line each:\n• Lightning attention: linear-time attention with fixed-size state — 1M context becomes affordable.\n• 7:1 hybrid: pure linear attention loses associative recall; the 1-in-8 softmax layer restores it.\n• Sparse MoE (32 experts top-2): cheap per-token capacity at large total scale.\n• CISPO RL over 41 days: the training time itself is a feature — long-horizon reasoning needs many rollout steps.",
"facts": [
{
"label": "total parameters",
"value": "456 B total, with 45.9 B activated per token"
},
{
"label": "transformer depth",
"value": "80 layers represented as 80 individual plates in ten open trays"
},
{
"label": "attention ratio",
"value": "70 lightning-attention layers and 10 softmax GQA layers, exactly 7:1"
},
{
"label": "context length",
"value": "1,000,000 input tokens with 80,000 output-token reasoning budget"
},
{
"label": "hidden dimension",
"value": "6144 channels in the residual stream"
},
{
"label": "softmax GQA heads",
"value": "64 query heads share 8 KV heads"
},
{
"label": "MoE layout",
"value": "1 shared expert plus 32 individually modelled routed experts with top-2 routing"
},
{
"label": "expert width",
"value": "d_ff=9216 per routed SwiGLU expert"
},
{
"label": "RL training",
"value": "CISPO for about 41 days on 512 H800 GPUs"
},
{
"label": "scene scale",
"value": "Open frame footprint is about 8.6 m wide, 8.6 m tall, and 4.2 m deep in descriptor units"
}
],
"comparisons": [
{
"versus": "vs MiniMax-Text-01 (Jan 2025)",
"delta": "MiniMax-Text-01 introduced the 7:1 lightning/softmax hybrid and the 32-expert MoE. M1 keeps the architecture EXACTLY but adds a long, stable RL-for-reasoning phase using CISPO. M1-80k is the same base weights with a much larger output budget (80K tokens vs 8K) — the architecture had to support 1M input from day one for this to work."
},
{
"versus": "vs DeepSeek-V3 and DeepSeek-R1",
"delta": "Both are MoE reasoning models, but DeepSeek-V3/R1 use all-softmax attention with compression while M1 uses 7/8 linear attention. At 1M context, the KV footprint is driven by only the 10 softmax layers."
},
{
"versus": "vs full-softmax frontier chat models",
"delta": "M1 trades some short-context full-attention capacity for economical 1M-token context and long-output reasoning."
}
],
"sources": [
{
"title": "MiniMax-M1 technical report",
"url": "https://arxiv.org/abs/2506.13585"
},
{
"title": "MiniMax-M1 model card (HF)",
"url": "https://huggingface.co/MiniMaxAI/MiniMax-M1-80k"
},
{
"title": "MiniMax-Text-01 technical report",
"url": "https://arxiv.org/abs/2501.08313"
},
{
"title": "Lightning Attention / TransNormer-2",
"url": "https://arxiv.org/abs/2401.04658"
}
]
}
},
"parts": [
{
"id": "input_plate",
"name": "Input Token Floor Plate",
"shape": "box",
"position": [
0,
0.08,
0
],
"size": [
4.2,
0.16,
2.2
],
"material": "dark anodized aluminum",
"role": "Grounded base plate carrying token ids from the tokenizer into the model; its top surface is the assembly datum.",
"compute_profile": "host-cpu",
"parallelism": "embarrassingly-parallel",
"connections": [
"embedding_table",
"frame_post_fl",
"frame_post_fr",
"frame_post_bl",
"frame_post_br",
"training_data_pipe"
]
},
{
"id": "embedding_table",
"name": "Tied Embedding Table",
"shape": "box",
"position": [
0,
0.42,
0
],
"size": [
3.7,
0.28,
1.75
],
"material": "glass display",
"role": "The approximately 200K by 6144 embedding slab converts token ids into the residual stream and is tied to the final LM head.",
"compute_profile": "gpu-bandwidth-bound",
"memory_footprint": "200K x 6144 x BF16 is about 2.46 GiB.",
"parallelism": "tensor-parallel",
"connections": [
"input_plate",
"residual_pipe"
]
},
{
"id": "frame_post_fl",
"name": "Front Left Open-Frame Post",
"shape": "box",
"position": [
-2.35,
4.25,
-1.2
],
"size": [
0.12,
8.2,
0.12
],
"material": "brushed steel",
"role": "Left-front vertical post keeps the architecture as an open cutaway instead of an opaque chassis.",
"connections": [
"input_plate",
"upper_service_gantry",
"cross_brace_front",
"lower_side_rail_left"
]
},
{
"id": "frame_post_fr",
"name": "Front Right Open-Frame Post",
"shape": "box",
"position": [
2.35,
4.25,
-1.2
],
"size": [
0.12,
8.2,
0.12
],
"material": "brushed steel",
"role": "Right-front vertical post supports the exposed layer trays and leaves their interiors visible.",
"connections": [
"input_plate",
"upper_service_gantry",
"cross_brace_front",
"lower_side_rail_right"
]
},
{
"id": "frame_post_bl",
"name": "Back Left Open-Frame Post",
"shape": "box",
"position": [
-2.35,
4.25,
1.2
],
"size": [
0.12,
8.2,
0.12
],
"material": "brushed steel",
"role": "Left-back post gives the stack depth without hiding the attention and MoE subassemblies.",
"connections": [
"input_plate",
"upper_service_gantry",
"cross_brace_back",
"lower_side_rail_left"
]
},
{
"id": "frame_post_br",
"name": "Back Right Open-Frame Post",
"shape": "box",
"position": [
2.35,
4.25,
1.2
],
"size": [
0.12,
8.2,
0.12
],
"material": "brushed steel",
"role": "Right-back post completes the root frame for the transformer factory.",
"connections": [
"input_plate",
"upper_service_gantry",
"cross_brace_back",
"lower_side_rail_right"
]
},
{
"id": "lower_side_rail_left",
"name": "Lower Left Side Rail",
"shape": "box",
"position": [
-2.35,
0.72,
0
],
"size": [
0.12,
0.1,
2.55
],
"material": "forged steel",
"role": "Lower rail ties the left frame posts together and sets the service rack datum.",
"connections": [
"frame_post_fl",
"frame_post_bl",
"input_plate"
]
},
{
"id": "lower_side_rail_right",
"name": "Lower Right Side Rail",
"shape": "box",
"position": [
2.35,
0.72,
0
],
"size": [
0.12,
0.1,
2.55
],
"material": "forged steel",
"role": "Lower rail ties the right frame posts together and supports the softmax service rack.",
"connections": [
"frame_post_fr",
"frame_post_br",
"input_plate"
]
},
{
"id": "cross_brace_front",
"name": "Front Cross Brace",
"shape": "box",
"position": [
0,
4.55,
-1.2
],
"size": [
4.8,
0.08,
0.1
],
"material": "forged steel",
"role": "Horizontal brace tying the front frame posts together while staying thin enough not to occlude the layer plates.",
"connections": [
"frame_post_fl",
"frame_post_fr",
"residual_pipe",
"moe_platform"
]
},
{
"id": "cross_brace_back",
"name": "Back Cross Brace",
"shape": "box",
"position": [
0,
4.55,
1.2
],
"size": [
4.8,
0.08,
0.1
],
"material": "forged steel",
"role": "Back brace stabilizes the open frame and gives the top view a readable envelope.",
"connections": [
"frame_post_bl",
"frame_post_br",
"residual_pipe"
]
},
{
"id": "upper_service_gantry",
"name": "Upper Service Gantry",
"shape": "box",
"position": [
0,
8.42,
0
],
"size": [
5,
0.14,
2.55
],
"material": "brushed steel",
"role": "Thin top rail carrying prediction, loss, reward, and CISPO training components above the transformer stack.",
"connections": [
"frame_post_fl",
"frame_post_fr",
"frame_post_bl",
"frame_post_br",
"prediction_head"
]
},
{
"id": "residual_pipe",
"name": "Residual Stream Mast d=6144",
"shape": "cylinder",
"position": [
0,
4.35,
0
],
"size": [
0.14,
7.65
],
"material": "brass",
"role": "Central vertical residual stream carrying hidden dimension 6144 through all 80 layers.",
"compute_profile": "gpu-memory-bound",
"parallelism": "tensor-parallel",
"connections": [
"embedding_table",
"tray_01",
"tray_02",
"tray_03",
"tray_04",
"tray_05",
"tray_06",
"tray_07",
"tray_08",
"tray_09",
"tray_10",
"prediction_head"
]
},
{
"id": "context_ruler_1m",
"name": "1M Context Ruler",
"shape": "box",
"position": [
-2.85,
4.35,
0
],
"size": [
0.07,
6.75,
0.5
],
"material": "aluminum",
"role": "Scale marker showing the million-token context that the hybrid attention system is built to support.",
"connections": [
"input_plate",
"softmax_kv_cache"
]
},
{
"id": "attention_bus_lightning",
"name": "Lightning Plate Bus Rail",
"shape": "box",
"position": [
0,
4.25,
-0.72
],
"size": [
3.65,
7,
0.06
],
"material": "copper",
"role": "Front vertical bus visibly ties all seventy lightning plates to the linear-attention service rack.",
"compute_profile": "gpu-bandwidth-bound",
"parallelism": "tensor-parallel",
"connections": [
"lightning_kernel",
"residual_pipe"
]
},
{
"id": "attention_bus_softmax",
"name": "Softmax Plate Bus Rail",
"shape": "box",
"position": [
1.65,
4.25,
0.72
],
"size": [
0.08,
7,
0.06
],
"material": "black composite",
"role": "Rear vertical bus visibly ties the ten softmax plates to the GQA and KV-cache service rack.",
"compute_profile": "gpu-compute-bound",
"parallelism": "tensor-parallel",
"connections": [
"softmax_attn_tile",
"softmax_kv_cache",
"residual_pipe"
]
},
{
"id": "tray_01",
"name": "Open Tray for Layers 01-08",
"shape": "box",
"position": [
0,
1.02,
0
],
"size": [
3.5,
0.08,
1.55
],
"material": "brushed steel",
"role": "Thin open rail tray holding layers 1-8 without hiding the seven lightning plates or the softmax plate.",
"connections": [
"residual_pipe",
"layer_01_lightning",
"layer_08_softmax"
]
},
{
"id": "layer_01_lightning",
"name": "Layer 01 Lightning Attention",
"shape": "box",
"position": [
-1.4,
1.08,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 1 uses fixed-size recurrent state instead of a per-token KV cache.",
"compute_profile": "gpu-bandwidth-bound",
"parallelism": "tensor-parallel",
"connections": [
"tray_01",
"attention_bus_lightning",
"lightning_state_s"
]
},
{
"id": "layer_02_lightning",
"name": "Layer 02 Lightning Attention",
"shape": "box",
"position": [
-1,
1.08,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 2 continues the linear-time attention path for long context.",
"connections": [
"tray_01",
"attention_bus_lightning",
"lightning_kernel"
]
},
{
"id": "layer_03_lightning",
"name": "Layer 03 Lightning Attention",
"shape": "box",
"position": [
-0.6,
1.08,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 3 is one of seven no-KV-cache layers before the first softmax recall layer.",
"connections": [
"tray_01",
"attention_bus_lightning",
"lightning_kernel"
]
},
{
"id": "layer_04_lightning",
"name": "Layer 04 Lightning Attention",
"shape": "box",
"position": [
-0.2,
1.08,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 4 applies the right-product kernel to the residual stream.",
"connections": [
"tray_01",
"attention_bus_lightning",
"lightning_qkv_proj"
]
},
{
"id": "layer_05_lightning",
"name": "Layer 05 Lightning Attention",
"shape": "box",
"position": [
0.2,
1.08,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 5 adds capacity without growing KV memory with sequence length.",
"connections": [
"tray_01",
"attention_bus_lightning",
"lightning_state_s"
]
},
{
"id": "layer_06_lightning",
"name": "Layer 06 Lightning Attention",
"shape": "box",
"position": [
0.6,
1.08,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 6 carries compact S and z state across sequence chunks.",
"connections": [
"tray_01",
"attention_bus_lightning",
"sequence_parallel_chunker"
]
},
{
"id": "layer_07_lightning",
"name": "Layer 07 Lightning Attention",
"shape": "box",
"position": [
1,
1.08,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 7 completes the seven-layer linear-attention run before a softmax layer.",
"connections": [
"tray_01",
"attention_bus_lightning",
"lightning_o_proj"
]
},
{
"id": "layer_08_softmax",
"name": "Layer 08 Softmax GQA",
"shape": "box",
"position": [
1.4,
1.08,
0.58
],
"size": [
0.36,
0.12,
0.38
],
"material": "black composite",
"role": "Softmax layer 8 provides full associative recall using GQA and writes to the KV cache bank.",
"compute_profile": "gpu-compute-bound",
"parallelism": "tensor-parallel",
"connections": [
"tray_01",
"attention_bus_softmax",
"softmax_attn_tile",
"softmax_kv_cache"
]
},
{
"id": "tray_02",
"name": "Open Tray for Layers 09-16",
"shape": "box",
"position": [
0,
1.76,
0
],
"size": [
3.5,
0.08,
1.55
],
"material": "brushed steel",
"role": "Thin open rail tray holding layers 9-16 with the 7:1 cadence exposed.",
"connections": [
"residual_pipe",
"layer_09_lightning",
"layer_16_softmax"
]
},
{
"id": "layer_09_lightning",
"name": "Layer 09 Lightning Attention",
"shape": "box",
"position": [
-1.4,
1.82,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 9 begins the second eight-layer cadence after softmax layer 8.",
"connections": [
"tray_02",
"attention_bus_lightning",
"lightning_state_s"
]
},
{
"id": "layer_10_lightning",
"name": "Layer 10 Lightning Attention",
"shape": "box",
"position": [
-1,
1.82,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 10 processes long context with fixed recurrent state.",
"connections": [
"tray_02",
"attention_bus_lightning",
"lightning_kernel"
]
},
{
"id": "layer_11_lightning",
"name": "Layer 11 Lightning Attention",
"shape": "box",
"position": [
-0.6,
1.82,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 11 contributes to the no-KV-cache majority of the stack.",
"connections": [
"tray_02",
"attention_bus_lightning",
"lightning_kernel"
]
},
{
"id": "layer_12_lightning",
"name": "Layer 12 Lightning Attention",
"shape": "box",
"position": [
-0.2,
1.82,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 12 routes through the shared lightning QKV feature projection.",
"connections": [
"tray_02",
"attention_bus_lightning",
"lightning_qkv_proj"
]
},
{
"id": "layer_13_lightning",
"name": "Layer 13 Lightning Attention",
"shape": "box",
"position": [
0.2,
1.82,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 13 keeps per-token attention cost independent of the 1M-token context length.",
"connections": [
"tray_02",
"attention_bus_lightning",
"lightning_state_s"
]
},
{
"id": "layer_14_lightning",
"name": "Layer 14 Lightning Attention",
"shape": "box",
"position": [
0.6,
1.82,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 14 forwards compact state through sequence-parallel chunks.",
"connections": [
"tray_02",
"attention_bus_lightning",
"sequence_parallel_chunker"
]
},
{
"id": "layer_15_lightning",
"name": "Layer 15 Lightning Attention",
"shape": "box",
"position": [
1,
1.82,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 15 is the seventh linear-attention layer in this tray.",
"connections": [
"tray_02",
"attention_bus_lightning",
"lightning_o_proj"
]
},
{
"id": "layer_16_softmax",
"name": "Layer 16 Softmax GQA",
"shape": "box",
"position": [
1.4,
1.82,
0.58
],
"size": [
0.36,
0.12,
0.38
],
"material": "black composite",
"role": "Softmax layer 16 is the second full-attention recall stage and connects to the KV cache.",
"compute_profile": "gpu-compute-bound",
"parallelism": "tensor-parallel",
"connections": [
"tray_02",
"attention_bus_softmax",
"softmax_attn_tile",
"softmax_kv_cache"
]
},
{
"id": "tray_03",
"name": "Open Tray for Layers 17-24",
"shape": "box",
"position": [
0,
2.5,
0
],
"size": [
3.5,
0.08,
1.55
],
"material": "brushed steel",
"role": "Thin open rail tray holding layers 17-24 with all plates visible from ISO.",
"connections": [
"residual_pipe",
"layer_17_lightning",
"layer_24_softmax"
]
},
{
"id": "layer_17_lightning",
"name": "Layer 17 Lightning Attention",
"shape": "box",
"position": [
-1.4,
2.56,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 17 begins the third visible 7:1 attention cadence.",
"connections": [
"tray_03",
"attention_bus_lightning",
"lightning_state_s"
]
},
{
"id": "layer_18_lightning",
"name": "Layer 18 Lightning Attention",
"shape": "box",
"position": [
-1,
2.56,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 18 uses the linear kernel path for economical context processing.",
"connections": [
"tray_03",
"attention_bus_lightning",
"lightning_kernel"
]
},
{
"id": "layer_19_lightning",
"name": "Layer 19 Lightning Attention",
"shape": "box",
"position": [
-0.6,
2.56,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 19 is a countable copper plate in the seventy-layer linear majority.",
"connections": [
"tray_03",
"attention_bus_lightning",
"lightning_kernel"
]
},
{
"id": "layer_20_lightning",
"name": "Layer 20 Lightning Attention",
"shape": "box",
"position": [
-0.2,
2.56,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 20 applies QKV feature projection before the right-product update.",
"connections": [
"tray_03",
"attention_bus_lightning",
"lightning_qkv_proj"
]
},
{
"id": "layer_21_lightning",
"name": "Layer 21 Lightning Attention",
"shape": "box",
"position": [
0.2,
2.56,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 21 stores only compact S and z state rather than token-wise keys and values.",
"connections": [
"tray_03",
"attention_bus_lightning",
"lightning_state_s"
]
},
{
"id": "layer_22_lightning",
"name": "Layer 22 Lightning Attention",
"shape": "box",
"position": [
0.6,
2.56,
-0.58
],
"size": [
0.24,
0.09,
0.3
],
"material": "copper",
"role": "Lightning layer 22 passes recurrent state between sequence shards.",