so-vits-svc-fork icon indicating copy to clipboard operation
so-vits-svc-fork copied to clipboard

Unable to use CREPE in macOS (`RuntimeError: don't know how to restore data location of torch.storage.UntypedStorage (tagged with mps:0)`(

Open zhouhao27 opened this issue 2 years ago • 6 comments

Describe the bug

Got the following error message when I ran pre-huber in my iMac:

don't know how to restore data location of " RuntimeError: don't know how to restore data location of torch.storage.UntypedStorage (tagged with mps:0)

To Reproduce

svc pre-resample
svc pre-config
svc pre-hubert -fm crepe

Additional context

By the way, it is fine if I run svc pre-hubert instead,

Version

4.1.1

Platform

macOS 13.2.1

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct.

No Duplicate

  • [X] I have checked existing issues to avoid duplicates.

zhouhao27 avatar Jul 02 '23 03:07 zhouhao27

Don't know where zh00010_26.wav.data.pt is coming from?

zhouhao27 avatar Jul 03 '23 09:07 zhouhao27

I think there is a chance that trying 4.1.1 will solve this problem.

34j avatar Jul 03 '23 11:07 34j

I think there is a chance that trying 4.1.1 will solve this problem.

Got the following error message when I try 4.1.1:

File "/Volumes/T7/Applications/miniconda3/envs/sovits/lib/python3.10/site-packages/torch/serialization.py", line 220, in default_restore_location raise RuntimeError("don't know how to restore data location of " RuntimeError: don't know how to restore data location of torch.storage.UntypedStorage (tagged with mps:0)

I guess this is related to GPU. Is it possible to disable GPU?

zhouhao27 avatar Jul 03 '23 11:07 zhouhao27

Updated my description of the issue.

zhouhao27 avatar Jul 04 '23 01:07 zhouhao27

Any solution for this ?

SutirthaChakraborty avatar Jul 04 '23 19:07 SutirthaChakraborty

(#337, #721, #804, #630, #703, #735 ?)

Not sure what is the solution, as not many people have MPS.

34j avatar Jul 05 '23 14:07 34j