device error in SinusoidalPositionalEmbedding (#746)
Summary: Not sure if I'm doing something wrong elsewhere, but I had a device error in `SinusoidalPositionalEmbedding` when running on GPU > 0 because the weights were on a different device than the input. Pull Request resolved: https://github.com/pytorch/fairseq/pull/746 Differential Revision: D15547217 Pulled By: myleott fbshipit-source-id: 37849d895ce483c14615fdb4ace8a8c4fb05b568
Showing
Please register or sign in to comment