allenai / allenai/longformer

Instructions to compile the TVM CUDA kernel do not work

Ouverte
#167 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
2.2k
Forks
285
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.