Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cswangjiawei opened this issue Oct 13, 2018 · 0 comments
Open

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

cswangjiawei opened this issue Oct 13, 2018 · 0 comments

Comments

@cswangjiawei
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant