Test failures on macOS Big Sur (Version 11.4) with Apple M1 chip
See original GitHub issueMy issue is about …
Reproducing code example:
import scipy
scipy.test()
Error message:
=================================== FAILURES ===================================
_________________________ TestSmirnovi.test_round_trip _________________________
scipy/special/tests/test_kolmogorov.py:169: in test_round_trip
FuncData(_sm_smi, dataset, (0, 1), 2, rtol=_rtol).check(dtypes=[int, float, float])
E AssertionError:
E Max |adiff|: 0.484375
E Max |rdiff|: 1337.21
E Bad results (2 out of 7) for the following points (in output 0):
E 3 0.125 => 0.609375 != 0.125 (rdiff 3.875)
E 10 0.0001 => 0.13382053040755335 != 0.0001 (rdiff 1337.2053040755336)
_sm_smi = <function TestSmirnovi.test_round_trip.<locals>._sm_smi at 0x17ab99d30>
_smc_smci = <function TestSmirnovi.test_round_trip.<locals>._smc_smci at 0x17ab99820>
dataset = array([[1.00e+00, 4.00e-01, 4.00e-01],
[1.00e+00, 6.00e-01, 6.00e-01],
[2.00e+00, 8.75e-01, 8.75e-01],
...,
[3.00e+00, 1.25e-01, 1.25e-01],
[1.00e+01, 9.99e-01, 9.99e-01],
[1.00e+01, 1.00e-04, 1.00e-04]])
self = <scipy.special.tests.test_kolmogorov.TestSmirnovi object at 0x17ab86b20>
______________________ TestSmirnovi.test_x_equals_0point5 ______________________
scipy/special/tests/test_kolmogorov.py:186: in test_x_equals_0point5
FuncData(smirnovi, dataset, (0, 1), 2, rtol=_rtol).check(dtypes=[int, float, float])
E AssertionError:
E Max |adiff|: 0.13456
E Max |rdiff|: 0.708588
E Bad results (7 out of 11) for the following points (in output 0):
E 4 0.5 => 0.125 != 0.255520481121 (rdiff 0.5108024239324789)
E 5 0.5 => 0.1 != 0.234559536069 (rdiff 0.5736690067012106)
E 6 0.5 => 0.08333333333333333 != 0.21715965898 (rdiff 0.6162577629530716)
E 7 0.5 => 0.07142857142857142 != 0.202722580034 (rdiff 0.647653599236002)
E 8 0.5 => 0.0625 != 0.190621765256 (rdiff 0.67212558379121)
E 9 0.5 => 0.05555555555555555 != 0.180363501362 (rdiff 0.6919800561863548)
E 10 0.5 => 0.05 != 0.17157867006 (rdiff 0.7085884860716352)
dataset = array([[ 1. , 0.5 , 0.5 ],
[ 2. , 0.5 , 0.3660254 ],
[ 2. , ... , 0.19062177],
[ 9. , 0.5 , 0.1803635 ],
[10. , 0.5 , 0.17157867]])
self = <scipy.special.tests.test_kolmogorov.TestSmirnovi object at 0x17ac6fe50>
=========================== short test summary info ============================
FAILED scipy/special/tests/test_kolmogorov.py::TestSmirnovi::test_round_trip
FAILED scipy/special/tests/test_kolmogorov.py::TestSmirnovi::test_x_equals_0point5
Scipy/Numpy/Python version information:
1.8.0.dev0+1551.d92e048 1.21.1 sys.version_info(major=3, minor=9, micro=6, releaselevel='final', serial=0)
I am using macOS Big Sur (Version 11.4) with Apple M1 chip. Though the conda environment is having Intel software and hence using Rosetta to run on the hardware.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What's new in the updates for macOS Big Sur - Apple Support
macOS Big Sur updates improve the stability, performance, or compatibility of your Mac and are recommended for all macOS Big Sur users.
Read more >Error! If trying to Reinstall macOS Big Sur On Apple Silicon Macs
If you reinstall macOS on your new M1 Apple Silicon Mac = An error occurred preparing the update. failed to personalize the software...
Read more >M1 Macs running Big Sur 11.4 support external disks fully
macOS 11.4 has finally fixed all the problems with installing current and older macOS on external disks, and booting an M1 Mac from...
Read more >Mac M1 chip issues with rosetta, “attachment of code ...
I had the same issue on Apple Silicon (M1Pro) running on Mac OS ... What I did to fix the error was to...
Read more >How to Fix macOS Big Sur Wi-Fi Problems | OSXDaily
Sometimes, buggy software can result in Wi-Fi connectivity issues on a Mac. Apple is usually quick to release a hotfix and address OS-related ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
These were fixed, closing.
Looking into this would be great @czgdp1807, thanks. I cannot reproduce it, and it’d be nice to take this along for the
1.7.2
release.