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

test failed #318

Open
beew opened this issue Jun 11, 2021 · 0 comments
Open

test failed #318

beew opened this issue Jun 11, 2021 · 0 comments

Comments

@beew
Copy link

beew commented Jun 11, 2021

compiled scikit-cuda from source. build successful but two tests failed

======================================================================
FAIL: test_batch_fft_float32_to_complex64_2d (test_fft.test_fft)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/bernard/opt/python38/scikit-cuda/tests/test_fft.py", line 75, in test_batch_fft_float32_to_complex64_2d
    np.testing.assert_allclose(xf, xf_gpu.get(), atol=atol_float32)
  File "/home/bernard/opt/python38/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose
    assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
  File "/home/bernard/opt/python38/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=1e-07, atol=1e-06

Mismatched elements: 1 / 72 (1.39%)
Max absolute difference: 1.26101077e-06
Max relative difference: 3.31150888e-06
 x: array([[[ 1.847240e+01+0.j      ,  5.924784e-01+0.065641j,
         -3.084816e+00+0.j      ],
        [-2.996395e-01-0.153737j, -6.604408e-01+0.835482j,...
 y: array([[[ 1.847240e+01+0.j      ,  5.924784e-01+0.065641j,
         -3.084816e+00+0.j      ],
        [-2.996396e-01-0.153737j, -6.604407e-01+0.835482j,...

======================================================================
FAIL: test_fft_float32_to_complex64_2d (test_fft.test_fft)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/bernard/opt/python38/scikit-cuda/tests/test_fft.py", line 57, in test_fft_float32_to_complex64_2d
    np.testing.assert_allclose(xf, xf_gpu.get(), atol=atol_float32)
  File "/home/bernard/opt/python38/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose
    assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
  File "/home/bernard/opt/python38/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=1e-07, atol=1e-06

Mismatched elements: 1 / 24 (4.17%)
Max absolute difference: 1.26101077e-06
Max relative difference: 3.31150888e-06
 x: array([[18.472399+0.j      ,  0.592478+0.065641j, -3.084816+0.j      ],
       [-0.29964 -0.153737j, -0.660441+0.835482j,  0.395764-1.806811j],
       [ 0.398715-1.791588j, -0.252602-0.33202j , -0.532842+0.039878j],...
 y: array([[18.472399+0.j      ,  0.592478+0.065641j, -3.084816+0.j      ],
       [-0.29964 -0.153737j, -0.660441+0.835482j,  0.395764-1.806812j],
       [ 0.398715-1.791588j, -0.252602-0.33202j , -0.532842+0.039878j],...

----------------------------------------------------------------------
Ran 343 tests in 23.693s

FAILED (failures=2, skipped=61)
Test failed: <unittest.runner.TextTestResult run=343 errors=0 failures=2>
error: Test failed: <unittest.runner.TextTestResult run=343 errors=0 failures=2>

cuda-11.0, python 3.8.10, numpy-1.19.5. OS is Ubuntu 20.04,scikit-cuda from master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant