Skip to content

Instructions to compile the TVM CUDA kernel do not work #167

@pzzhang

Description

@pzzhang

I tried to compile the TVM CUDA kernel on my own computer with Ubuntu16.04. I have docker and Docker gpu runtime installed and they work well for my other projects.

Following the instructions, I tried to build the docker image "my_tvm_image".


clone longformer

git clone https://github.com/allenai/longformer.git
cd longformer

clone tvm inside the longformer directory

git clone --single-branch --branch v0.6.0 https://github.com/apache/incubator-tvm.git

build docker image

docker build -t my_tvm_image -f tvm_docker incubator-tvm/docker/


However, the image build failed with the following error:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vwbvld19/futures/
The command '/bin/sh -c pip3 install numpy pytest cython decorator scipy ipython ipdb torch==1.2.0 torchvision tensorboardx tensorboard pytest' returned a non-zero code: 1

Any suggestions on this? Or can the authors upload the built docker image to dockerhub so that others can use?

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