I am attempting to build DGL (Deep Graph Library) from source in an environment that includes CUDA 12.2 and PyTorch 2.1. Despite the announcement stating the next release would be in November 2023, there is no official release available yet. To proceed, I followed the instructions provided in the DGL installation guide here.
While executing the build script as instructed (
bash script/build_dgl.sh -c), I encountered the following error:
$ bash script/build_dgl.sh -c ERROR: Please make sure the environment variable DGL_HOME is set correctly.
- CUDA Version: 12.2
- PyTorch Version: 2.1