2 parents 58af6b6 + 1aec06e commit e6ade76Copy full SHA for e6ade76
1 file changed
src/gpu/modal_golden_matrix.py
@@ -74,7 +74,10 @@ def generate(n: int = 25) -> dict:
74
report[model_id] = "no test pairs known — skipped"
75
continue
76
pairs = []
77
- for line in Path(test_path).read_text(encoding="utf-8").splitlines():
+ tp = Path(test_path)
78
+ if not tp.is_absolute():
79
+ tp = Path("/datasets") / tp
80
+ for line in tp.read_text(encoding="utf-8").splitlines():
81
if line.strip():
82
row = json.loads(line)
83
pairs.append(row.get("src") or row.get("input"))
0 commit comments