How to turn on or off gpu #1095
GoldDRoge
started this conversation in
Development
Replies: 2 comments 1 reply
-
pyannote pipelines will always use GPU when there is one available. You could set import os
os.environ["CUDA_VISIBLE_DEVICES"] = ""
from pyannote.audio import Pipeline
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization")
pipeline("audio.wav") # will not use GPU |
Beta Was this translation helpful? Give feedback.
0 replies
-
This PR adds a new |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to control when to turn on or off gpu but i cant find how to do that. Can u help me
Beta Was this translation helpful? Give feedback.
All reactions