Skip to content

ImportError: undefined symbol #18

@HuangBugWei

Description

@HuangBugWei

Hello,

Thank you for maintaining this repository! I really appreciate the work and effort that went into fast-plaid.
It seems to be the cleanest and most straightforward solution that meets my needs.

I followed the official installation instructions for fast-plaid. My environment is:

  • PyTorch version: 2.6.0+cu124
  • Python version: 3.10
    I installed PyTorch with: pip install https://download.pytorch.org/whl/cu124/torch-2.6.0%2Bcu124-cp310-cp310-linux_x86_64.whl

Then, following the official guidance, I installed fast-plaid: pip install fast-plaid==1.2.4.260

However, when I try to import fast-plaid:

import torch
from fast_plaid import search

I get the following error:
ImportError: /home/.../.local/lib/python3.10/site-packages/fast_plaid/fast_plaid_rust.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail14torchCheckFailEPKcS2_jRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

I’m not sure how to resolve this issue. Could you please advise if this version of fast-plaid is compatible with PyTorch 2.6.0+cu124, or if there is a recommended workaround?

Thank you very much for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions