acbull / pyHGT

Code for "Heterogeneous Graph Transformer" (WWW'20), which is based on pytorch_geometric
MIT License
775 stars 162 forks source link

Add README.md to docker #16

Closed snash4 closed 4 years ago

snash4 commented 4 years ago

Added instructions to run the docker container

jiaruHithub commented 2 years ago

Hi, thkank you for thhis dockerfile, but there some Network latency problem on dockerfile. Could you offer a docker pull link? Thank you very much!

jiaruHithub commented 2 years ago

When I use this dockerfile, some ERROR were reported:

Sending build context to Docker daemon  8.704kB
Step 1/53 : FROM ubuntu:18.04
 ---> ad080923604a
Step 2/53 : RUN apt-get update && apt-get install -y apt-transport-https ca-certificates &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 0ec438b7a4c1
Step 3/53 : RUN apt-get update && apt-get install -y --no-install-recommends apt-utils gnupg2 curl &&     curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | apt-key add - &&     echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/cuda.list &&     echo "deb https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/nvidia-ml.list &&    apt-get purge --autoremove -y curl &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> fdc9348a919c
Step 4/53 : ENV CUDA_VERSION 10.1.243
 ---> Using cache
 ---> 3665f475996b
Step 5/53 : ENV NCCL_VERSION 2.4.8
 ---> Using cache
 ---> e980dfd0a27c
Step 6/53 : ENV CUDA_PKG_VERSION 10-1=$CUDA_VERSION-1
 ---> Using cache
 ---> cd493a490e56
Step 7/53 : ENV CUDNN_VERSION 7.6.5.32
 ---> Using cache
 ---> 0c6a1b493718
Step 8/53 : RUN apt-get update && apt-get install -y --no-install-recommends     cuda-cudart-$CUDA_PKG_VERSION     cuda-compat-10-1 &&     ln -s cuda-10.1 /usr/local/cuda &&     rm -rf /var/lib/apt/lists/*
 ---> Running in 51b57bf7fca3
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [22.8 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1021 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1521 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2867 kB]
Get:4 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64  InRelease [1581 B]
Err:4 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
Ign:5 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64  InRelease
Get:13 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64  Release [564 B]
Get:14 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64  Release.gpg [833 B]
Get:15 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64  Packages [73.8 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1065 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [29.8 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3298 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2298 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [12.2 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [12.9 kB]
Reading package lists...
W: GPG error: https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease' is not signed.
The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends     cuda-cudart-$CUDA_PKG_VERSION     cuda-compat-10-1 &&     ln -s cuda-10.1 /usr/local/cuda &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Is there any method to fix it? thank you very much