Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI Issue: No file output depending on f0-method and using GPU/cpu #334

Closed
sbersier opened this issue Apr 14, 2023 · 14 comments
Closed

GUI Issue: No file output depending on f0-method and using GPU/cpu #334

sbersier opened this issue Apr 14, 2023 · 14 comments
Labels
bug Something isn't working

Comments

@sbersier
Copy link

sbersier commented Apr 14, 2023

EDIT: I'm confused. No idea what is going on.
It works perfectly with version 2.1.5 and version 3.0.1

Describe the bug
This a GUI (svcg) issue only: No file output depending on f0-method and using GPU/cpu in version 3.6.2
Note: This bug doesn't manifest itself in command line.

To Reproduce
Install version 3.6.2 from scratch (new venv)
Installation with pip on linux Ubuntu 22.04 and python3.10

python3.10 -m venv venv
source venv/bin/activate
python -m pip install -U pip setuptools wheel
pip install -U torch torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install -U so-vits-svc-fork

Given a valid model, a valid config and an audio input file

Cases:

Case 1)

  • autoplay unchecked
  • auto predict checked
  • f0 method = [dio] or [harvest] or [parselmouth]
  • Absolute threshold checked
  • Auto play unchecked
    1.a) --> Use GPU unchecked ==> Success: produces output file when on cpu
    1.b) --> Use GPU checked ==> Fails: No output file (no error message)

Case 2)

  • autoplay unchecked
  • auto predict checked
  • f0 method = [crepe] or [crepe-tiny]
  • Absolute threshold checked
  • Auto play unchecked
    2.a) --> Use GPU unchecked ==> Fails: No output file (no error message)
    2.b) --> Use GPU checked ==> Fails: No output file (no error message)

Case 3)

Same as Case 2) except that f0 method is set to [dio]
3.a) --> Use GPU unchecked ==> Success
3.b) --> Use GPU checked ==> Fails: No output file (no error message)

BUT EVERYTHING IS OK IN COMMAND LINE:

Case 1.a)
svc infer input/Disappointing.wav -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm dio -d cpu -ab -db -35
==> Success
Case 1.b)
svc infer input/Disappointing.wav -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm dio -d cuda:0 -ab -db -35
==> Success (I checked that the GPU is indeed used.)
Case 2.a)
svc infer input/Disappointing.wav -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm crepe -d cpu -ab -db -35
==> Success
Case 2.b)
svc infer input/Disappointing.wav -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm crepe -d cuda:0 -ab -db -35
==> Success
Case 3.a)
svc infer input/Disappointing.wav -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm dio -d cpu -ab -db -35
==> Success
Case 3b)
svc infer input/Disappointing.wav -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm dio -d cuda:0 -ab -db -35
==> Success

Note:
Output of:
python -c "import torch;print(torch.cuda.is_available())"

is: True

@sbersier sbersier added the bug Something isn't working label Apr 14, 2023
@sbersier sbersier closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2023
@sbersier sbersier reopened this Apr 15, 2023
@sbersier
Copy link
Author

I re-installed it again and again. The result is the same. I'll try to look into the code. Either I find what's going wrong or I'll have to live with version 3.0.1.
tried:
-recommended install
-remove the index-url for torch, torchaudio pip install
-git cloned the repo and install wth pip install -e .

@sbersier
Copy link
Author

sbersier commented Apr 15, 2023

Terminal outputs for 3.7.2 and 3.0.1:

With version 3.7.2:
svcg

[10:30:31] INFO     [10:30:31] Event model_path, values {'model_path':                                                                                                         gui.py:522
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-from-src/so-vits-svc-fork/voices/G_105600_Sonia.pth',                    
                    'model_path_browse':                                                                                                                                                 
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-from-src/so-vits-svc-fork/voices/G_105600_Sonia.pth',                    
                    'config_path': '', 'config_path_browse': '', 'cluster_model_path': '', 'cluster_model_path_browse': '', 'speaker': '', 'silence_threshold': -35.0,                   
                    'transpose': 12.0, 'auto_predict_f0': False, 'f0_method': 'dio', 'cluster_infer_ratio': 0.0, 'noise_scale': 0.4, 'pad_seconds': 0.1, 'chunk_seconds': 0.5,           
                    'absolute_thresh': True, 'input_path': '', 'input_path_browse': '', 'auto_play': True, 'crossfade_seconds': 0.05, 'block_seconds': 0.35,                             
                    'additional_infer_before_seconds': 0.15, 'additional_infer_after_seconds': 0.1, 'realtime_algorithm': '1 (Divide constantly)', 'input_device': 'default              
                    (ALSA)', 'output_device': 'default (ALSA)', 'passthrough_original': False, 'presets': 'Default VC (GPU, GTX 1060)', 'preset_name': '', 'use_gpu': True} 
.
. (more outputs)
.
           INFO     [10:30:54] HubertModel Config: {'_name': 'hubert', 'label_rate': 50.0, 'extractor_mode': default, 'encoder_layers': 12, 'encoder_embed_dim': 768,       hubert.py:250
                    'encoder_ffn_embed_dim': 3072, 'encoder_attention_heads': 12, 'activation_fn': gelu, 'layer_type': transformer, 'dropout': 0.1, 'attention_dropout':                 
                    0.1, 'activation_dropout': 0.0, 'encoder_layerdrop': 0.05, 'dropout_input': 0.1, 'dropout_features': 0.1, 'final_dim': 256, 'untie_final_proj': True,                
                    'layer_norm_first': False, 'conv_feature_layers': '[(512,10,5)] + [(512,3,2)] * 4 + [(512,2,2)] * 2', 'conv_bias': False, 'logit_temp': 0.1,                         
                    'target_glu': False, 'feature_grad_mult': 0.1, 'mask_length': 10, 'mask_prob': 0.8, 'mask_selection': static, 'mask_other': 0.0, 'no_mask_overlap':                  
                    False, 'mask_min_space': 1, 'mask_channel_length': 10, 'mask_channel_prob': 0.0, 'mask_channel_selection': static, 'mask_channel_other': 0.0,                        
                    'no_mask_channel_overlap': False, 'mask_channel_min_space': 1, 'conv_pos': 128, 'conv_pos_groups': 16, 'latent_temp': [2.0, 0.5, 0.999995],                          
                    'skip_masked': False, 'skip_nomask': False, 'checkpoint_activations': False, 'required_seq_len_multiple': 2, 'depthwise_conv_kernel_size': 31,                       
                    'attn_type': '', 'pos_enc_type': 'abs', 'fp16': False}                                                                                                               
[10:30:55] INFO     [10:30:55] Finished inference for Disappointing.wav   

It stops there with no output file produced.

Whereas for 3.0.1:

svcg

13:01:26] INFO     [13:01:26] Event model_path, values {'model_path':                                                                                                         gui.py:518
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth', 'model_path_browse':                  
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth', 'config_path': '',                    
                    'config_path_browse': '', 'cluster_model_path': '', 'cluster_model_path_browse': '', 'speaker': '', 'silence_threshold': -35.0, 'transpose': 12.0,                   
                    'auto_predict_f0': False, 'f0_method': 'dio', 'cluster_infer_ratio': 0.0, 'noise_scale': 0.4, 'pad_seconds': 0.1, 'chunk_seconds': 0.5, 'absolute_thresh':           
                    True, 'input_path': '', 'input_path_browse': '', 'auto_play': True, 'crossfade_seconds': 0.05, 'block_seconds': 0.35, 'additional_infer_before_seconds':             
                    0.15, 'additional_infer_after_seconds': 0.1, 'realtime_algorithm': '1 (Divide constantly)', 'input_device': 'default (ALSA)', 'output_device': 'default              
                    (ALSA)', 'passthrough_original': False, 'presets': 'Default VC (GPU, GTX 1060)', 'preset_name': '', 'use_gpu': True}                      
.
. (more outputs)
.
           INFO     [13:01:45] HubertModel Config: {'_name': 'hubert', 'label_rate': 50.0, 'extractor_mode': default, 'encoder_layers': 12, 'encoder_embed_dim': 768,       hubert.py:250
                    'encoder_ffn_embed_dim': 3072, 'encoder_attention_heads': 12, 'activation_fn': gelu, 'layer_type': transformer, 'dropout': 0.1, 'attention_dropout':                 
                    0.1, 'activation_dropout': 0.0, 'encoder_layerdrop': 0.05, 'dropout_input': 0.1, 'dropout_features': 0.1, 'final_dim': 256, 'untie_final_proj': True,                
                    'layer_norm_first': False, 'conv_feature_layers': '[(512,10,5)] + [(512,3,2)] * 4 + [(512,2,2)] * 2', 'conv_bias': False, 'logit_temp': 0.1,                         
                    'target_glu': False, 'feature_grad_mult': 0.1, 'mask_length': 10, 'mask_prob': 0.8, 'mask_selection': static, 'mask_other': 0.0, 'no_mask_overlap':                  
                    False, 'mask_min_space': 1, 'mask_channel_length': 10, 'mask_channel_prob': 0.0, 'mask_channel_selection': static, 'mask_channel_other': 0.0,                        
                    'no_mask_channel_overlap': False, 'mask_channel_min_space': 1, 'conv_pos': 128, 'conv_pos_groups': 16, 'latent_temp': [2.0, 0.5, 0.999995],                          
                    'skip_masked': False, 'skip_nomask': False, 'checkpoint_activations': False, 'required_seq_len_multiple': 2, 'depthwise_conv_kernel_size': 31,                       
                    'attn_type': '', 'pos_enc_type': 'abs', 'fp16': False}     

like with 3.7.2 but then, it continues:

13:01:47] WARNING  [13:01:47]                                                                                                                                            warnings.py:109
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS_3_0_1/so-vits-svc-fork/src/so_vits_svc_fork/modules/synthesizers                
                    .py:81: UserWarning: Unused arguments: {'n_layers_q': 3, 'use_spectral_norm': False}                                                                                 
                      warnings.warn(f"Unused arguments: {kwargs}")                                                                                                                       
                                                                                                                                                                                         
           INFO     [13:01:47] Decoder type: hifi-gan                                                                                                                 synthesizers.py:100
           INFO     [13:01:47] Loaded checkpoint                                                                                                                             utils.py:208
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth' (iteration 109)                        
           INFO     [13:01:47] Chunk: Chunk(Speech: False, 52920.0)                                                                                                           core.py:268
           INFO     [13:01:47] Chunk: Chunk(Speech: True, 114660.0)                                                                                                           core.py:268
