Skip to content

FLE Basis GPU tests #849

Open
Open
@chris-langfield

Description

@chris-langfield

The current tests for the FLE Basis (#693) test combinations of size = 32, 33 and epsilons = 1e-4, 1e-7, 1e-10, 1e-14

For the case 1e-7 case, the cufinufft tests are failing to be within the desired precision. Specifically, the following tests fail

  • testFastVDense_T
  • testFastVDense
  • testEvaluateExpand

Moving onto Decaf to debug, we have the following output:

FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testFastVDense_T[33-1e-07] - assert 1.0770913896475136e-07 < 1e-07
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testFastVDense[32-1e-07] - assert 8.535542528013261e-06 < 1e-07
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testFastVDense[33-1e-07] - assert 3.0947756503646876e-05 < 1e-07
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testEvaluateExpand[32-1e-07] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testEvaluateExpand[33-1e-07] - RuntimeError: Unable to converge!

Another run:

FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testFastVDense_T[32-1e-07] - assert 1.2307842145582195e-06 < 1e-07
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testFastVDense_T[33-1e-07] - assert 3.27830082146523e-06 < 1e-07
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testFastVDense[32-1e-07] - assert 3.683104864109316e-07 < 1e-07
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testFastVDense[33-1e-07] - assert 7.962711500110564e-06 < 1e-07
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testEvaluateExpand[32-1e-07] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D.py::TestFLEBasis2D::testEvaluateExpand[33-1e-07] - RuntimeError: Unable to converge!

The "Unable to converge" comes from the expand() method.

Clearly the tests are pretty close but drop out of the desired range non deterministically

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous IntegrationGPUbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions