Skip to content

Conversation

@evaleev
Copy link
Member

@evaleev evaleev commented Mar 2, 2023

@asadchev some unit tests actually used zero-filled tensors (due to bug in fill_random for tensors of integers) and thus "passed" but should not have. I fixed the fill_random so you can see which tests fail. Interesting not all TA-based einsum tests fail, on my machine I see this:

/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_hi_hi_h": check isApprox(result, reference) has failed
/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_hji_jih_hj": check isApprox(result, reference) has failed
/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_replicated": check isApprox(result, reference) has failed
/Users/efv/code/tiledarray/tests/einsum.cpp:970: error: in "einsum_tiledarray/einsum_tiledarray_replicated": check isApprox(result, reference) has failed

@asadchev
Copy link
Contributor

asadchev commented Mar 2, 2023 via email

@evaleev evaleev force-pushed the evaleev/fix/einsum branch from 4f3aaaf to e2009bf Compare March 3, 2023 20:28
@evaleev
Copy link
Member Author

evaleev commented Mar 3, 2023

the issue was in the "Hadamard reduction" branch of the code

@evaleev evaleev merged commit fbf5404 into master Mar 3, 2023
@evaleev evaleev deleted the evaleev/fix/einsum branch March 3, 2023 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants