vllm.distributed.aux_output_connector.routed_experts
¶
Routed-experts auxiliary output keys, publication, and materialization.
Classes:
-
RoutedExpertsBuffer–Own incomplete and unkeyed full routed-experts blocks.
Functions:
-
publish_routed_experts–Publish immutable full R3 blocks.
RoutedExpertsBuffer
¶
Own incomplete and unkeyed full routed-experts blocks.
Methods:
-
capture–Stage rows and return completed blocks without retaining them.
-
read–Copy rows from unkeyed full blocks and the incomplete tail.
-
retain_block–Retain one unkeyed block after the current capture call.
Source code in vllm/distributed/aux_output_connector/routed_experts.py
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 | |
capture(request_id, token_start, rows)
¶
Stage rows and return completed blocks without retaining them.
Source code in vllm/distributed/aux_output_connector/routed_experts.py
read(request_id, token_start, token_end, pending_blocks)
¶
Copy rows from unkeyed full blocks and the incomplete tail.
Source code in vllm/distributed/aux_output_connector/routed_experts.py
retain_block(rows)
¶
Retain one unkeyed block after the current capture call.
Source code in vllm/distributed/aux_output_connector/routed_experts.py
publish_routed_experts(store, *, batches, block_size, retain_keys=(), release_keys=())
¶
Publish immutable full R3 blocks.