镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

TVMOp doesn't work well with GPU builds #17840

Open

Description

@apeforest

Description

A few recent PRs failed at the same place related to TVM op.

#17835
#17795
#17531

@yzhliu

Activity

  1. leezu commented on Mar 18, 2020

    @leezu
    Contributor

    @apeforest do you mean this error:

    [2020-03-18T08:37:14.025Z] TVMError: Check failed: ret == 0 (-1 vs. 0) : Check failed: f != nullptr: Cannot find function less_scalar_gpufloat32_2bool_2_kernel0 in the imported modules or global registry
    
  2. apeforest commented on Mar 18, 2020

    @apeforest
    ContributorAuthor

    Yes, but it seems to be fixed.

  3. leezu commented on Mar 18, 2020

    @leezu
    Contributor

    Why would it be fixed? I got this error 2020-03-18T08:37:14.025Z UTC

  4. reopened this on Mar 18, 2020
  5. ChaiBapchya commented on Apr 28, 2020

    @ChaiBapchya
    Contributor

    The issue persists. Upon trying unix-gpu build on G4 in CI Dev account.
    http://jenkins.mxnet-ci-dev.amazon-ml.com/blue/organizations/jenkins/mxnet-validation-bapac%2Funix-gpu/detail/update_gpu_toolchain/8/pipeline/414

    all 3 failed tests fail in a similar fashion
    they fail at 7 tests with the following error

    TVMError: Check failed: ret == 0 (-1 vs. 0) : Check failed: f != nullptr: Cannot find function  <x> in the imported modules or global registry
    

    Internal functions that can't be found

    greater_equal_gpufloat32_0float32_0bool_0_kernel0 (x2)
    logical_and_gpufloat32_1float32_1bool_1_kernel0 (x2)
    equal_gpufloat32_2float32_2bool_2_kernel0 (x2)
    sum_gpureduce1st_dim_1req_kWriteTobool_5float32_2float32_2_kernel0 (x3)
    cuda_rad2degfloat32_2float32_2_kernel0 (x2)
    

    7 Tests that fail as a result

    tests/python/unittest/test_numpy_interoperability.py:test_np_array_function_protocol
    tests/python/unittest/test_numpy_interoperability.py:test_np_array_ufunc_protocol
    
    tests/python/unittest/test_numpy_ndarray.py:test_np_ndarray_binary_element_wise_ops
    
    tests/python/unittest/test_numpy_op.py:test_np_sum
    tests/python/unittest/test_numpy_op.py:test_np_mean
    tests/python/unittest/test_numpy_op.py:test_np_unary_funcs
    tests/python/unittest/test_numpy_op.py:test_np_binary_funcs
    
  6. leezu commented on Apr 29, 2020

    @leezu
    Contributor

    Reproducer
    Compile MXNet with USE_TVMOP=1.

    import mxnet as mx
    
    x = mx.np.array([[0, 1], [1, 1], [2, 2]], ctx=mx.gpu())
    idx = x < 2
    x[idx]
    
  7. added a commit that references this issue on May 1, 2020
  8. changed the title [-]CI unix-gpu build failure in TVM op[/-] [+]TVMOp doesn't work well with GPU builds[/+] on May 1, 2020
  9. leezu commented on May 1, 2020

    @leezu
    Contributor

    Has been disabled on CI: #18204

    Let's track fixing TVMOp in this issue?

  10. yzhliu commented on May 9, 2020

    @yzhliu
    Member

    @jinboci will be helping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions