GithubHelp home page GithubHelp logo

Different results depending on availability of AVX-512 instruction set and numpy>1.25 's vectorized sort/argsort about neuror HOT 2 CLOSED

eleftherioszisis avatar eleftherioszisis commented on August 19, 2024
Different results depending on availability of AVX-512 instruction set and numpy>1.25 's vectorized sort/argsort

from neuror.

Comments (2)

mgeplf avatar mgeplf commented on August 19, 2024

On bb5, I can repro:

____________________________________________________________________________________________________________________________________________________________________ test_minimize_more17 ____________________________________________________________________________________________________________________________________________________________________

    @pytest.mark.skipif(version.parse(scipy.__version__) < version.parse('1.7'),
                        reason="requires scipy >= 1.7")
    def test_minimize_more17():
        params = 4, 45, -21, 0, 0, 61

        result = _minimize(params, _get_points(), bin_width=10)
>       assert_allclose(result,
                        [4.1510e+00, 4.6763e+01, -2.0966e+01, -2.7207e-04, -4.5070e-04, 6.8804e+01],
                        rtol=1e-4)

tests/cut-plane/test_detection.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<function assert_allclose.<locals>.compare at 0x7fffdcbac280>, array([ 4.09910404e+00,  4.67742676e+01, -2.06672325e+...3e-04,  6.88124012e+01]), array([ 4.1510e+00,  4.6763e+01, -2.0966e+01, -2.7207e-04, -4.5070e-04,
        6.8804e+01]))
kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=0.0001, atol=0', 'verbose': True}

    @wraps(func)
    def inner(*args, **kwds):
        with self._recreate_cm():
>           return func(*args, **kwds)
E           AssertionError:
E           Not equal to tolerance rtol=0.0001, atol=0
E
E           Mismatched elements: 6 / 6 (100%)
E           Max absolute difference: 0.29876749
E           Max relative difference: 0.40725429
E            x: array([ 4.099104e+00,  4.677427e+01, -2.066723e+01, -2.980689e-04,
E                  -2.671505e-04,  6.881240e+01])
E            y: array([ 4.1510e+00,  4.6763e+01, -2.0966e+01, -2.7207e-04, -4.5070e-04,
E                   6.8804e+01])

../../../../../ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/lib/python3.9/contextlib.py:79: AssertionError

Architecture is:

processor       : 71
vendor_id       : GenuineIntel
cpu family      : 6
model           : 85
model name      : Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz

from neuror.

mgeplf avatar mgeplf commented on August 19, 2024

This was worked around, for the time being, with:
#116

from neuror.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.