bug描述 Describe the Bug
Example to reproduce the problem:
import paddle
import numpy as np
x = np.zeros([2, 3], dtype=np.float32)
tensor = paddle.to_tensor(x)
tensor.stop_gradient = False
paddle.einsum('..., ... , ... -> ...', tensor, tensor, tensor)
result:
ValueError: Einstein sum subscript 'bn' does not contain the correct number of indices for operand 0.
Previous versions correctly handled this operation.
Example of job failure in einops tests: https://github.com/arogozhnikov/einops/actions/runs/8745826953/job/24001566418?pr=316
其他补充信息 Additional Supplementary Information
Currently I test with dev version (that's currently latest main):
pip install numpy paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/linux/cpu-mkl/develop.html
paddle.version.show()
commit: 12692a4a715f4a7aa6c00f38ebdc0e86d88d5a42
cuda: False
cudnn: False
nccl: 0
xpu: False
xpu_xccl: False
xpu_xhpc: False
cinn: False
as I mentioned, previously paddle worked correctly.
1条答案
按热度按时间q8l4jmvw1#
Thank you for your feedback!, we will push for fixing the bug after successful reproduction.