Skip to content

Attribute Error while importing torch_geometric_autoscale #28

Description

@marmg

When I try to run the benchmark examples, I get this error:

Traceback (most recent call last):
  File "repos/pyg_autoscale/small_benchmark/main.py", line 8, in <module>
    from torch_geometric_autoscale import (get_data, metis, permute, models,
  File "repos/pyg_autoscale/torch_geometric_autoscale/__init__.py", line 10, in <module>
    library, [osp.dirname(__file__)]).origin)
AttributeError: 'NoneType' object has no attribute 'origin'

I have these versions:

  • python 3.9.16
  • torch 2.1.0
  • torch_geometric 2.4.0
  • torch-geometric-autoscale 0.0.0
  • torch-scatter 2.0.9
  • torch-sparse 0.6.18

No cuda. MacBook Pro macOS 14.0.

Edit: According to pyg-team/pytorch_geometric#2304 I have checked in my env folder and I can see the *.so files:

  • _async.so
  • _relabel.so

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions