Skip to content

Commit 86f64e0

Browse files
committed
issue/252 gguf测试
1 parent 970d354 commit 86f64e0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/gguf_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@ def run_tests(test_names, device_type):
2525
print(f"[ FAIL ] GGUF generation failed for {test}")
2626
failed.append(test)
2727
continue
28-
28+
print("Files in build/linux/x86_64/release:")
29+
print(os.listdir(os.path.join(PROJECT_DIR, "build/linux/x86_64/release")))
30+
2931
# C++ 测试阶段
3032
exe = os.path.join(PROJECT_DIR, "build/linux/x86_64/release/infiniop-test")
3133
gguf_path = os.path.join(base_dir, f"{test}.gguf")
34+
print(f"exe: {exe}, exists: {os.path.isfile(exe)}")
35+
print(f"gguf_path: {gguf_path}, exists: {os.path.isfile(gguf_path)}")
3236
cmd_cpp = f"{exe} {gguf_path} {device_type} --warmup 20 --run 1000"
3337
res = subprocess.run(
3438
cmd_cpp,

0 commit comments

Comments
 (0)