Skip to content
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

BUG: test failure of test_lobpcg with certain BLAS versions/flavours #16927

Closed
h-vetinari opened this issue Aug 30, 2022 · 2 comments
Closed
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.sparse.linalg
Milestone

Comments

@h-vetinari
Copy link
Member

From conda-forge/scipy-feedstock#210 on linux, using openblas 0.3.21, in addition to #16926, only without skylake**

________________________ test_failure_to_run_iterations ________________________
[gw1] linux -- Python 3.9.13 $PREFIX/bin/python
[...]/scipy/sparse/linalg/_eigen/lobpcg/tests/test_lobpcg.py:267: in test_failure_to_run_iterations
    eigenvalues, _ = lobpcg(A, Q, maxiter=20)
E   Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted. The list of emitted warnings is: [].
        A          = array([[14.79920401,  3.42395794,  1.11801536, ...,  6.22468706,
        -0.3295225 ,  0.51182501],
       [ 3.4239579...688, -0.74665688],
       [ 0.51182501, -0.35862093, -4.13501843, ...,  0.79367332,
        -0.74665688,  2.67107558]])
        Q          = array([[ 5.55962680e-01,  8.92473887e-01, -4.22314824e-01,
         1.04714029e-01],
       [ 2.28053325e-01,  2.01479...10e-02,
        -9.48932811e-01],
       [ 1.31911756e-01, -1.98056559e+00,  7.68770644e-01,
        -4.21327587e-01]])
        X          = array([[ 1.76405235e+00,  4.00157208e-01,  9.78737984e-01,
         2.24089320e+00,  1.86755799e+00, -9.77277880e-01,
... 2.89120505e-01,  4.12870820e-01,
        -1.98398897e-01,  9.41923003e-02, -1.14761094e+00,
        -3.58114075e-01]])
        _          = array([[-4.27894327e-02, -2.29127117e-01, -1.01234855e-01,
        -1.36639774e-01],
       [-8.89510060e-02, -8.70401...08e-03,
        -1.49249711e-01],
       [ 5.02011307e-02, -3.52297469e-02, -4.87207800e-02,
        -9.35328565e-03]])
        eigenvalues = array([145.57385091, 133.32422064, 123.12573165, 110.50388003])
        rnd        = RandomState(MT19937) at 0x7F53B8BC1E40
**

Test fails for:

Supported SIMD extensions in this NumPy install:
    baseline = SSE,SSE2,SSE3
    found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2
    not found = AVX512F,AVX512CD,AVX512_KNL,AVX512_KNM,AVX512_SKX,AVX512_CLX,AVX512_CNL,AVX512_ICL

Test passes for:

Supported SIMD extensions in this NumPy install:
    baseline = SSE,SSE2,SSE3
    found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2,AVX512F,AVX512CD,AVX512_SKX
    not found = AVX512_KNL,AVX512_KNM,AVX512_CLX,AVX512_CNL,AVX512_ICL
@rgommers rgommers added defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.sparse.linalg and removed scipy.linalg labels Sep 1, 2022
@h-vetinari h-vetinari changed the title BUG: test failure of test_lobpcg with openblas 0.3.21 & without AVX-512 BUG: test failure of test_lobpcg with certain BLAS versions/flavours Jan 27, 2023
@h-vetinari
Copy link
Member Author

Also appears with BLIS in conda-forge/scipy-feedstock#223

@h-vetinari
Copy link
Member Author

As of conda-forge/scipy-feedstock#242, this is resolved 🥳

@h-vetinari h-vetinari added this to the 1.11.0 milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.sparse.linalg
Projects
None yet
Development

No branches or pull requests

2 participants