chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:17:40 +08:00
commit f1825c8ceb
10096 changed files with 2364182 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""Fatal engine error definitions shared by serve and batch layers."""
from typing import Tuple, Type
# vLLM fatal errors that should always be re-raised, never swallowed.
# EngineDeadError indicates the vLLM engine process has crashed and is
# unrecoverable — all subsequent requests would fail anyway.
VLLM_FATAL_ERRORS: Tuple[Type[Exception], ...] = ()
try:
from vllm.v1.engine.exceptions import EngineDeadError
VLLM_FATAL_ERRORS = (EngineDeadError,)
except ImportError:
pass