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
ImportError: /home/dosisiddhesh/.cache/torch_extensions/py39_cu117/slstm_HS128BS8NH4NS4DBfDRbDWbDGbDSbDAfNG4SA1GRCV0GRC0d0FCV0FC0d0/slstm_HS128BS8NH4NS4DBfDRbDWbDGbDSbDAfNG4SA1GRCV0GRC0d0FCV0FC0d0.so: cannot open shared object file: No such file or directory
#61
Open
git-siddhesh opened this issue
Nov 18, 2024
· 3 comments
In the sLSTMCell_vanilla class, it uses.reshape()and .permute() operations. These do not inherently require a GPU, indicating that this class is designed to operate without the need for GPU acceleration.
In contrast, the sLSTMCell_cuda class includes an __init__ constructor that has a skip_backend_init parameter. This allows the class to skip initializing components necessary for GPU operation, which is useful for converting models between different hardware configurations. Methods _impl and _impl_step in this class use self.func.apply, a function specifically designed for GPU execution. Input tensors are required to be .contiguous() before being passed to this function, a requirement essential for efficient operations on CUDA.
If there's still a desire to use a GPU, adjustments in the source code would be necessary. I'm not able to provide specifics on how to make these changes but can confirm the information as stated.
You can follow this path to read more : xlstm/blocks/slstm/cell.py
Because i don't know how to fix it so If you can fix it, if it's not too much trouble, could you please provide me with a way to fix it?
I installed xlstm using
pip install xlstm
My system is
nvcc --version
11.7
Logs
The text was updated successfully, but these errors were encountered: