a-r-j / graphein

Protein Graph Library
https://graphein.ai/
MIT License
1.02k stars 129 forks source link

dlopen Errors on Documentation for Dataloaders #236

Closed universvm closed 1 year ago

universvm commented 1 year ago

Describe the bug https://graphein.ai/notebooks/dataloader_tutorial.html

OSError: dlopen(/Users/arianjamasb/opt/anaconda3/envs/graphein-wip/lib/python3.8/site-packages/torch_sparse/_convert_cpu.so, 0x0006): Symbol not found: __ZN2at4_ops19empty_memory_format4callEN3c108ArrayRefIxEENS2_8optionalINS2_10ScalarTypeEEENS5_INS2_6LayoutEEENS5_INS2_6DeviceEEENS5_IbEENS5_INS2_12MemoryFormatEEE Referenced from: /Users/arianjamasb/opt/anaconda3/envs/graphein-wip/lib/python3.8/site-packages/torch_sparse/_convert_cpu.so Expected in: /Users/arianjamasb/opt/anaconda3/envs/graphein-wip/lib/python3.8/site-packages/torch/lib/libtorch_cpu.dylib

To Reproduce Steps to reproduce the behavior:

  1. Go to https://graphein.ai/notebooks/dataloader_tutorial.html
  2. Scroll down to 'Directory Structure'
  3. See error

Expected behavior No errors.

Desktop (please complete the following information):

Additional context It may be something to do with pytorch geometric

a-r-j commented 1 year ago

Thanks for pointing this out. This comes from compiling the docs on a machine without GPU. Will be resolved as part of #207