You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While importing a compiled PyTorch CUDA extension (selective_scan_cuda.cpython-311-x86_64-linux-gnu.so from the mamba-ssm library), Python 3.11 raises an ImportError with an unresolved C++ symbol.
This happens only under Python 3.11, while the same library works with Python 3.10.
Expected behavior
The .so file should load if built correctly against Python 3.11-compatible headers and libraries. At the very least, the Python interpreter should offer better diagnostics if a symbol version mismatch occurs due to Python or ABI changes.
To Reproduce
# In Python 3.11 environment with torch and mamba-ssm installedfrommamba_ssmimportMamba# raises ImportError### CPython versions tested on:3.11### Operating systems tested on:Linux