[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-24 05:17:40 +00:00
commit a96018358f

View file

@ -1241,6 +1241,7 @@ def _get_cached_system_gpu_info(logger) -> dict[str, Any]:
try:
from core.inference.llama_cpp import LlamaCppBackend
from utils.hardware import DeviceType, get_device
# Check the Vulkan build first: its picks live in ggml's own ordinal
# space (--device Vulkan<i>) and don't rely on torch-xpu ordinals, so
# they're valid even on an Intel/XPU host. Only fall through to the