Gadersd / whisper-burn

A Rust implementation of OpenAI's Whisper model using the burn framework
MIT License
263 stars 29 forks source link

Can not choose second gpu using wgpu #7

Open Quackdoc opened 1 year ago

Quackdoc commented 1 year ago

Running on windows I have tried to set my intel gpu using let-env WGPU_ADAPTER_NAME = 'intel' via nushell to no succsess.

I also tried changing device choose to let device = WgpuDevice::DiscreteGpu(0); and it too did not work.

in the end I had to set type Backend = WgpuBackend<burn_wgpu::Vulkan, f32, i32>; and use VK_ICD_FILENAMES = '\windows\system32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_50b98d237e0753a8\igvk64.json' to use the intel gpu (for anyone stumbling upon this the link may be different depending on gpu, so you will need to manually find igvk64.json)

not sure if this is an issue with whisper-burn or the wgpu backend for burn, I think it's a wgpu-burn issue but thought it would be safer to report issue here first

antimora commented 1 year ago

@Quackdoc if you don't mind, can you refile this ticket with Burn? We can trouble shoot there. It's more related to the backend set up. Since this backend just release, please bear with us on this.

Quackdoc commented 1 year ago

@Quackdoc if you don't mind, can you refile this ticket with Burn? We can trouble shoot there. It's more related to the backend set up. Since this backend just release, please bear with us on this.

done, and no problem. will do what I can to help work through