_th_log_out not supported on CUDAType

Hi everyone,

I am trying to use KLDivLoss loss function with but I get the following Error:

_th_log_out not supported on CUDAType for Long

I don’t know if there is some bug with KLDivLoss, but as I see there is a problem when using it with GPU.

any hint or solution will be really useful