mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-15 18:11:52 +00:00
[GH-ISSUE #240] Error 500 RVC not working #147
Labels
No labels
bug
duplicate
planned
pull-request
under consideration
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Extras#147
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alastor367 on GitHub (Apr 30, 2024).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/240
P.S. I used a translator to translate my problem from my language into English
I'm using Windows 10
For some reason, when I try to use rvc it crashes in my console with such an error (given below) and on the same page error 500 does anyone know how to fix it? (I've checked the topic and even the topics with the same blend, nothing helped me from what I've seen)
@Sabaknn commented on GitHub (Jul 23, 2024):
dude,u’ve solve this problem yet? I got the same problem as well
@imfaisal-adil commented on GitHub (Feb 7, 2025):
### Same Issue
File "D:\anaconda3\envs\xtras\Lib\site-packages\torch\serialization.py", line 1470, in load
raise pickle.UnpicklingError(_get_wo_message(str(e))) from None
_pickle.UnpicklingError: Weights only load failed. This file can still be loaded, to do so you have two options, do those steps only if you trust the source of the checkpoint.
(1) In PyTorch 2.6, we changed the default value of the
weights_onlyargument intorch.loadfromFalsetoTrue. Re-runningtorch.loadwithweights_onlyset toFalsewill likely succeed, but it can result in arbitrary code execution. Do it only if you got the file from a trusted source.(2) Alternatively, to load with
weights_only=Trueplease check the recommended steps in the following error message.WeightsUnpickler error: Unsupported global: GLOBAL fairseq.data.dictionary.Dictionary was not an allowed global by default. Please use
torch.serialization.add_safe_globals([Dictionary])or thetorch.serialization.safe_globals([Dictionary])context manager to allowlist this global if you trust this class/function.Check the documentation of torch.load to learn more about types accepted by default with weights_only https://pytorch.org/docs/stable/generated/torch.load.html.
'NoneType' object has no attribute 'dtype'
2025-02-07 05:46:33 | INFO | werkzeug | 127.0.0.1 - - [07/Feb/2025 05:46:33] "POST /api/voice-conversion/rvc/process-audio HTTP/1.1" 500 -
@Cohee1207 commented on GitHub (Feb 7, 2025):
Extras are not maintained anymore, so please consider other alternatives such as https://github.com/daswer123/rvc-python