Spaces:
Runtime error
Runtime Error in XTTS Space (Torch Version Issue)
Hello, I’m facing a runtime error when trying to run this Space with XTTS.
Error log shows:
_pickle.UnpicklingError: Weights only load failed.
In PyTorch 2.6 the default weights_only
argument changed from False to True.
Temporary fix:
Please downgrade PyTorch by adding this line to requirements.txt:
torch==2.5.1
This will make the Space run without the runtime error. Thanks!
@josh-r-meyer Help
Hello. I tried to clone the XTTS on CPU Space, and I replaced torch>=2.1 with torch==2.5.1 in the requirements.txt. After that, XTTS did start for me, but when generating, the CPU briefly goes to 100% usage and then it only shows 'Error' without any error message. Can someone help me and explain how to properly duplicate the XTTS CPU Space so that it works? Because it runs on public servers, but on my own duplicated Space it doesn’t.