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
{{ message }}
Repository navigation
tosa.rescale calls roundevenf(), failing to compile some programs #12778
89a1af74@llvm-project introduces the use of math::RoundEvenOp which is lowered into a call to roundevenf() in libm, which causes an undefined symbol issue.
To work around the issue, the following tests in iree_tfl_tests are marked as XFAIL for now.
mobilenet_v3
person_detect
llvmcpu_mobilenet_v3-large_uint8
llvmcpu_posenet_i8
llvmcpu_resnet_50_int8
Additionally, several user programs are now failing to compile - see #12836.
that's real bad - that means we aren't vectorizing these at all - we could add the libm function as a workaround but someone should look into ensuring this gets vectorized and properly lowered.
Oh, this is a duplicate of #12836, with a more descriptive issue title. I did some digging on the other issue. Which should we keep and which should we close?
To work around the issue, the following tests in iree_tfl_tests are marked as XFAIL for now.
mobilenet_v3
person_detect
llvmcpu_mobilenet_v3-large_uint8
llvmcpu_posenet_i8
llvmcpu_resnet_50_int8
Oooh... that's why our CI was passing when downstream reported failures... yeah... that's really bad :/
Definitely at least P1. We can't be regressing compilation correctness on real programs. I'd have advocated for blocking the LLVM integrate on that and not disabling tests. This is not a good state to be in.
Rollback upstream due to failure on M2, is it something you can reproduce or would need help finding place to run it?
I can try reproducing on my M1 Macbook. Although the issue seems to be that it is perfectly valid to print a negative nan value as nan without the sign.
Activity
makr two tfl tests as XFAIL due to a roundevenf issue
benvanik commentedon Mar 27, 2023
that's real bad - that means we aren't vectorizing these at all - we could add the libm function as a workaround but someone should look into ensuring this gets vectorized and properly lowered.
rsuderman commentedon Mar 27, 2023
I can look into the lowering. Its a little tricky where it should live but I can probably find a home for it. Implementation is the bigger question.
makr five tfl tests as XFAIL due to a roundevenf issue
allieculp commentedon Apr 5, 2023
@jpienaar P1 or no?
ScottTodd commentedon Apr 5, 2023
Oh, this is a duplicate of #12836, with a more descriptive issue title. I did some digging on the other issue. Which should we keep and which should we close?
ScottTodd commentedon Apr 5, 2023
Oooh... that's why our CI was passing when downstream reported failures... yeah... that's really bad :/
ScottTodd commentedon Apr 5, 2023
Definitely at least P1. We can't be regressing compilation correctness on real programs. I'd have advocated for blocking the LLVM integrate on that and not disabling tests. This is not a good state to be in.
allieculp commentedon Apr 5, 2023
@rsuderman Let us know if you are looking into this? Marked as P1, can update the status as you see fit.
12 remaining items
ramiro050 commentedon Apr 20, 2023
The expand pattern for
roundevenhas landed: llvm/llvm-project@8d2bae9jpienaar commentedon Apr 21, 2023
Rollback upstream due to failure on M2, is it something you can reproduce or would need help finding place to run it?
ramiro050 commentedon Apr 21, 2023
I can try reproducing on my M1 Macbook. Although the issue seems to be that it is perfectly valid to print a negative nan value as
nanwithout the sign.For reference, rollback of rollback: https://reviews.llvm.org/D148941
ramiro050 commentedon Apr 24, 2023
Issues leading to rollback of
roundevenpatch have been fixed: llvm/llvm-project@44baa65jpienaar commentedon Apr 27, 2023
This LLVM version has now been integrated, is next step adding that populate method in?
Enable roundeven expansion pattern
Enable roundeven expansion pattern
jpienaar commentedon Apr 28, 2023
llvmcpu_posenet_i8.run fails with numerical difference.
Enable roundeven expansion pattern (#13329)
Enable roundeven expansion pattern (iree-org#13329)
[Codegen][CPU] Keep roundeven native where LLVM lowers it to instruct…