fix(void): report pywhispercpp 1.5.0 and load CPU variants at runtime (#49)
CI / security (push) Successful in 1m9s
CI / lint (push) Successful in 23s
CI / ai-review (push) Skipped

Fixes #43
Fixes #44
This commit was merged in pull request #49.
This commit is contained in:
2026-11-06 18:51:30 +00:00
parent b0d8afad92
commit 0c48db5b5e
11 changed files with 376 additions and 66 deletions
+8
View File
@@ -580,6 +580,14 @@ class TestDetectGgmlGpuDevices(unittest.TestCase):
assert devices is not None
self.assertEqual(len(devices), 1)
def test_probe_trusts_runtime_when_version_is_placeholder(
self: "TestDetectGgmlGpuDevices",
) -> None:
"""setuptools' 0.0.0 means the build had no version (#43): probe the runtime."""
devices = _run_ggml_probe([("Vulkan0", "GPU", 1)], version_string="0.0.0")
assert devices is not None
self.assertEqual(len(devices), 1)
class TestPreferDiscreteVulkanDeviceMore(unittest.TestCase):
"""Exercise additional Vulkan selection edge cases."""