feat: enhance GPU support detection and user feedback in the engine interface
tests / python (3.10) (push) Successful in 13s
tests-macos / macos (push) Successful in 18s
tests / python (3.11) (push) Successful in 13s
tests / web (push) Successful in 38s

This commit is contained in:
Netherwarlord
2026-07-29 15:35:03 -04:00
parent 7bfec91a47
commit d63319bc9a
9 changed files with 264 additions and 12 deletions
+4
View File
@@ -30,6 +30,8 @@ from config import ( # type: ignore[import-not-found]
from engine_loader import ( # type: ignore[import-not-found]
EngineLoadError,
detect_architecture,
engine_warning,
gpu_offload_supported,
load_engine_class,
)
from prompts import load_test_prompts # type: ignore[import-not-found]
@@ -77,6 +79,8 @@ __all__ = [
"DEFAULT_PROVIDER_NAME",
"EngineLoadError",
"detect_architecture",
"engine_warning",
"gpu_offload_supported",
"load_engine_class",
"DEFAULT_TEMPERATURE",
"MODELS_DIR",