Open arogozhnikov opened 3 months ago
Thank you for your information, we will check it out and reply soon.
Could you provide the reproduction code for the issue?
The main reason for the test failures is that paddle.to_tensor
breaks when converting a NumPy array to a Paddle Tensor in paddlepaddle 2.6.1, Python 3.10, NumPy 2.1.0 setup.
This has been solved in nightly build, i.e., when using https://github.com/arogozhnikov/einops/blob/master/test.py#L44, all of the tests passed, except
test_functional
, on case https://github.com/arogozhnikov/einops/blob/master/tests/test_einsum.py#L150. PR #67588 will fix this case.
bug描述 Describe the Bug
Values computed by simple operations in paddle deviate too much from expected result, see einops CI tests:
https://github.com/arogozhnikov/einops/actions/runs/10293928146/job/28491790703?pr=325
these are multiple tests running on CPU and checking behavior of simple operations like .sum() between numpy and other packages (including paddle)
tests fail for python=3.10 and paddle=2.6.1 tests pass for python=3.8 and paddle=2.6.1
Testing for paddle was thus switched off in einops.
其他补充信息 Additional Supplementary Information
No response