安装cuda
- ./cuda-installer: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
- cuda版本问题
- cuda与driver对应版本参考链接:https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html
- cuda与GCC版本对应参考链接:https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
安装torch
- 安装带cuda的torch和python版本相关 python版本如果不对 会报错 ERROR: No matching distribution found for torch==1.7.0+cu110
安装DGL
- RuntimeError: DGL requires PyTorch >= 1.9.0