Retrieval-based-Voice-Conversion-WebUI
Retrieval-based-Voice-Conversion-WebUI copied to clipboard
Fix memory doesn't unload on mps device
Pull request checklist
- [x] The PR has a proper title. Use Semantic Commit Messages. (No more branch-name title please)
- [x] Make sure you are requesting the right branch:
dev. - [x] Make sure this is ready to be merged into the relevant branch. Please don't create a PR and let it hang for a few days.
- [x] Ensure all tests are passing.
- [x] Ensure linting is passing.
PR type
- Bug fix
Description
Fixed memory not being released when unloading models on mps devices. Also fixed protect was incorrectly returned in Dict