diff --git a/ascend/backend/compiler.py b/ascend/backend/compiler.py index 2c5530cd450bdef4fe511ed35e8143037e21f252..125a0e794b733278b221f539b1ff63d0b271eaf8 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():