Qualify scoped MiniCPM-o CPU speech and Windows InternVLA policy paths

This commit is contained in:
tzhouam committed 2026-09-23 16:21:28 +08:00
1 parent 3f2cd52939
commit 2f5d0edcf7
37 files changed
+4618 -27

No files matched your search

+6
View File
@@ -536,6 +536,12 @@ _patch_inductor_factorable_divisibility()
# (not a slot or C extension). If CuMemAllocator is rewritten in C/Cython,
# this monkey-patch will silently become a no-op.
def _patch_cumem_free_callback_cuda() -> None:
if sys.platform == "win32":
# The native Windows vLLM build may not load libcudart before this
# module is imported. This Linux CUDA atexit workaround is not needed
# to import Omni on that platform.
_PATCH_LOGGER.debug("[cumem-cuda] native Windows; skipping patch")
return
try:
import torch