Skip to content

Problem on tutorial get_started.py #535

@vweilv

Description

@vweilv

When I run the get_started.py tutorial, the following errors occur:

/tools/tvm/dmlc-core/include/dmlc/logging.h:308: [10:48:17] src/codegen/codegen.cc:27: Check failed: bf != nullptr Target cuda is not enabled

It seems that cuda is NOT enabled when tvm is compiled. But I indeed enabled cuda when tvm is compiled. The following is the config.mk file of Tvm:

USE_CUDA = 1
CUDA_PATH = /usr/local/cuda
USE_CUDNN = 1

One more thing which is sure is that cuda is correctly installed at /usr/local/cuda. Other softwares such as torch\tensorflow can run correctly with cuda.

So, what is the problem? Thank you very much.

Other:
OS: ubuntu 14.04
Cuda: 8.0
CuDnn: 5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions