When i try to translate with cuda it fails because as a device its only set to cuda, but torch needs the id of the gpu. I fixed it by changing the device from "cuda" to "cuda:0". The problem is at line 89 in nllb.py. The device variable is set in :translations/init.py at line 85. Thats where i changed it and it works fine
When i try to translate with cuda it fails because as a device its only set to cuda, but torch needs the id of the gpu. I fixed it by changing the device from "cuda" to "cuda:0". The problem is at line 89 in nllb.py. The device variable is set in :translations/init.py at line 85. Thats where i changed it and it works fine