Closed
[Bug-Report|缺陷反馈]: A5 slice和token开关开启之后,2C1V构图场景引入新的报错SYMBOL_NOT_FOUND. failed to query by identifier: alloc identifier <buf_type=L1 #3267
zhaosenqiuAdd on  Sep 9Closed at  Sep 16
zhaosenqiu
zhaosenqiuCollaborators
Sep 9 Create

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

A5 slice和token开关开启之后,2C1V构图场景引入新的报错SYMBOL_NOT_FOUND. failed to query by identifier: alloc identifier <buf_type=L1

Environment / 环境信息 (Mandatory / 必填)

CANN 主线:cann_eco/br_hisi_trunk_ai/202608/20260905_000328244_newest
toch2.9.0+python3.10

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

python3 xrunfk.py -i=./test_cases/pass/mix_2c1v.json -o=./output/pass_mix -s=142 -e=142 -d=1 -r=./output/pass_mix_results.xlsx

Describe the expected behavior / 预期结果 (Mandatory / 必填)

python3 xrunfk.py -i=./test_cases/pass/mix_2c1v.json -o=./output/pass_mix -s=142 -e=142 -d=1 -r=./output/pass_mix_results.xlsx 精度正确

ErrCode: F6200E! Enum: GenCodeErr::SYMBOL_NOT_FOUND. failed to query by identifier: alloc identifier <buf_type=L1, range_start=0, range_end=8192>
Traceback (most recent call last):
File "/data/l00567146/PyPTO_Test/ReturnValue.py", line 111, in wrapper
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/data/l00567146/PyPTO_Test/ops/pass_skills/Mixtest/pass_Mix_2C1V_json.py", line 487, in pass_Mix_2C1V
CVC_Serial_Parallel_pypto(tensor_a_2d, tensor_c, tensor_w1, tensor_w2, tensor_out, tensor_out2, tensor_out3, params)
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/error.py", line 150, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/frontend/parser/entry.py", line 325, in call
self._execute_kernel(in_tensors, input_tensor_defs)
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/frontend/parser/entry.py", line 697, in _execute_kernel
pypto_impl.LaunchKernelTorch(self, _current_stream(), torch_tensors, tensor_defs)
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/error.py", line 150, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/frontend/parser/entry.py", line 503, in compile
self.compile_new(tensors, tensor_defs)
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/error.py", line 160, in wrapper
raise err.with_traceback(e.traceback) from None
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/error.py", line 150, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/frontend/parser/entry.py", line 470, in compile_new
self._pto_function = compile_new_ir(
^^^^^^^^^^^^^^^
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/pil/compile_pipeline.py", line 74, in compile_new_ir
program = _run_pipeline(program, pipeline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anaconda3/envs/ly_py311/lib/python3.11/site-packages/pypto/pil/compile_pipeline.py", line 54, in _run_pipeline
program = transform(program)
^^^^^^^^^^^^^^^^^^
pypto.error.PyptoGeneralError: Failed to compile function 'CVC_Serial_Parallel_pypto'.
ErrCode: F6200E! Enum: GenCodeErr::SYMBOL_NOT_FOUND. failed to query by identifier: alloc identifier <buf_type=L1, range_start=0, range_end=8192>
2026-09-05 14:46:44 | INFO | case_142 | xrunfk.py:172 | run_process_worker | Run case_idx is 142, case mix_2c1v_CVC_Serial_Parallel_float32_h32_142 ERROR, result OpCaseValue(result=<Result.ERROR: 'ERROR'>, precsion_resultlist=[], plog_result=None, graph_result=None, corenum_result=None, pipemix_result=None, consistency_result=None, tiling=None, time=None, errorcode=None, errormsg=None); device_id: 1, pid: 1812658 ppid: 1498749
2026-09-05 14:46:44 | INFO | case_142 | xrunfk.py:196 | run_process_worker | case_idx: 142, mix_2c1v_CVC_Serial_Parallel_float32_h32_142: ERROR

Special notes for this issue/备注 (Optional / 选填)

likedislike
zhaosenqiuzhaosenqiuCollaborators
Sep 9 Added label: bug-reportPasses, passes
zhaosenqiu
zhaosenqiuCollaborators
Sep 9 Comments:
likedislike
zhaosenqiuzhaosenqiuCollaborators
Sep 9 Associated pull request
zhaosenqiuzhaosenqiuCollaborators
Sep 10 Associated pull request
zhaosenqiuzhaosenqiuCollaborators
Sep 10 Associated pull request
zhaosenqiuzhaosenqiuCollaborators
Sep 11 Associated pull request
zhaosenqiuzhaosenqiuCollaborators
Sep 13 Associated pull request
KaiqiJinKaiqiJinCollaborators
Sep 16 changed custom state from 进行中 to 已完成
KaiqiJinKaiqiJinCollaborators
Sep 16 Close issue