[13:01:49] INFO     [13:01:49] F0 inference time:       1.461s, RTF: 0.522                                                                                                      f0.py:212
           WARNING  [13:01:49]                                                                                                                                            warnings.py:109
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS_3_0_1/so-vits-svc-fork/src/so_vits_svc_fork/utils.py:154:                       
                    UserWarning: legacy_final_proj is deprecated                                                                                                                         
                      warnings.warn("legacy_final_proj is deprecated")                       
.
.
.

Until it's finished with an audio output file produced.

NOTE: I say it again: Everything is OK with 3.7.2. when using command line:
svc infer input/Disappointing.wav -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm crepe -d cuda:0 -ab -db -35

@sbersier
Copy link
Author

I add the ouput of pip list for 3.7.2:

Package                  Version
------------------------ -----------
absl-py                  1.4.0
aiofiles                 23.1.0
aiohttp                  3.8.4
aiosignal                1.3.1
altair                   4.2.2
antlr4-python3-runtime   4.8
anyio                    3.6.2
arrow                    1.2.3
async-timeout            4.0.2
attrs                    22.2.0
audioread                3.0.0
beautifulsoup4           4.12.2
bitarray                 2.7.3
blessed                  1.20.0
cachetools               5.3.0
certifi                  2022.12.7
cffi                     1.15.1
charset-normalizer       3.1.0
click                    8.1.3
cm-time                  0.1.2
cmake                    3.26.3
colorama                 0.4.6
contourpy                1.0.7
croniter                 1.3.14
cycler                   0.11.0
Cython                   0.29.34
dateutils                0.6.12
decorator                5.1.1
deepdiff                 6.3.0
entrypoints              0.4
fairseq                  0.12.2
fastapi                  0.88.0
ffmpy                    0.3.0
filelock                 3.11.0
Flask                    2.2.3
Flask-Cors               3.0.10
fonttools                4.39.3
frozenlist               1.3.3
fsspec                   2023.4.0
google-auth              2.17.3
google-auth-oauthlib     1.0.0
gradio                   3.27.0
gradio_client            0.1.3
grpcio                   1.53.0
h11                      0.14.0
httpcore                 0.17.0
httpx                    0.24.0
huggingface-hub          0.13.4
hydra-core               1.0.7
idna                     3.4
imageio                  2.27.0
inquirer                 3.1.3
itsdangerous             2.1.2
Jinja2                   3.1.2
joblib                   1.2.0
jsonschema               4.17.3
kiwisolver               1.4.4
lazy_loader              0.2
librosa                  0.9.1
lightning                2.0.1.post0
lightning-cloud          0.5.33
lightning-utilities      0.8.0
linkify-it-py            2.0.0
lit                      16.0.1
llvmlite                 0.39.1
lxml                     4.9.2
Markdown                 3.4.3
markdown-it-py           2.2.0
MarkupSafe               2.1.2
matplotlib               3.7.1
mdit-py-plugins          0.3.3
mdurl                    0.1.2
mpmath                   1.3.0
multidict                6.0.4
networkx                 3.1
numba                    0.56.4
numpy                    1.23.5
nvidia-cublas-cu11       11.10.3.66
nvidia-cuda-cupti-cu11   11.7.101
nvidia-cuda-nvrtc-cu11   11.7.99
nvidia-cuda-runtime-cu11 11.7.99
nvidia-cudnn-cu11        8.5.0.96
nvidia-cufft-cu11        10.9.0.58
nvidia-curand-cu11       10.2.10.91
nvidia-cusolver-cu11     11.4.0.1
nvidia-cusparse-cu11     11.7.4.91
nvidia-nccl-cu11         2.14.3
nvidia-nvtx-cu11         11.7.91
oauthlib                 3.2.2
omegaconf                2.0.6
onnx                     1.13.1
onnxoptimizer            0.3.10
onnxsim                  0.4.19
ordered-set              4.1.0
orjson                   3.8.10
packaging                23.1
pandas                   2.0.0
Pebble                   5.0.3
Pillow                   9.5.0
pip                      23.0.1
platformdirs             3.2.0
pooch                    1.7.0
portalocker              2.7.0
praat-parselmouth        0.4.3
protobuf                 3.20.3
psutil                   5.9.4
pyasn1                   0.4.8
pyasn1-modules           0.2.8
pycparser                2.21
pydantic                 1.10.7
pydub                    0.25.1
Pygments                 2.15.0
PyInputPlus              0.2.12
PyJWT                    2.6.0
pyparsing                3.0.9
pyrsistent               0.19.3
PySimpleGUI              4.60.4
PySimpleValidate         0.2.12
python-dateutil          2.8.2
python-editor            1.0.4
python-multipart         0.0.6
pytorch-lightning        2.0.1.post0
pytz                     2023.3
PyWavelets               1.4.1
pyworld                  0.3.2
PyYAML                   6.0
readchar                 4.0.5
regex                    2023.3.23
requests                 2.28.2
requests-oauthlib        1.3.1
resampy                  0.4.2
rich                     13.3.4
rsa                      4.9
sacrebleu                2.3.1
scikit-image             0.20.0
scikit-learn             1.2.2
scikit-maad              1.3.12
scipy                    1.10.1
semantic-version         2.10.0
setuptools               67.6.1
six                      1.16.0
sniffio                  1.3.0
so-vits-svc-fork         3.7.2
sounddevice              0.4.6
soundfile                0.12.1
soupsieve                2.4
starlette                0.22.0
starsessions             1.3.0
stdiomask                0.0.6
sympy                    1.11.1
tabulate                 0.9.0
tensorboard              2.12.2
tensorboard-data-server  0.7.0
tensorboard-plugin-wit   1.8.1
tensorboardX             2.6
threadpoolctl            3.1.0
tifffile                 2023.4.12
toolz                    0.12.0
torch                    2.0.0
torchaudio               2.0.1
torchcrepe               0.0.18
torchmetrics             0.11.4
tqdm                     4.65.0
tqdm-joblib              0.0.3
traitlets                5.9.0
triton                   2.0.0
typing_extensions        4.5.0
tzdata                   2023.3
uc-micro-py              1.0.1
urllib3                  1.26.15
uvicorn                  0.21.1
wcwidth                  0.2.6
websocket-client         1.5.1
websockets               11.0.1
Werkzeug                 2.2.3
wheel                    0.40.0
yarl                     1.8.2

@heroinsoul
Copy link

I'm having the exact same problem, I just can't work it out. would you mind telling me how to downgrade this program to see if 6.0.1 works like you say because I'm completely stuck.

@34j
Copy link
Collaborator

34j commented Apr 15, 2023

I am not ignoring it, but it is strange that it does not work even though it should be calling the same function with the same arguments, and I cannot solve it nor reproduce it in a Windows environment. No need to repeat the reinstallation any further, but if you have the time, I would like you to debug the internal code.

I'm having the exact same problem, I just can't work it out. would you mind telling me how to downgrade this program to see if 6.0.1 works like you say because I'm completely stuck.

If it doesn't work, install a previous version with pip. (==3.0)

@sbersier
Copy link
Author

sbersier commented Apr 15, 2023

@34j : Could you post here, the result of pip list in your venv? Just to see if there is something obvious.

@34j
Copy link
Collaborator

34j commented Apr 15, 2023

On second thought, it is most likely related to Pebble. I assume that vc never worked in your environment

@34j
Copy link
Collaborator

34j commented Apr 15, 2023

Merged #341 to show the error, please upgrade and try again

@sbersier
Copy link
Author

sbersier commented Apr 15, 2023

After upgrading to 3.7.3:
It still doesn't work but, at least, there are error messages.
The complete terminal output:

