-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Numerics.Tensor test failures on CoreCLR #97297
Comments
Tagging subscribers to this area: @dotnet/area-system-numerics-tensors Issue DetailsStarted happening after #97192 was merged. It looks like it's happening only in Checked configuration.
/cc @stephentoub @tannergooding
|
Hmm locally I see it in coreclr Release too (osx-arm64) |
@tannergooding, does the lack of precision make sense to you here? The test should be easily fixed by changing the equality check to have a higher threshold, but I want to make sure it's desirable here before I do. The failures all appear to be with ReciprocalEstimate and ReciprocalSqrtEstimate, for float and double. |
Perhaps there is the same or similar problem on mono/wasm ?
|
@akoeplinger opened #97295 and #97296 for mono. |
#97301 disabled the tests on Mono JIT but still runs them on interpreter since I saw them passing there locally and on CI on desktop, it's possible that we still see an issue on wasm+interpreter. |
These look to be failing for For x64, For Arm64, both For the
These values are then scaled up or down based on It's not the perfect system and there are better/more accurate ways to adjust it based on the power of |
Thanks, @tannergooding. So, short answer is we should just update the test for now with a higher threshold, right? (And update the reciprocal(sqrt) operators to use the relevant API on Arm) |
Yeah, I'd use More ideally we'd allow each function to specify its own tolerance so we can be more strict with APIs like |
Started happening after #97192 was merged. It looks like it's happening only in Checked coreclr configuration.
/cc @stephentoub @tannergooding
The text was updated successfully, but these errors were encountered: