Skip to content

Wheels do not explicitly specify the torch version #226

Description

@nbren12

I get this error in my current environment after `pip install torch-harmonics'

│ ImportError: /scratch/nbrenowitz/healda/.venv/lib/python3.12/site-packages/torch_harmonics/attention/_C.cpython-312-x86_64-linux-gnu.so: undefined        │
│ symbol: _ZNR5torch7Library4_defEON3c1014FunctionSchemaEPNS1_12OperatorNameERKSt6vectorIN2at3TagESaIS8_EENS_17_RegisterOrVerifyE

I think this is because the torch ABI is not compatible between torch minor versions. I am currently using torch 2.12.1, python 312, and cuda 13.

If you want to fix, e2grid has some code to encode the pytorch version in the wheel name, but it's a bit awkward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions