vllm.models.minimax_m3.amd.specialized_decode.mono.runner
¶
Host side of the FFN launch: one compiled kernel, scratch region and the shared epoch word per row count of one TP rank.
Classes:
-
FfnRunner–sym: this rank's peer buffer;peers: every rank's, int64 on
FfnRunner
¶
sym: this rank's peer buffer; peers: every rank's, int64 on
device. The kernels move the epoch on themselves, so every rank that runs
the same launches agrees on it. Runners on one peer buffer must share
epoch: a tag repeated over the buffer's lifetime could match a stale
pair.
Methods:
-
__call__–part: this rank's unreduced o_proj output;slots: the step's -
reset–Every width's scratch and the epoch cleared (no launch in flight).
-
warm–Compile and load every width (a launch that returns at once); with
Source code in vllm/models/minimax_m3/amd/specialized_decode/mono/runner.py
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 | |
__call__(part, residual, weights, slots, final=False)
¶
part: this rank's unreduced o_proj output; slots: the step's
int64 slot mapping. A row with a negative slot (padding) still runs the
seam (its residual output is unspecified) but joins no expert and its
MoE output is zero. Returns the reduced MoE output and the residual after
attention. final: the step's last launch, which ends in the TP
fault handshake.
Source code in vllm/models/minimax_m3/amd/specialized_decode/mono/runner.py
reset()
¶
Every width's scratch and the epoch cleared (no launch in flight).
warm(weights, compute_units=None)
¶
Compile and load every width (a launch that returns at once); with
compute_units, refuse a width whose grid cannot be resident.
Source code in vllm/models/minimax_m3/amd/specialized_decode/mono/runner.py
_writable_flydsl_cache()
¶
AITER points FlyDSL at its bundled read-only cache.