The LSTM wants floats, so you could use .float() on the inputs (the full backtrace likely would have that the matmul args are input and weight or somesuch a level up).
Best regards
Thomas
PS I don’t think it is a good idea to post “help me with this error” question in multiple forums. It doubles the time people spend answering, so with a fixed amount of ressources only half the questions can be answered.