question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

polyfit and eig regression tests fail after Windows 10 update to 2004

See original GitHub issue

Tests are failing: FAILED …..\lib\tests\test_regression.py::TestRegression::test_polyfit_build - numpy.linalg.LinAlgError: SVD did not… FAILED …..\linalg\tests\test_regression.py::TestRegression::test_eig_build - numpy.linalg.LinAlgError: Eigenvalues … FAILED …..\ma\tests\test_extras.py::TestPolynomial::test_polyfit - numpy.linalg.LinAlgError: SVD did not converge i…

with exceptions:

err = 'invalid value', flag = 8
    def _raise_linalgerror_lstsq(err, flag):
>       raise LinAlgError("SVD did not converge in Linear Least Squares")
E       numpy.linalg.LinAlgError: SVD did not converge in Linear Least Squares
err        = 'invalid value'
flag       = 8

and

err = 'invalid value', flag = 8
    def _raise_linalgerror_eigenvalues_nonconvergence(err, flag):
>       raise LinAlgError("Eigenvalues did not converge")
E       numpy.linalg.LinAlgError: Eigenvalues did not converge
err        = 'invalid value'
flag       = 8

Steps taken:

  • Create a VM
  • Install latest Windows 10 and update to the latest version 2004 (10.0.19041)
  • Install Python 3.8.3
  • pip install pytest
  • pip install numpy
  • pip install hypothesis
  • run tests in the package

Same happens issue happens when running on tests in the repository.

Version 1.19.0 of numpy

Am I missing any dependencies? Or is it just Windows going bonkers?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:182 (151 by maintainers)

github_iconTop GitHub Comments

9reactions
mattipcommented, Oct 26, 2020

We have merged an update to OpenBLAS v0.3.12 and a local build using that version + windows update 2004 passes the test suite.

5reactions
bashtagecommented, Jan 24, 2021

The final fix is nearing release and is now in beta and release channels. Hopefully out next month.

Windows 10 build 19042.782

  • We fixed an issue that causes the 64-bit fmod() and remainder() functions to damage the Floating Point Unit (FPU) stack.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error after Windows 10 version 2004 upgrade
Here are steps to recover from failed Version Update install which cause Windows to fail to start or function. If any steps won't...
Read more >
Update Staging Lab: regression results based on process ...
Regression status: process crashes and hangs. Since it was first introduced, the Update Staging Lab dashboard has provided you with crash and ...
Read more >
Windows 10 version 2004 update failure - Microsoft Q&A
I kept trying to get windows 10 version 2004 up and running on my laptop but i keep having the same issue saying...
Read more >
KB5020683: Out of Box Experience update for Windows 10 ...
Summary. On November 30, 2022, an out-of-band update was released to improve the Windows 10, version 2004, 20H2, 21H1, 21H2, and 22H2 out-of-box...
Read more >
February 2, 2021—KB4598291 (OS Builds 19041.789 and ...
Updates an issue that incorrectly deactivates some Windows 10 Education devices after upgrading to Windows 10, version 2004.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found