Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
tests: skip the cuda-test recipe checks when make is absent
SurefireStudiosb012817b8368
diff --git a/c/tests/test_cuda_test_makefile.py b/c/tests/test_cuda_test_makefile.pyindex a79a96a4..79f14ac1 100644--- a/c/tests/test_cuda_test_makefile.py+++ b/c/tests/test_cuda_test_makefile.py@@ -1,15 +1,17 @@"""Build-contract checks for the real-GPU MXFP4 correctness test."""+import shutilimport subprocessimport unittestfrom pathlib import PathHERE = Path(__file__).resolve().parent.parent+MAKE = shutil.which("make")def cuda_test_recipe(*variables):result = subprocess.run(- ["make", "-Bn", "cuda-test",+ [MAKE, "-Bn", "cuda-test","TRIPLET=x86_64-unknown-linux-gnu", *variables],cwd=HERE, text=True, capture_output=True, check=False, timeout=120)return result.stdout + result.stderr@@ -38,6 +40,7 @@ def mxfp4_ref_compile_line(recipe):"")[email protected](MAKE, "make is required")class CudaTestMakefileTest(unittest.TestCase):# These three replace the pair that asserted the OpenMP runtime WAS linked.# The CPU oracle is now built without OpenMP (#971), because that single@@ -92,6 +95,10 @@ class CudaTestMakefileTest(unittest.TestCase):for flag in ("-ftz=false", "-std=c++17", "sm_86"):self.assertIn(flag, line, f"{flag} lost when the override is set")++class SetupScriptTest(unittest.TestCase):+ """Reads setup.sh directly, so it stays runnable without make."""+def test_setup_openmp_probe_does_not_require_tmp(self):setup = (HERE / "setup.sh").read_text(encoding="utf-8")self.assertNotIn("/tmp/_omp", setup)