vllm.v1.engine.exceptions
¶
Classes:
-
EngineDeadError–Raised when the EngineCore dies. Unrecoverable.
-
EngineGenerateError–Raised when a AsyncLLM.generate() fails. Recoverable.
-
EngineSleepingError–Raised when the engine is intentionally sleeping or paused.
-
EngineUnhealthyError–Raised when the engine is alive but not ready to serve traffic.
EngineDeadError
¶
Bases: VLLMServerError
Raised when the EngineCore dies. Unrecoverable.
Source code in vllm/v1/engine/exceptions.py
EngineGenerateError
¶
Bases: VLLMServerError
Raised when a AsyncLLM.generate() fails. Recoverable.
EngineSleepingError
¶
Bases: EngineUnhealthyError
Raised when the engine is intentionally sleeping or paused.
Source code in vllm/v1/engine/exceptions.py
EngineUnhealthyError
¶
Bases: VLLMServerError
Raised when the engine is alive but not ready to serve traffic.
Parameters:
-
(message¶str, default:'') –Human-readable description.
-
(reason¶str, default:'unhealthy') –Machine-readable not-ready reason reported by
/health_generate. -
(details¶Any, default:{}) –Extra JSON-serializable fields reported by
/health_generate.