Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
test(vulkan): invoke the resolved Bash executable on Windows
JustVugg915160ee9ec1
diff --git a/c/tests/test_vulkan_engine_counts.py b/c/tests/test_vulkan_engine_counts.pyindex 0978599f..62244c90 100644--- a/c/tests/test_vulkan_engine_counts.py+++ b/c/tests/test_vulkan_engine_counts.py@@ -7,6 +7,9 @@ import tempfileimport unittest+# Use the resolved executable: Windows can otherwise launch System32's WSL+# shim instead of the MSYS2 Bash found on PATH.+BASH = shutil.which("bash")SCRIPT = Path(__file__).with_name("vulkan_engines.sh").read_text()# Load only these production helpers: sourcing the full script runs a family.HELPERS = re.search(r"^fail\(\).*?$", SCRIPT, re.M).group() + "\n"@@ -14,16 +17,16 @@ for name in ("vk_count", "need_gpu"):HELPERS += re.search(rf"^{name}\(\).*?^\}}", SCRIPT, re.M | re.S).group() + "\n"[email protected](shutil.which("bash"), "the Vulkan harness requires bash")[email protected](BASH, "the Vulkan harness requires bash")class VulkanEngineCounts(unittest.TestCase):def run_helper(self, log, engine="qwen36", helper="vk_count"):with tempfile.TemporaryDirectory() as directory:path = Path(directory) / "run.log"path.write_text(log)return subprocess.run(- ["bash", "-eu", "-o", "pipefail", "-c",+ [BASH, "-eu", "-o", "pipefail", "-c",HELPERS + f'{helper} "$1" "$2" regression',- "counts-test", engine, str(path)],+ "counts-test", engine, path.as_posix()],capture_output=True, text=True, check=False,)