svcg 
[15:42:29] INFO     [15:42:29] Event model_path, values {'model_path':                                                                                            gui.py:524
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth',                          
                    'model_path_browse':                                                                                                                                    
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth', 'config_path':           
                    '', 'config_path_browse': '', 'cluster_model_path': '', 'cluster_model_path_browse': '', 'speaker': '', 'silence_threshold': -35.0,                     
                    'transpose': 12.0, 'auto_predict_f0': False, 'f0_method': 'dio', 'cluster_infer_ratio': 0.0, 'noise_scale': 0.4, 'pad_seconds': 0.1,                    
                    'chunk_seconds': 0.5, 'absolute_thresh': True, 'input_path': '', 'input_path_browse': '', 'auto_play': True, 'crossfade_seconds': 0.05,                 
                    'block_seconds': 0.35, 'additional_infer_before_seconds': 0.15, 'additional_infer_after_seconds': 0.1, 'realtime_algorithm': '1 (Divide                 
                    constantly)', 'input_device': 'default (ALSA)', 'output_device': 'default (ALSA)', 'passthrough_original': False, 'presets': 'Default VC                
                    (GPU, GTX 1060)', 'preset_name': '', 'use_gpu': True}                                                                                                   
           INFO     [15:42:29] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c89150> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
           INFO     [15:42:29] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c892d0> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
           INFO     [15:42:29] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c89450> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
           INFO     [15:42:29] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c89ff0> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
