Skip to content

Commit f20ae90

Browse files
fix(mac-test): skip absent interpreters and derive local geometry namespace
Co-authored-by: FluffyAIcode <FluffyAIcode@users.noreply.github.com>
1 parent a781d93 commit f20ae90

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
shutil.which("python3"),
137137
]
138138
for candidate in candidates:
139-
if not candidate:
139+
if not candidate or not os.path.isfile(candidate):
140140
continue
141141
if subprocess.run(
142142
[candidate, "-c", "import mlx_lm, torch, pytest"],

tests/integration/test_prefill_snapshot_mlx_equivalence.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ def test_real_mlx_prefill_snapshot_preserves_continuation_logits():
4040
tokenizer_revision=os.environ.get("KAKEYA_TOKENIZER_REVISION", ""),
4141
cache_format_version="kakeya-prefill-v2-zlib",
4242
quantization="4bit-mlx",
43-
layer_geometry_hash=os.environ["KAKEYA_LAYER_GEOMETRY_HASH"],
43+
# This is a single-verifier round-trip gate; production head/workers
44+
# derive and compare the real geometry hash separately. Keep the
45+
# namespace stable without requiring another machine-local env var.
46+
layer_geometry_hash=os.environ.get(
47+
"KAKEYA_LAYER_GEOMETRY_HASH",
48+
"integration-single-verifier",
49+
),
4450
kv_dtype="bfloat16",
4551
block_size_tokens=64,
4652
tenant_namespace="integration",

0 commit comments

Comments
 (0)