RVC-Project / Retrieval-based-Voice-Conversion

in preparation...
MIT License
294 stars 45 forks source link

Fix bug with Intel GPUs. #47

Open alcoftTAO opened 5 days ago

alcoftTAO commented 5 days ago

Fixes a bug occurring on Intel GPUs in the file rvc/lib/infer_pack/models.py when the align_corners parameter is set to True.

This fix dynamically sets align_corners to False when the model is loaded on an xpu device and True otherwise.