ImportError: Cannot load Graphbolt C++ library with colab

Since my local gpu memory is not enough, I use colab to run my experiment. However, when importing dgl, ImportError: Cannot load Graphbolt C++ library occurs. The configuration is torch2.3.0+cu121, and dgl-2.2.1+cu121 is successfully installed using pip install dgl -f https://data.dgl.ai/wheels/torch-2.3/cu121/repo.html. Uninstalling dgl and reinstalling it does not work. Is there any solution?

1 Like