DeepGraphLearning / graphvite

GraphVite: A General and High-performance Graph Embedding System
https://graphvite.io
Apache License 2.0
1.21k stars 151 forks source link

Import error with `Segmentation Fault` #80

Closed HanwGeek closed 3 years ago

HanwGeek commented 3 years ago

I import graphvite with pytorch but it shows a segmentation fault, here's the sample code:

import graphvite as gv 
import torch

DEVICE = torch.device("cuda") 
torch.rand((2, 3)).to(DEVICE)

And I run it in gdb, it tells me:

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007fffcd1a77d8 in ?? ()
   from /home/wanghan/anaconda3/envs/dane/lib/python3.7/site-packages/graphvite/lib/../../../../libcudart.so.10.1

I would like to know how to fix this? Thanks!