Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Incompatible with torch >= 2.6.0 #66

Open
famura opened this issue Jan 31, 2025 · 0 comments
Open

[bug] Incompatible with torch >= 2.6.0 #66

famura opened this issue Jan 31, 2025 · 0 comments

Comments

@famura
Copy link

famura commented Jan 31, 2025

With torch==2.5.1 your package (at v1.0.8) works as intended.

With torch==2.6.0 I get the following error message

...
.venv/lib/python3.11/site-packages/xlstm/blocks/slstm/src/cuda_init.py:30: in <module>
    os.environ["CUDA_LIB"] = os.path.join(os.path.split(torch.utils.cpp_extension.include_paths(cuda=True)[-1])[0], "lib")
E   TypeError: include_paths() got an unexpected keyword argument 'cuda'

The error appears for xlstm v1.0.8 and v2.0.2.

@famura famura changed the title [bug] Incompatible with torch > 2.5.1 [bug] Incompatible with torch >= 2.6.0 Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant