Pytorch-POS-Tagger icon indicating copy to clipboard operation
Pytorch-POS-Tagger copied to clipboard

The tensor is cuda type, but the GPU is not used.

Open cswangjiawei opened this issue 6 years ago • 0 comments

I imitated your project to write a part-of-speech tagging project, adding character embedding and the crf layer (refer to https://pytorch.org/tutorials/beginner/nlp/advanced_tutorial.html#sphx-glr-beginner-nlp-advanced- Tutorial-py), but when I use GPU training, I find that all tensors are cuda type, but when I use the command 'nvidia-smi' to view GPU usage, I get the following image: image4It don’t show any process using the GPU. I am very confused.This is the project I wrote. POS-Tagger.zip

cswangjiawei avatar Oct 13 '18 09:10 cswangjiawei