You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: test_check_output (test_activation_op.TestExpFp32_Prim)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/workspace/Paddle-Develop/build/test/legacy_test/test_activation_op.py", line 132, in test_check_output
self.check_output(
File "/workspace/Paddle-Develop/build/test/legacy_test/op_test.py", line 2954, in check_output
res = self.check_output_with_place(
File "/workspace/Paddle-Develop/build/test/legacy_test/op_test.py", line 2787, in check_output_with_place
dygraph_checker.check()
File "/workspace/Paddle-Develop/build/test/legacy_test/op_test.py", line 2334, in check
self.calculate_output()
File "/workspace/Paddle-Develop/build/test/legacy_test/op_test.py", line 2406, in calculate_output
dygraph_outs = self.op_test._calc_python_api_output(place)
File "/workspace/Paddle-Develop/build/test/legacy_test/op_test.py", line 1160, in _calc_python_api_output
else self.append_input_output_for_dygraph(
File "/workspace/Paddle-Develop/build/test/legacy_test/op_test.py", line 1064, in append_input_output_for_dygraph
v = create_var(
File "/workspace/Paddle-Develop/build/test/legacy_test/op_test.py", line 1013, in create_var
type=core.VarDesc.VarType.DENSE_TENSOR,
AttributeError: type object 'paddle.base.libpaddle.VarType' has no attribute 'DENSE_TENSOR'
怀疑是paddle最新的api和OpTest之间使用的api有冲突?
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered:
Python 3.10.12 (main, May 26 2024, 00:14:02) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
>>> a = paddle.base.core.VarDesc.VarType.DENSE_TENSOR
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: type object 'paddle.base.libpaddle.VarType' has no attribute 'DENSE_TENSOR'
>>>
bug描述 Describe the Bug
运行test/legacy_test下面的测试用例,会报以下错误:
怀疑是paddle最新的api和OpTest之间使用的api有冲突?
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: