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.

Currently core tests

  • core_tests/test_ndarray.py::TestNdarrayCopy::test_copy_multi_device_non_contiguous - AssertionError:

  • Happens only if run with other tests, memory corruption suspected

  • core_tests/test_ndarray_elementwise_op.py::TestArrayElementwiseOp::test_broadcasted_pow - AssertionError:

  • Requires adjusting tolerance

E       Not equal to tolerance rtol=1e-07, atol=0
E
E       Mismatched elements: 2 / 6 (33.3%)
E       Max absolute difference: 7.6293945e-06
E       Max relative difference: 2.1192763e-07
E        x: array([[ 1.      +0.j,  2.      +0.j,  3.      +0.j],
E              [16.      +0.j, 24.999996+0.j, 35.999992+0.j]], dtype=complex64)
E        y: array([[ 1.+0.j,  2.+0.j,  3.+0.j],
E              [16.+0.j, 25.+0.j, 36.+0.j]], dtype=complex64)
  • core_tests/test_ndarray_elementwise_op.py::TestArrayElementwiseOp::test_pow_array - AssertionError:
  • Tolerance issue
E       AssertionError:
E       Not equal to tolerance rtol=1e-07, atol=0
E
E       Mismatched elements: 1 / 6 (16.7%)
E       Max absolute difference: 7.6293945e-06
E       Max relative difference: 1.5258789e-07
E        x: array([[ 1.      +0.j, 32.      +0.j, 81.00001 +0.j],
E              [64.      +0.j, 24.999996+0.j,  6.      +0.j]], dtype=complex64)
E        y: array([[ 1.+0.j, 32.+0.j, 81.+0.j],
E              [64.+0.j, 25.+0.j,  6.+0.j]], dtype=complex64)
  • core_tests/fusion_tests/test_array.py::TestFusionArrayMethods::test_all - AssertionError:
  • core_tests/fusion_tests/test_array.py::TestFusionArrayMethods::test_max - AssertionError:
  • core_tests/fusion_tests/test_array.py::TestFusionArrayMethods::test_min - AssertionError:
  • core_tests/fusion_tests/test_array.py::TestFusionArrayMethods::test_prod - AssertionError:
  • core_tests/fusion_tests/test_array.py::TestFusionArrayMethods::test_sum - AssertionError:
  • core_tests/fusion_tests/test_example.py::TestFusionExample::test_batchnorm - ValueError: Cooperative groups is not supported in HIP.
  • core_tests/fusion_tests/test_indexing.py::TestIndexingCombination::test_indexing_and_add_1 - AssertionError:
  • core_tests/fusion_tests/test_indexing.py::TestIndexingCombination::test_indexing_and_add_2 - AssertionError:
  • core_tests/fusion_tests/test_indexing.py::TestIndexingCombination::test_indexing_and_add_3 - AssertionError:
  • core_tests/fusion_tests/test_indexing.py::TestIndexingCombination::test_indexing_and_add_4 - AssertionError:
  • core_tests/fusion_tests/test_indexing.py::TestIndexingCombination::test_indexing_twice_2 - AssertionError:
  • core_tests/fusion_tests/test_reduction.py::TestFusionReductionSpecifyDtype::test_sum - AssertionError:
  • core_tests/fusion_tests/test_routines.py::TestFusionFloatingUnary_param_1_{func=‘frexp’}::test_floating_point_routine - cupy.cuda.compiler.CompileException: Error: AMD HSA Code…

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
leofangcommented, Feb 4, 2021

only 10 failures in core tests now:

======================================================================= short test summary info =======================================================================
FAILED tests/cupy_tests/core_tests/test_ndarray_conversion.py::TestNdarrayToBytes_param_1_{shape=(1,)}::test_item - AssertionError: Results are not equal:
FAILED tests/cupy_tests/core_tests/test_ndarray_conversion.py::TestNdarrayToBytes_param_2_{shape=(2, 3)}::test_item - AssertionError: Results are not equal:
FAILED tests/cupy_tests/core_tests/test_ndarray_indexing.py::TestArrayIndexingParameterized_param_0_{indexes=(1, 0, 2), shape=(2, 3, 4), transpose=None}::test_getitem
FAILED tests/cupy_tests/core_tests/test_ndarray_indexing.py::TestArrayIndexingParameterized_param_1_{indexes=(-1, 0, -2), shape=(2, 3, 4), transpose=None}::test_getitem
FAILED tests/cupy_tests/core_tests/test_ndarray_indexing.py::TestArrayIndexingParameterized_param_2_{indexes=(1, 0, 2), shape=(2, 3, 4), transpose=(2, 0, 1)}::test_getitem
FAILED tests/cupy_tests/core_tests/test_ndarray_indexing.py::TestArrayIndexingParameterized_param_3_{indexes=(-1, 0, -2), shape=(2, 3, 4), transpose=(2, 0, 1)}::test_getitem
FAILED tests/cupy_tests/core_tests/test_ndarray_indexing.py::TestArrayIndexingParameterized_param_14_{indexes=(slice(None, None, None), None), shape=(2,), transpose=None}::test_getitem
FAILED tests/cupy_tests/core_tests/test_ndarray_indexing.py::TestArrayIndexingParameterized_param_27_{indexes=(slice(-4, -5, -1),), shape=(10,), transpose=None}::test_getitem
FAILED tests/cupy_tests/core_tests/test_ndarray_indexing.py::TestArrayIndexingParameterized_param_38_{indexes=(slice(-5, -6, -1),), shape=(10,), transpose=None}::test_getitem
FAILED tests/cupy_tests/core_tests/test_ndarray_unary_op.py::TestArrayBoolOp::test_bool_one_element - AssertionError: assert False
================================================ 10 failed, 1957 passed, 299 skipped, 2 warnings in 3175.10s (0:52:55) ================================================
1reaction
emcastillocommented, Jan 26, 2021

rebased! thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Diagnostic accuracy of clinical tests of the hip: a systematic ...
Objective Summarise and evaluate the current research and utility on the diagnostic accuracy of HPE tests for the hip joint germane to sports...
Read more >
Hip Examination - Physiopedia
The first investigation of choice in a patient with hip pain following trauma is a hip x-ray. This will be an AP radiograph...
Read more >
Hip Region Exam, Approach to | Stanford Medicine 25
All compression tests can be positive in hip pain but especially with a fracture. If positive, hip x-rays (and possibly more imaging) should...
Read more >
Evaluation of the Hip: History and Physical Examination - PMC
Examination of a painful hip is fairly concise and reliable at detecting the presence of a hip joint problem. Hip joint disorders often...
Read more >
Hip Quadrant Test - The Student Physical Therapist
The test is repeated in abduction. A positive test is a reproduction of the patient's worst pain that they came with into the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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