From 8cc33230006d2e7a45c00fec33aa1334dcdc7900 Mon Sep 17 00:00:00 2001 From: xwhzz Date: Sat, 12 Jul 2025 00:43:53 +0800 Subject: [PATCH] fix(compiler): update output path variable in NPU compile function --- ascend/backend/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ascend/backend/compiler.py b/ascend/backend/compiler.py index 2c5530c..125a0e7 100644 --- a/ascend/backend/compiler.py +++ b/ascend/backend/compiler.py @@ -241,7 +241,7 @@ def linalg_to_bin_enable_npu_compile(linalg: str, metadata, opt): cmd_list = ( [npu_compiler_path, ttadapter_path] + _compile_option_list - + ["-o", bin_file] + + ["-o", bin_path] ) ret = subprocess.run(cmd_list, capture_output=True, check=True) if Path(callback_path).is_file(): -- Gitee