[15:42:33] INFO     [15:42:33] Event config_path, values {'model_path':                                                                                           gui.py:524
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth',                          
                    'model_path_browse':                                                                                                                                    
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth', 'config_path':           
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/config_Sonia.json',                           
                    'config_path_browse':                                                                                                                                   
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/config_Sonia.json',                           
                    'cluster_model_path': '', 'cluster_model_path_browse': '', 'speaker': '', 'silence_threshold': -35.0, 'transpose': 12.0, 'auto_predict_f0':             
                    False, 'f0_method': 'dio', 'cluster_infer_ratio': 0.0, 'noise_scale': 0.4, 'pad_seconds': 0.1, 'chunk_seconds': 0.5, 'absolute_thresh': True,           
                    'input_path': '', 'input_path_browse': '', 'auto_play': True, 'crossfade_seconds': 0.05, 'block_seconds': 0.35,                                         
                    'additional_infer_before_seconds': 0.15, 'additional_infer_after_seconds': 0.1, 'realtime_algorithm': '1 (Divide constantly)',                          
                    'input_device': 'default (ALSA)', 'output_device': 'default (ALSA)', 'passthrough_original': False, 'presets': 'Default VC (GPU, GTX 1060)',            
                    'preset_name': '', 'use_gpu': True}                                                                                                                     
           INFO     [15:42:33] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c89150> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
           INFO     [15:42:33] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c892d0> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
           INFO     [15:42:33] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c89450> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
           INFO     [15:42:33] Updating browser <PySimpleGUI.PySimpleGUI.Button object at 0x7f6198c89ff0> to                                                      gui.py:530
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices                                                
[15:42:52] INFO     [15:42:52] Event infer, values {'model_path':                                                                                                 gui.py:524
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth',                          
                    'model_path_browse':                                                                                                                                    
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/G_105600_Sonia.pth', 'config_path':           
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/config_Sonia.json',                           
                    'config_path_browse':                                                                                                                                   
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/voices/config_Sonia.json',                           
                    'cluster_model_path': '', 'cluster_model_path_browse': '', 'speaker': 'Sonia', 'silence_threshold': -35.0, 'transpose': 12.0,                           
                    'auto_predict_f0': True, 'f0_method': 'crepe', 'cluster_infer_ratio': 0.0, 'noise_scale': 0.4, 'pad_seconds': 0.1, 'chunk_seconds': 0.5,                
                    'absolute_thresh': True, 'input_path':                                                                                                                  
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/input/Disappointing.wav',                            
                    'input_path_browse':                                                                                                                                    
                    '/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/input/Disappointing.wav', 'auto_play':               
                    False, 'crossfade_seconds': 0.05, 'block_seconds': 0.35, 'additional_infer_before_seconds': 0.15, 'additional_infer_after_seconds': 0.1,                
                    'realtime_algorithm': '1 (Divide constantly)', 'input_device': 'default (ALSA)', 'output_device': 'default (ALSA)', 'passthrough_original':             
                    False, 'presets': 'Default VC (GPU, GTX 1060)', 'preset_name': '', 'use_gpu': True}                                                                     
           INFO     [15:42:52] Starting inference...                                                                                                              gui.py:568
           INFO     [15:42:52] current directory is                                                                                                hubert_pretraining.py:116
                    /media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal                                                       
           INFO     [15:42:52] HubertPretrainingTask Config {'_name': 'hubert_pretraining', 'data': 'metadata', 'fine_tuning': False, 'labels':    hubert_pretraining.py:117
                    ['km'], 'label_dir': 'label', 'label_rate': 50.0, 'sample_rate': 16000, 'normalize': False, 'enable_padding': False,                                    
                    'max_keep_size': None, 'max_sample_size': 250000, 'min_sample_size': 32000, 'single_target': False, 'random_crop': True,                                
                    'pad_audio': False}                                                                                                                                     
           INFO     [15:42:52] HubertModel Config: {'_name': 'hubert', 'label_rate': 50.0, 'extractor_mode': default, 'encoder_layers': 12,                    hubert.py:250
                    'encoder_embed_dim': 768, 'encoder_ffn_embed_dim': 3072, 'encoder_attention_heads': 12, 'activation_fn': gelu, 'layer_type': transformer,               
                    'dropout': 0.1, 'attention_dropout': 0.1, 'activation_dropout': 0.0, 'encoder_layerdrop': 0.05, 'dropout_input': 0.1, 'dropout_features':               
                    0.1, 'final_dim': 256, 'untie_final_proj': True, 'layer_norm_first': False, 'conv_feature_layers': '[(512,10,5)] + [(512,3,2)] * 4 +                    
                    [(512,2,2)] * 2', 'conv_bias': False, 'logit_temp': 0.1, 'target_glu': False, 'feature_grad_mult': 0.1, 'mask_length': 10, 'mask_prob':                 
                    0.8, 'mask_selection': static, 'mask_other': 0.0, 'no_mask_overlap': False, 'mask_min_space': 1, 'mask_channel_length': 10,                             
                    'mask_channel_prob': 0.0, 'mask_channel_selection': static, 'mask_channel_other': 0.0, 'no_mask_channel_overlap': False,                                
                    'mask_channel_min_space': 1, 'conv_pos': 128, 'conv_pos_groups': 16, 'latent_temp': [2.0, 0.5, 0.999995], 'skip_masked': False,                         
                    'skip_nomask': False, 'checkpoint_activations': False, 'required_seq_len_multiple': 2, 'depthwise_conv_kernel_size': 31, 'attn_type': '',               
                    'pos_enc_type': 'abs', 'fp16': False}                                                                                                                   
