vllm.v1.fault_tolerance ¶
Modules:
-
engine_core_sentinel–EngineCoreSentinel and fault_tolerant_wrapper for the engine core.
Classes:
-
EngineCoreSentinel–Manages fault tolerance state for a single engine core.
Functions:
-
fault_tolerant_wrapper–Wrap the busy loop to catch faults and delegate recovery.
EngineCoreSentinel ¶
Manages fault tolerance state for a single engine core.
Methods:
-
handle_command–Dispatch an FT command by instruction name.
-
on_fault–Called by the wrapper when the busy loop raises an exception.
Source code in vllm/v1/fault_tolerance/engine_core_sentinel.py
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 | |
_push_status() ¶
Push current health to the client so it can refresh its cache.
Source code in vllm/v1/fault_tolerance/engine_core_sentinel.py
_reinit_dp_group() ¶
Reinit DP process group if in DP mode. Returns worker params.
Source code in vllm/v1/fault_tolerance/engine_core_sentinel.py
handle_command(client_idx, call_id, ft_args) ¶
Dispatch an FT command by instruction name.
Source code in vllm/v1/fault_tolerance/engine_core_sentinel.py
on_fault(exc) ¶
Called by the wrapper when the busy loop raises an exception.
Source code in vllm/v1/fault_tolerance/engine_core_sentinel.py
fault_tolerant_wrapper(busy_loop_func) ¶
Wrap the busy loop to catch faults and delegate recovery.