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

Inspite of changing gpu device number it doesn't work #11

Open
jiminbot20 opened this issue Oct 13, 2021 · 1 comment
Open

Inspite of changing gpu device number it doesn't work #11

jiminbot20 opened this issue Oct 13, 2021 · 1 comment

Comments

@jiminbot20
Copy link

jiminbot20 commented Oct 13, 2021

Even if I changed gpu number 0 into 2 or 3, still GPU 0 is allocated.
image

How could I change it?

@mrpep
Copy link
Member

mrpep commented Oct 13, 2021

Maybe this is happening because that gpu_id variable only affects the training of the downstream model. Does this happen while wav2vec 2.0 features are being extracted? A possible workaround is to run in a terminal:

export CUDA_VISIBLE_DEVICES=2

and only the GPU number 2 should be used

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

2 participants