BeRiriJ

Results 2 comments of BeRiriJ

I managed to resolve the `RuntimeError` with `safetensors` loading. The issue was a duplicate line in `models/tts/maskgct/gradio_demo.py`: `safetensors.torch.load_model(codec_decoder, codec_decoder_ckpt)` Simply removing one of the two identical lines fixed the problem.

The error points to this line in gradio_demo.py: `device = torch.device("mps" if torch.cuda.is_available() else "CPU") #