perf(startup): skip unused PyTorch headers for KV VMM allocator stub (#33126)

This commit is contained in:
Andrew Tulloch
2026-07-31 18:32:36 -07:00
committed by GitHub
parent 934a13ce3e
commit e6a4cefc69
@@ -178,6 +178,7 @@ class KvVmmArena:
is_python_module=False,
verbose=False,
build_directory=out_dir,
no_implicit_headers=True,
)
self._so_path = f"{out_dir}/{libname}.so"
lib = ctypes.CDLL(self._so_path)