CPU

#22
by BBLL3456 - opened

Hi, thanks for your great work. Is there a way to run locally on CPU. I tried to run but it gave a CUDA runtime error

It's not recommended to run on CPU but if you still want, you can change this line https://huggingface.co/spaces/vumichien/Whisper_speaker_diarization/blob/7fcf55a1114285e5229e814a354c30d735ea95cd/app.py#L231 to model = WhisperModel(model_size, device="cpu", compute_type="int8") in app.py file

vumichien changed discussion status to closed

Sign up or log in to comment