[15:42:53] INFO     [15:42:53] Finished inference for Disappointing.wav                                                                                            gui.py:89
           ERROR    [15:42:53] Error in realtime:                                                                                                                 gui.py:676
           ERROR    [15:42:53] Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method            gui.py:680
                    pebble.common.RemoteTraceback: Traceback (most recent call last):                                                                                       
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/pebble/common.py", line 174, in process_execute                                                                                                    
                        return function(*args, **kwargs)                                                                                                                    
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/inference/main.py", line 46, in infer                                                                                             
                        svc_model = Svc(                                                                                                                                    
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/inference/core.py", line 109, in __init__                                                                                         
                        self.hubert_model = utils.get_hubert_model(self.device)                                                                                             
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/utils.py", line 141, in get_hubert_model                                                                                          
                        return model.eval().to(device)                                                                                                                      
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 1145, in to                                                                                                      
                        return self._apply(convert)                                                                                                                         
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      [Previous line repeated 1 more time]                                                                                                                  
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 820, in _apply                                                                                                   
                        param_applied = fn(param)                                                                                                                           
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 1143, in convert                                                                                                 
                        return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)                                                       
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/cuda/__init__.py", line 235, in _lazy_init                                                                                                   
                        raise RuntimeError(                                                                                                                                 
                    RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method                   
                                                                                                                                                                            
                                                                                                                                                                            
                    The above exception was the direct cause of the following exception:                                                                                    
                                                                                                                                                                            
                    Traceback (most recent call last):                                                                                                                      
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/gui.py", line 678, in main                                                                                                        
                        future.result()                                                                                                                                     
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result                                                                           
                        return self.__get_result()                                                                                                                          
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result                                                                     
                        raise self._exception                                                                                                                               
                    RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method                   
           ERROR    [15:42:53] Error in inference:                                                                                                                gui.py:684
           ERROR    [15:42:53] Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method            gui.py:688
                    pebble.common.RemoteTraceback: Traceback (most recent call last):                                                                                       
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/pebble/common.py", line 174, in process_execute                                                                                                    
                        return function(*args, **kwargs)                                                                                                                    
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/inference/main.py", line 46, in infer                                                                                             
                        svc_model = Svc(                                                                                                                                    
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/inference/core.py", line 109, in __init__                                                                                         
                        self.hubert_model = utils.get_hubert_model(self.device)                                                                                             
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/utils.py", line 141, in get_hubert_model                                                                                          
                        return model.eval().to(device)                                                                                                                      
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 1145, in to                                                                                                      
                        return self._apply(convert)                                                                                                                         
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      [Previous line repeated 1 more time]                                                                                                                  
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 820, in _apply                                                                                                   
                        param_applied = fn(param)                                                                                                                           
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 1143, in convert                                                                                                 
                        return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)                                                       
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/cuda/__init__.py", line 235, in _lazy_init                                                                                                   
                        raise RuntimeError(                                                                                                                                 
                    RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method                   
                                                                                                                                                                            
                                                                                                                                                                            
                    The above exception was the direct cause of the following exception:                                                                                    
                                                                                                                                                                            
                    Traceback (most recent call last):                                                                                                                      
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/gui.py", line 686, in main                                                                                                        
                        future.result()                                                                                                                                     
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result                                                                           
                        return self.__get_result()                                                                                                                          
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result                                                                     
                        raise self._exception                                                                                                                               
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/gui.py", line 678, in main                                                                                                        
                        future.result()                                                                                                                                     
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result                                                                           
                        return self.__get_result()                                                                                                                          
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result                                                                     
                        raise self._exception                                                                                                                               
                    RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method                   
[15:42:54] ERROR    [15:42:54] Error in realtime:                                                                                                                 gui.py:676
           ERROR    [15:42:54] Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method            gui.py:680
                    pebble.common.RemoteTraceback: Traceback (most recent call last):                                                                                       
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/pebble/common.py", line 174, in process_execute                                                                                                    
                        return function(*args, **kwargs)                                                                                                                    
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/inference/main.py", line 46, in infer                                                                                             
                        svc_model = Svc(                                                                                                                                    
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/inference/core.py", line 109, in __init__                                                                                         
                        self.hubert_model = utils.get_hubert_model(self.device)                                                                                             
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/utils.py", line 141, in get_hubert_model                                                                                          
                        return model.eval().to(device)                                                                                                                      
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 1145, in to                                                                                                      
                        return self._apply(convert)                                                                                                                         
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 797, in _apply                                                                                                   
                        module._apply(fn)                                                                                                                                   
                      [Previous line repeated 1 more time]                                                                                                                  
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 820, in _apply                                                                                                   
                        param_applied = fn(param)                                                                                                                           
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/nn/modules/module.py", line 1143, in convert                                                                                                 
                        return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)                                                       
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/torch/cuda/__init__.py", line 235, in _lazy_init                                                                                                   
                        raise RuntimeError(                                                                                                                                 
                    RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method                   
                                                                                                                                                                            
                                                                                                                                                                            
                    The above exception was the direct cause of the following exception:                                                                                    
                                                                                                                                                                            
                    Traceback (most recent call last):                                                                                                                      
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/gui.py", line 678, in main                                                                                                        
                        future.result()                                                                                                                                     
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result                                                                           
                        return self.__get_result()                                                                                                                          
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result                                                                     
                        raise self._exception                                                                                                                               
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/gui.py", line 686, in main                                                                                                        
                        future.result()                                                                                                                                     
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result                                                                           
                        return self.__get_result()                                                                                                                          
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result                                                                     
                        raise self._exception                                                                                                                               
                      File                                                                                                                                                  
                    "/media/steph/417d421a-664e-4d33-9de2-72375ee18508/home/steph/AUDIO_PROCESSING/SOVITS-3.7.2-normal/venv_3.7.2-normal/lib/python3.10/site-pack           
                    ages/so_vits_svc_fork/gui.py", line 678, in main                                                                                                        
                        future.result()                                                                                                                                     
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result                                                                           
                        return self.__get_result()                                                                                                                          
                      File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result                                                                     
                        raise self._exception                                                                                                                               
                    RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method          

@sbersier
Copy link
Author

NOTE: Since I'm not interested at all in realtime vc, I never tested it. So it might well be that it already didn't work in previous versions....

@34j
Copy link
Collaborator

34j commented Apr 15, 2023

Migrate to #233

@34j 34j closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2023
@sbersier
Copy link
Author

sbersier commented Apr 15, 2023

So... I tried realtime vc and it works! Both for 3.0.1 and 3.7.3
svc vc -m voices/G_105600_Sonia.pth -c voices/config_Sonia.json -a -fm crepe -d cuda:0
It works (with a huge delay ~1 sec but it works.)
Again... from the command line only.

@sbersier
Copy link
Author

sbersier commented Apr 15, 2023

So, to make the story short: Everything is OK as long I don't use the GUI. Which is not a big deal for me. Command line is perfectly fine.

@voicepaw voicepaw locked and limited conversation to collaborators Apr 15, 2023
@34j
Copy link
Collaborator

34j commented Apr 20, 2023

@allcontributors add sbersier bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants