I got the following error when doing grad_clip, any idea why it happens?

Traceback (most recent call last):
  File "main.py", line 230, in <module>
    exp.run()
  File "main.py", line 162, in run
    train_loss, train_acc = self.model.train_epoch(self.train_dataloader)
  File "/share/data/lang/users/zeweichu/universal-classification/927/model.py", line 122, in train_epoch
    torch.nn.utils.clip_grad_norm_([p for p in self.network.parameters() if p.requires_grad], self.args.grad_clipping)
  File "/share/data/speech/zewei/anaconda3/lib/python3.6/site-packages/torch/nn/utils/clip_grad.py", line 29, in clip_grad_norm_
    total_norm += param_norm ** norm_type
RuntimeError: Expected object of type torch.cuda.FloatTensor but found type torch.cuda.DoubleTensor for argument #4 'other'