Handle spinloop ext load failure gracefully (#43659)

Signed-off-by: Patrick Schlangen <pschlan@amd.com>
Co-authored-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
pschlan-amd
2026-06-03 16:09:52 +00:00
committed by GitHub
co-authored by Shengqi Chen
parent 51e0c579b0
commit 0a5cbf633e
2 changed files with 16 additions and 7 deletions
+2
View File
@@ -112,6 +112,8 @@ endif()
#
# spinloop extension (pure CXX; must stay above the non-CUDA device branch so
# CPU builds define the target before the early return)
# This extension requires SABI 3.11 since it relies on Py_buffer support. Loading
# failure is handled gracefully on vLLM side for lower Python versions.
#
set(VLLM_SPINLOOP_EXT_SRC "csrc/spinloop.cpp")
set(SPINLOOP_COMPILE_FLAGS "")