Open sapozhnikov opened 8 months ago
Well, it looks like pytorch doesn't work with my GPU, last compatible version of ROCm was 5.2, which doesn't work with SVC and produce
INFO [02:10:15] Decoder type: hifi-gan synthesizers.py:100 Traceback (most recent call last): File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/so_vits_svcfork/train.py", line 347, in load , , , epoch = utils.load_checkpoint( File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/so_vits_svc_fork/utils.py", line 288, in load_checkpoint checkpoint_dict = torch.load(f, map_location="cpu", weights_only=True) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/torch/serialization.py", line 809, in load raise pickle.UnpicklingError(UNSAFE_MESSAGE + str(e)) from None _pickle.UnpicklingError: Weights only load failed. Re-running
torch.load
withweights_only
set toFalse
will likely succeed, but it can result in arbitrary code execution.Do it only if you get the file from a trusted source. WeightsUnpickler error: Unsupported operand 71The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/user01/miniconda3/envs/sovits/bin/svc", line 8, in
sys.exit(cli()) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/click/core.py", line 1157, in call return self.main(args, kwargs) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/click/core.py", line 783, in invoke return __callback(args, kwargs) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/so_vits_svc_fork/main.py", line 128, in train train( File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/so_vits_svc_fork/train.py", line 119, in train model = VitsLightning(reset_optimizer=reset_optimizer, hparams) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/so_vits_svc_fork/train.py", line 186, in init self.load(reset_optimizer) File "/home/user01/miniconda3/envs/sovits/lib/python3.10/site-packages/so_vits_svc_fork/train.py", line 363, in load raise RuntimeError("Failed to load checkpoint") from e RuntimeError: Failed to load checkpoint
Describe the bug
Trying to run SVC locally and get GPU acceleration from Radeon 5700XT. During training progress stuck at the beginning, GPU run at 100%, but only get 'Epoch 0/9999' hours after.
To Reproduce
Installed to fresh Conda environment, like described. Python 3.10.13
Additional context
radeontop showing 100% at 'Graphics pipe' & 'Shader Interpolator' bars during hubert and train stages. Tried different versions of pytorch. Same behavior with latest. Older versions fails to open model, i think.
Added to ~/.bashrc
svc output:
Version
4.1.47
Platform
EndeavourOS (Arch Linux)
Code of Conduct
No Duplicate