smvorwerk / xlstm-cuda

Cuda implementation of Extended Long Short Term Memory (xLSTM) with C++ and PyTorch ports
54 stars 8 forks source link

slstm_kernels.cu(111): error: identifier "b_i" is undefined #4

Open mw66 opened 5 days ago

mw66 commented 5 days ago

Same problem:

https://github.com/smvorwerk/xlstm-cuda/issues/3#issuecomment-2192747266

[ 25%] Building CUDA object CMakeFiles/xlstm_cuda.dir/kernels/slstm_kernels.cu.o
/home/jabowery/devel/xLSTM/cuda/kernels/slstm_kernels.cu(111): error: identifier "b_i" is undefined
                             b_i[hidx]);
                             ^

/home/jabowery/devel/xLSTM/cuda/kernels/slstm_kernels.cu(114): error: identifier "b_f" is undefined
                             b_f[hidx]);
                             ^

/home/jabowery/devel/xLSTM/cuda/kernels/slstm_kernels.cu(117): error: identifier "b_z" is undefined
                          b_z[hidx]);
                          ^

/home/jabowery/devel/xLSTM/cuda/kernels/slstm_kernels.cu(120): error: identifier "b_o" is undefined
                             b_o[hidx]);
                             ^

4 errors detected in the compilation of "/home/jabowery/devel/xLSTM/cuda/kernels/slstm_kernels.cu".
mw66 commented 5 days ago

https://github.com/smvorwerk/xlstm-cuda/blob/main/cuda/kernels/mlstm_kernels.cu#L108

have the same problem too:

b_i is never defined in function mlstm_backward_kernel.

mw66 commented 5 days ago

given such compiler error, I'm wondering if this project has ever been built and tested to train on some data at all?