RVC-Project / Retrieval-based-Voice-Conversion-WebUI

Easily train a good VC model with voice data <= 10 mins!
MIT License
23.96k stars 3.55k forks source link

How to run the realtime WebUI on m1 mac? #1623

Closed lennondong closed 5 months ago

lennondong commented 10 months ago

According the introduction, sh ./run.sh on the Terminal app,just open the trainning WebUI. However How to open the realtime weibui on mac?I didn't find the way.

Finally, I got the way to run the webui.

python3 gui_v0.py

A new error appeared as followed.

"Torch not compiled with CUDA enabled

lennondong commented 10 months ago

I've tried different versions including RVC-beta-V2-0528、RVC-beta-V2-0618. They both didn't work well.

Tps-F commented 10 months ago

I'll fix

lennondong commented 10 months ago

I'll fix

Thank you for reply.

lennondong commented 10 months ago

I'll fix

`Mac-mini:RVC-beta0717 donny$ python3 gui_v0.py No supported Nvidia GPU found, use MPS instead INFO:faiss.loader:Loading faiss. INFO:faiss.loader:Successfully loaded faiss. DEBUG:torchaudio._extension:Failed to initialize ffmpeg bindings Traceback (most recent call last): File "/opt/homebrew/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 85, in _init_ffmpeg _load_lib("libtorchaudio_ffmpeg") File "/opt/homebrew/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 61, in _load_lib torch.ops.load_library(path) File "/opt/homebrew/lib/python3.11/site-packages/torch/_ops.py", line 643, in load_library ctypes.CDLL(path) File "/opt/homebrew/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ctypes/init.py", line 376, in init self._handle = _dlopen(self._name, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: dlopen(/opt/homebrew/lib/python3.11/site-packages/torchaudio/lib/libtorchaudio_ffmpeg.so, 0x0006): Library not loaded: @rpath/libavdevice.58.dylib Referenced from: <00D3B28A-9088-32CE-B641-F43D64502379> /opt/homebrew/lib/python3.11/site-packages/torchaudio/lib/libtorchaudio_ffmpeg.so Reason: tried: '/opt/homebrew/lib/libavdevice.58.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libavdevice.58.dylib' (no such file), '/usr/local/lib/libavdevice.58.dylib' (no such file), '/usr/lib/libavdevice.58.dylib' (no such file, not in dyld cache)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/opt/homebrew/lib/python3.11/site-packages/torchaudio/_extension/init.py", line 67, in _init_ffmpeg() File "/opt/homebrew/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 87, in _init_ffmpeg raise ImportError("FFmpeg libraries are not found. Please install FFmpeg.") from err ImportError: FFmpeg libraries are not found. Please install FFmpeg. input device:12:Steinberg UR22C (Core Audio) output device:2:Bose USB Audio (Core Audio) using_cuda:False load model(s) from /Volumes/ZhiTai/AI/RVC-beta0717/hubert_base.pt INFO:fairseq.tasks.hubert_pretraining:current directory is /Volumes/ZhiTai/AI/RVC-beta0717 INFO:fairseq.tasks.hubert_pretraining:HubertPretrainingTask Config {'_name': 'hubert_pretraining', 'data': 'metadata', 'fine_tuning': False, 'labels': ['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:fairseq.models.hubert.hubert:HubertModel Config: {'_name': 'hubert', 'label_rate': 50.0, 'extractor_mode': default, 'encoder_layers': 12, '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} gin_channels: 256 self.spk_embed_dim: 109

Audio block passed. DEBUG:numba.core.byteflow:bytecode dump: > 0 NOP(arg=None, lineno=1039) 2 RESUME(arg=0, lineno=1039) 4 LOAD_FAST(arg=0, lineno=1042) 6 LOAD_CONST(arg=1, lineno=1042) 8 BINARY_SUBSCR(arg=None, lineno=1042) 18 LOAD_FAST(arg=0, lineno=1042) 20 LOAD_CONST(arg=2, lineno=1042) 22 BINARY_SUBSCR(arg=None, lineno=1042) 32 COMPARE_OP(arg=4, lineno=1042) 38 LOAD_FAST(arg=0, lineno=1042) 40 LOAD_CONST(arg=1, lineno=1042) 42 BINARY_SUBSCR(arg=None, lineno=1042) 52 LOAD_FAST(arg=0, lineno=1042) 54 LOAD_CONST(arg=3, lineno=1042) 56 BINARY_SUBSCR(arg=None, lineno=1042) 66 COMPARE_OP(arg=5, lineno=1042) 72 BINARY_OP(arg=1, lineno=1042) 76 RETURN_VALUE(arg=None, lineno=1042) DEBUG:numba.core.byteflow:pending: deque([State(pc_initial=0 nstack_initial=0)]) DEBUG:numba.core.byteflow:stack: [] DEBUG:numba.core.byteflow:state.pc_initial: State(pc_initial=0 nstack_initial=0) DEBUG:numba.core.byteflow:dispatch pc=0, inst=NOP(arg=None, lineno=1039) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=2, inst=RESUME(arg=0, lineno=1039) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=4, inst=LOAD_FAST(arg=0, lineno=1042) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=6, inst=LOAD_CONST(arg=1, lineno=1042) DEBUG:numba.core.byteflow:stack ['$x4.0'] DEBUG:numba.core.byteflow:dispatch pc=8, inst=BINARY_SUBSCR(arg=None, lineno=1042) DEBUG:numba.core.byteflow:stack ['$x4.0', '$const6.1'] DEBUG:numba.core.byteflow:dispatch pc=18, inst=LOAD_FAST(arg=0, lineno=1042) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2'] DEBUG:numba.core.byteflow:dispatch pc=20, inst=LOAD_CONST(arg=2, lineno=1042) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$x18.3'] DEBUG:numba.core.byteflow:dispatch pc=22, inst=BINARY_SUBSCR(arg=None, lineno=1042) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$x18.3', '$const20.4'] DEBUG:numba.core.byteflow:dispatch pc=32, inst=COMPARE_OP(arg=4, lineno=1042) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$22binary_subscr.5'] DEBUG:numba.core.byteflow:dispatch pc=38, inst=LOAD_FAST(arg=0, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6'] DEBUG:numba.core.byteflow:dispatch pc=40, inst=LOAD_CONST(arg=1, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$x38.7'] DEBUG:numba.core.byteflow:dispatch pc=42, inst=BINARY_SUBSCR(arg=None, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$x38.7', '$const40.8'] DEBUG:numba.core.byteflow:dispatch pc=52, inst=LOAD_FAST(arg=0, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9'] DEBUG:numba.core.byteflow:dispatch pc=54, inst=LOAD_CONST(arg=3, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9', '$x52.10'] DEBUG:numba.core.byteflow:dispatch pc=56, inst=BINARY_SUBSCR(arg=None, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9', '$x52.10', '$const54.11'] DEBUG:numba.core.byteflow:dispatch pc=66, inst=COMPARE_OP(arg=5, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9', '$56binary_subscr.12'] DEBUG:numba.core.byteflow:dispatch pc=72, inst=BINARY_OP(arg=1, lineno=1042) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$66compare_op.13'] DEBUG:numba.core.byteflow:dispatch pc=76, inst=RETURN_VALUE(arg=None, lineno=1042) DEBUG:numba.core.byteflow:stack ['$binop_and_72.14'] DEBUG:numba.core.byteflow:end state. edges=[] DEBUG:numba.core.byteflow:-------------------------Prune PHIs------------------------- DEBUG:numba.core.byteflow:Used_phis: defaultdict(, {State(pc_initial=0 nstack_initial=0): set()}) DEBUG:numba.core.byteflow:defmap: {} DEBUG:numba.core.byteflow:phismap: defaultdict(, {}) DEBUG:numba.core.byteflow:changing phismap: defaultdict(, {}) DEBUG:numba.core.byteflow:keep phismap: {} DEBUG:numba.core.byteflow:new_out: defaultdict(, {}) DEBUG:numba.core.byteflow:----------------------DONE Prune PHIs----------------------- DEBUG:numba.core.byteflow:block_infos State(pc_initial=0 nstack_initial=0): AdaptBlockInfo(insts=((0, {}), (2, {}), (4, {'res': '$x4.0'}), (6, {'res': '$const6.1'}), (8, {'index': '$const6.1', 'target': '$x4.0', 'res': '$8binary_subscr.2'}), (10, {}), (12, {}), (14, {}), (16, {}), (18, {'res': '$x18.3'}), (20, {'res': '$const20.4'}), (22, {'index': '$const20.4', 'target': '$x18.3', 'res': '$22binary_subscr.5'}), (24, {}), (26, {}), (28, {}), (30, {}), (32, {'lhs': '$8binary_subscr.2', 'rhs': '$22binary_subscr.5', 'res': '$32compare_op.6'}), (34, {}), (36, {}), (38, {'res': '$x38.7'}), (40, {'res': '$const40.8'}), (42, {'index': '$const40.8', 'target': '$x38.7', 'res': '$42binary_subscr.9'}), (44, {}), (46, {}), (48, {}), (50, {}), (52, {'res': '$x52.10'}), (54, {'res': '$const54.11'}), (56, {'index': '$const54.11', 'target': '$x52.10', 'res': '$56binary_subscr.12'}), (58, {}), (60, {}), (62, {}), (64, {}), (66, {'lhs': '$42binary_subscr.9', 'rhs': '$56binary_subscr.12', 'res': '$66compare_op.13'}), (68, {}), (70, {}), (72, {'op': '&', 'lhs': '$32compare_op.6', 'rhs': '$66compare_op.13', 'res': '$binop_and_72.14'}), (74, {}), (76, {'retval': '$binop_and_72.14', 'castval': '$76return_value.15'})), outgoing_phis={}, blockstack=(), active_try_block=None, outgoing_edgepushed={}) DEBUG:numba.core.interpreter:label 0: x = arg(0, name=x) ['x'] $const6.1 = const(int, 0) ['$const6.1'] $8binary_subscr.2 = getitem(value=x, index=$const6.1, fn=) ['$8binary_subscr.2', '$const6.1', 'x'] $const20.4 = const(int, -1) ['$const20.4'] $22binary_subscr.5 = getitem(value=x, index=$const20.4, fn=) ['$22binary_subscr.5', '$const20.4', 'x'] $32compare_op.6 = $8binary_subscr.2 > $22binary_subscr.5 ['$22binary_subscr.5', '$32compare_op.6', '$8binary_subscr.2'] $const40.8 = const(int, 0) ['$const40.8'] $42binary_subscr.9 = getitem(value=x, index=$const40.8, fn=) ['$42binary_subscr.9', '$const40.8', 'x'] $const54.11 = const(int, 1) ['$const54.11'] $56binary_subscr.12 = getitem(value=x, index=$const54.11, fn=) ['$56binary_subscr.12', '$const54.11', 'x'] $66compare_op.13 = $42binary_subscr.9 >= $56binary_subscr.12 ['$42binary_subscr.9', '$56binary_subscr.12', '$66compare_op.13'] $binop_and_72.14 = $32compare_op.6 & $66compare_op.13 ['$32compare_op.6', '$66compare_op.13', '$binop_and_72.14'] $76return_value.15 = cast(value=$binop_and_72.14) ['$76return_value.15', '$binop_and_72.14'] return $76return_value.15 ['$76return_value.15'] DEBUG:numba.core.byteflow:bytecode dump: > 0 NOP(arg=None, lineno=1045) 2 RESUME(arg=0, lineno=1045) 4 LOAD_FAST(arg=0, lineno=1048) 6 LOAD_CONST(arg=1, lineno=1048) 8 BINARY_SUBSCR(arg=None, lineno=1048) 18 LOAD_FAST(arg=0, lineno=1048) 20 LOAD_CONST(arg=2, lineno=1048) 22 BINARY_SUBSCR(arg=None, lineno=1048) 32 COMPARE_OP(arg=0, lineno=1048) 38 LOAD_FAST(arg=0, lineno=1048) 40 LOAD_CONST(arg=1, lineno=1048) 42 BINARY_SUBSCR(arg=None, lineno=1048) 52 LOAD_FAST(arg=0, lineno=1048) 54 LOAD_CONST(arg=3, lineno=1048) 56 BINARY_SUBSCR(arg=None, lineno=1048) 66 COMPARE_OP(arg=1, lineno=1048) 72 BINARY_OP(arg=1, lineno=1048) 76 RETURN_VALUE(arg=None, lineno=1048) DEBUG:numba.core.byteflow:pending: deque([State(pc_initial=0 nstack_initial=0)]) DEBUG:numba.core.byteflow:stack: [] DEBUG:numba.core.byteflow:state.pc_initial: State(pc_initial=0 nstack_initial=0) DEBUG:numba.core.byteflow:dispatch pc=0, inst=NOP(arg=None, lineno=1045) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=2, inst=RESUME(arg=0, lineno=1045) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=4, inst=LOAD_FAST(arg=0, lineno=1048) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=6, inst=LOAD_CONST(arg=1, lineno=1048) DEBUG:numba.core.byteflow:stack ['$x4.0'] DEBUG:numba.core.byteflow:dispatch pc=8, inst=BINARY_SUBSCR(arg=None, lineno=1048) DEBUG:numba.core.byteflow:stack ['$x4.0', '$const6.1'] DEBUG:numba.core.byteflow:dispatch pc=18, inst=LOAD_FAST(arg=0, lineno=1048) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2'] DEBUG:numba.core.byteflow:dispatch pc=20, inst=LOAD_CONST(arg=2, lineno=1048) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$x18.3'] DEBUG:numba.core.byteflow:dispatch pc=22, inst=BINARY_SUBSCR(arg=None, lineno=1048) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$x18.3', '$const20.4'] DEBUG:numba.core.byteflow:dispatch pc=32, inst=COMPARE_OP(arg=0, lineno=1048) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$22binary_subscr.5'] DEBUG:numba.core.byteflow:dispatch pc=38, inst=LOAD_FAST(arg=0, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6'] DEBUG:numba.core.byteflow:dispatch pc=40, inst=LOAD_CONST(arg=1, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$x38.7'] DEBUG:numba.core.byteflow:dispatch pc=42, inst=BINARY_SUBSCR(arg=None, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$x38.7', '$const40.8'] DEBUG:numba.core.byteflow:dispatch pc=52, inst=LOAD_FAST(arg=0, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9'] DEBUG:numba.core.byteflow:dispatch pc=54, inst=LOAD_CONST(arg=3, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9', '$x52.10'] DEBUG:numba.core.byteflow:dispatch pc=56, inst=BINARY_SUBSCR(arg=None, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9', '$x52.10', '$const54.11'] DEBUG:numba.core.byteflow:dispatch pc=66, inst=COMPARE_OP(arg=1, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$42binary_subscr.9', '$56binary_subscr.12'] DEBUG:numba.core.byteflow:dispatch pc=72, inst=BINARY_OP(arg=1, lineno=1048) DEBUG:numba.core.byteflow:stack ['$32compare_op.6', '$66compare_op.13'] DEBUG:numba.core.byteflow:dispatch pc=76, inst=RETURN_VALUE(arg=None, lineno=1048) DEBUG:numba.core.byteflow:stack ['$binop_and_72.14'] DEBUG:numba.core.byteflow:end state. edges=[] DEBUG:numba.core.byteflow:-------------------------Prune PHIs------------------------- DEBUG:numba.core.byteflow:Used_phis: defaultdict(, {State(pc_initial=0 nstack_initial=0): set()}) DEBUG:numba.core.byteflow:defmap: {} DEBUG:numba.core.byteflow:phismap: defaultdict(, {}) DEBUG:numba.core.byteflow:changing phismap: defaultdict(, {}) DEBUG:numba.core.byteflow:keep phismap: {} DEBUG:numba.core.byteflow:new_out: defaultdict(, {}) DEBUG:numba.core.byteflow:----------------------DONE Prune PHIs----------------------- DEBUG:numba.core.byteflow:block_infos State(pc_initial=0 nstack_initial=0): AdaptBlockInfo(insts=((0, {}), (2, {}), (4, {'res': '$x4.0'}), (6, {'res': '$const6.1'}), (8, {'index': '$const6.1', 'target': '$x4.0', 'res': '$8binary_subscr.2'}), (10, {}), (12, {}), (14, {}), (16, {}), (18, {'res': '$x18.3'}), (20, {'res': '$const20.4'}), (22, {'index': '$const20.4', 'target': '$x18.3', 'res': '$22binary_subscr.5'}), (24, {}), (26, {}), (28, {}), (30, {}), (32, {'lhs': '$8binary_subscr.2', 'rhs': '$22binary_subscr.5', 'res': '$32compare_op.6'}), (34, {}), (36, {}), (38, {'res': '$x38.7'}), (40, {'res': '$const40.8'}), (42, {'index': '$const40.8', 'target': '$x38.7', 'res': '$42binary_subscr.9'}), (44, {}), (46, {}), (48, {}), (50, {}), (52, {'res': '$x52.10'}), (54, {'res': '$const54.11'}), (56, {'index': '$const54.11', 'target': '$x52.10', 'res': '$56binary_subscr.12'}), (58, {}), (60, {}), (62, {}), (64, {}), (66, {'lhs': '$42binary_subscr.9', 'rhs': '$56binary_subscr.12', 'res': '$66compare_op.13'}), (68, {}), (70, {}), (72, {'op': '&', 'lhs': '$32compare_op.6', 'rhs': '$66compare_op.13', 'res': '$binop_and_72.14'}), (74, {}), (76, {'retval': '$binop_and_72.14', 'castval': '$76return_value.15'})), outgoing_phis={}, blockstack=(), active_try_block=None, outgoing_edgepushed={}) DEBUG:numba.core.interpreter:label 0: x = arg(0, name=x) ['x'] $const6.1 = const(int, 0) ['$const6.1'] $8binary_subscr.2 = getitem(value=x, index=$const6.1, fn=) ['$8binary_subscr.2', '$const6.1', 'x'] $const20.4 = const(int, -1) ['$const20.4'] $22binary_subscr.5 = getitem(value=x, index=$const20.4, fn=) ['$22binary_subscr.5', '$const20.4', 'x'] $32compare_op.6 = $8binary_subscr.2 < $22binary_subscr.5 ['$22binary_subscr.5', '$32compare_op.6', '$8binary_subscr.2'] $const40.8 = const(int, 0) ['$const40.8'] $42binary_subscr.9 = getitem(value=x, index=$const40.8, fn=) ['$42binary_subscr.9', '$const40.8', 'x'] $const54.11 = const(int, 1) ['$const54.11'] $56binary_subscr.12 = getitem(value=x, index=$const54.11, fn=) ['$56binary_subscr.12', '$const54.11', 'x'] $66compare_op.13 = $42binary_subscr.9 <= $56binary_subscr.12 ['$42binary_subscr.9', '$56binary_subscr.12', '$66compare_op.13'] $binop_and_72.14 = $32compare_op.6 & $66compare_op.13 ['$32compare_op.6', '$66compare_op.13', '$binop_and_72.14'] $76return_value.15 = cast(value=$binop_and_72.14) ['$76return_value.15', '$binop_and_72.14'] return $76return_value.15 ['$76return_value.15'] Audio block passed. DEBUG:numba.core.byteflow:bytecode dump: > 0 NOP(arg=None, lineno=425) 2 RESUME(arg=0, lineno=425) 4 LOAD_FAST(arg=0, lineno=428) 6 LOAD_CONST(arg=1, lineno=428) 8 BINARY_SUBSCR(arg=None, lineno=428) 18 LOAD_FAST(arg=0, lineno=428) 20 LOAD_CONST(arg=2, lineno=428) 22 BINARY_SUBSCR(arg=None, lineno=428) 32 BINARY_OP(arg=0, lineno=428) 36 LOAD_CONST(arg=3, lineno=428) 38 LOAD_FAST(arg=0, lineno=428) 40 LOAD_CONST(arg=4, lineno=428) 42 BINARY_SUBSCR(arg=None, lineno=428) 52 BINARY_OP(arg=5, lineno=428) 56 BINARY_OP(arg=10, lineno=428) 60 STORE_FAST(arg=1, lineno=428) 62 LOAD_FAST(arg=0, lineno=429) 64 LOAD_CONST(arg=1, lineno=429) 66 BINARY_SUBSCR(arg=None, lineno=429) 76 LOAD_FAST(arg=0, lineno=429) 78 LOAD_CONST(arg=2, lineno=429) 80 BINARY_SUBSCR(arg=None, lineno=429) 90 BINARY_OP(arg=10, lineno=429) 94 LOAD_CONST(arg=3, lineno=429) 96 BINARY_OP(arg=11, lineno=429) 100 STORE_FAST(arg=2, lineno=429) 102 LOAD_GLOBAL(arg=1, lineno=431) 114 LOAD_ATTR(arg=1, lineno=431) 124 LOAD_FAST(arg=2, lineno=431) 126 PRECALL(arg=1, lineno=431) 130 CALL(arg=1, lineno=431) 140 LOAD_GLOBAL(arg=1, lineno=431) 152 LOAD_ATTR(arg=1, lineno=431) 162 LOAD_FAST(arg=1, lineno=431) 164 PRECALL(arg=1, lineno=431) 168 CALL(arg=1, lineno=431) 178 COMPARE_OP(arg=5, lineno=431) 184 POP_JUMP_FORWARD_IF_FALSE(arg=2, lineno=431) 186 LOAD_CONST(arg=4, lineno=434) 188 RETURN_VALUE(arg=None, lineno=434) > 190 LOAD_FAST(arg=2, lineno=436) 192 UNARY_NEGATIVE(arg=None, lineno=436) 194 LOAD_FAST(arg=1, lineno=436) 196 BINARY_OP(arg=11, lineno=436) 200 RETURN_VALUE(arg=None, lineno=436) DEBUG:numba.core.byteflow:pending: deque([State(pc_initial=0 nstack_initial=0)]) DEBUG:numba.core.byteflow:stack: [] DEBUG:numba.core.byteflow:state.pc_initial: State(pc_initial=0 nstack_initial=0) DEBUG:numba.core.byteflow:dispatch pc=0, inst=NOP(arg=None, lineno=425) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=2, inst=RESUME(arg=0, lineno=425) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=4, inst=LOAD_FAST(arg=0, lineno=428) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=6, inst=LOAD_CONST(arg=1, lineno=428) DEBUG:numba.core.byteflow:stack ['$x4.0'] DEBUG:numba.core.byteflow:dispatch pc=8, inst=BINARY_SUBSCR(arg=None, lineno=428) DEBUG:numba.core.byteflow:stack ['$x4.0', '$const6.1'] DEBUG:numba.core.byteflow:dispatch pc=18, inst=LOAD_FAST(arg=0, lineno=428) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2'] DEBUG:numba.core.byteflow:dispatch pc=20, inst=LOAD_CONST(arg=2, lineno=428) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$x18.3'] DEBUG:numba.core.byteflow:dispatch pc=22, inst=BINARY_SUBSCR(arg=None, lineno=428) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$x18.3', '$const20.4'] DEBUG:numba.core.byteflow:dispatch pc=32, inst=BINARY_OP(arg=0, lineno=428) DEBUG:numba.core.byteflow:stack ['$8binary_subscr.2', '$22binary_subscr.5'] DEBUG:numba.core.byteflow:dispatch pc=36, inst=LOAD_CONST(arg=3, lineno=428) DEBUG:numba.core.byteflow:stack ['$binop_add32.6'] DEBUG:numba.core.byteflow:dispatch pc=38, inst=LOAD_FAST(arg=0, lineno=428) DEBUG:numba.core.byteflow:stack ['$binop_add32.6', '$const36.7'] DEBUG:numba.core.byteflow:dispatch pc=40, inst=LOAD_CONST(arg=4, lineno=428) DEBUG:numba.core.byteflow:stack ['$binop_add32.6', '$const36.7', '$x38.8'] DEBUG:numba.core.byteflow:dispatch pc=42, inst=BINARY_SUBSCR(arg=None, lineno=428) DEBUG:numba.core.byteflow:stack ['$binop_add32.6', '$const36.7', '$x38.8', '$const40.9'] DEBUG:numba.core.byteflow:dispatch pc=52, inst=BINARY_OP(arg=5, lineno=428) DEBUG:numba.core.byteflow:stack ['$binop_add32.6', '$const36.7', '$42binary_subscr.10'] DEBUG:numba.core.byteflow:dispatch pc=56, inst=BINARY_OP(arg=10, lineno=428) DEBUG:numba.core.byteflow:stack ['$binop_add32.6', '$binop_mul52.11'] DEBUG:numba.core.byteflow:dispatch pc=60, inst=STORE_FAST(arg=1, lineno=428) DEBUG:numba.core.byteflow:stack ['$binop_sub56.12'] DEBUG:numba.core.byteflow:dispatch pc=62, inst=LOAD_FAST(arg=0, lineno=429) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=64, inst=LOAD_CONST(arg=1, lineno=429) DEBUG:numba.core.byteflow:stack ['$x62.13'] DEBUG:numba.core.byteflow:dispatch pc=66, inst=BINARY_SUBSCR(arg=None, lineno=429) DEBUG:numba.core.byteflow:stack ['$x62.13', '$const64.14'] DEBUG:numba.core.byteflow:dispatch pc=76, inst=LOAD_FAST(arg=0, lineno=429) DEBUG:numba.core.byteflow:stack ['$66binary_subscr.15'] DEBUG:numba.core.byteflow:dispatch pc=78, inst=LOAD_CONST(arg=2, lineno=429) DEBUG:numba.core.byteflow:stack ['$66binary_subscr.15', '$x76.16'] DEBUG:numba.core.byteflow:dispatch pc=80, inst=BINARY_SUBSCR(arg=None, lineno=429) DEBUG:numba.core.byteflow:stack ['$66binary_subscr.15', '$x76.16', '$const78.17'] DEBUG:numba.core.byteflow:dispatch pc=90, inst=BINARY_OP(arg=10, lineno=429) DEBUG:numba.core.byteflow:stack ['$66binary_subscr.15', '$80binary_subscr.18'] DEBUG:numba.core.byteflow:dispatch pc=94, inst=LOAD_CONST(arg=3, lineno=429) DEBUG:numba.core.byteflow:stack ['$binop_sub90.19'] DEBUG:numba.core.byteflow:dispatch pc=96, inst=BINARY_OP(arg=11, lineno=429) DEBUG:numba.core.byteflow:stack ['$binop_sub90.19', '$const94.20'] DEBUG:numba.core.byteflow:dispatch pc=100, inst=STORE_FAST(arg=2, lineno=429) DEBUG:numba.core.byteflow:stack ['$binop_truediv96.21'] DEBUG:numba.core.byteflow:dispatch pc=102, inst=LOAD_GLOBAL(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=114, inst=LOAD_ATTR(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$null$102.23', '$102load_global.22'] DEBUG:numba.core.byteflow:dispatch pc=124, inst=LOAD_FAST(arg=2, lineno=431) DEBUG:numba.core.byteflow:stack ['$null$102.23', '$114load_attr.24'] DEBUG:numba.core.byteflow:dispatch pc=126, inst=PRECALL(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$null$102.23', '$114load_attr.24', '$b124.25'] DEBUG:numba.core.byteflow:dispatch pc=130, inst=CALL(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$null$102.23', '$114load_attr.24', '$b124.25'] DEBUG:numba.core.byteflow:dispatch pc=140, inst=LOAD_GLOBAL(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$130call.26'] DEBUG:numba.core.byteflow:dispatch pc=152, inst=LOAD_ATTR(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$130call.26', '$null$140.28', '$140load_global.27'] DEBUG:numba.core.byteflow:dispatch pc=162, inst=LOAD_FAST(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$130call.26', '$null$140.28', '$152load_attr.29'] DEBUG:numba.core.byteflow:dispatch pc=164, inst=PRECALL(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$130call.26', '$null$140.28', '$152load_attr.29', '$a162.30'] DEBUG:numba.core.byteflow:dispatch pc=168, inst=CALL(arg=1, lineno=431) DEBUG:numba.core.byteflow:stack ['$130call.26', '$null$140.28', '$152load_attr.29', '$a162.30'] DEBUG:numba.core.byteflow:dispatch pc=178, inst=COMPARE_OP(arg=5, lineno=431) DEBUG:numba.core.byteflow:stack ['$130call.26', '$168call.31'] DEBUG:numba.core.byteflow:dispatch pc=184, inst=POP_JUMP_FORWARD_IF_FALSE(arg=2, lineno=431) DEBUG:numba.core.byteflow:stack ['$178compare_op.32'] DEBUG:numba.core.byteflow:end state. edges=[Edge(pc=186, stack=(), blockstack=(), npush=0), Edge(pc=190, stack=(), blockstack=(), npush=0)] DEBUG:numba.core.byteflow:pending: deque([State(pc_initial=186 nstack_initial=0), State(pc_initial=190 nstack_initial=0)]) DEBUG:numba.core.byteflow:stack: [] DEBUG:numba.core.byteflow:state.pc_initial: State(pc_initial=186 nstack_initial=0) DEBUG:numba.core.byteflow:dispatch pc=186, inst=LOAD_CONST(arg=4, lineno=434) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=188, inst=RETURN_VALUE(arg=None, lineno=434) DEBUG:numba.core.byteflow:stack ['$const186.0'] DEBUG:numba.core.byteflow:end state. edges=[] DEBUG:numba.core.byteflow:pending: deque([State(pc_initial=190 nstack_initial=0)]) DEBUG:numba.core.byteflow:stack: [] DEBUG:numba.core.byteflow:state.pc_initial: State(pc_initial=190 nstack_initial=0) DEBUG:numba.core.byteflow:dispatch pc=190, inst=LOAD_FAST(arg=2, lineno=436) DEBUG:numba.core.byteflow:stack [] DEBUG:numba.core.byteflow:dispatch pc=192, inst=UNARY_NEGATIVE(arg=None, lineno=436) DEBUG:numba.core.byteflow:stack ['$b190.0'] DEBUG:numba.core.byteflow:dispatch pc=194, inst=LOAD_FAST(arg=1, lineno=436) DEBUG:numba.core.byteflow:stack ['$192unary_negative.1'] DEBUG:numba.core.byteflow:dispatch pc=196, inst=BINARY_OP(arg=11, lineno=436) DEBUG:numba.core.byteflow:stack ['$192unary_negative.1', '$a194.2'] DEBUG:numba.core.byteflow:dispatch pc=200, inst=RETURN_VALUE(arg=None, lineno=436) DEBUG:numba.core.byteflow:stack ['$binop_truediv196.3'] DEBUG:numba.core.byteflow:end state. edges=[] DEBUG:numba.core.byteflow:-------------------------Prune PHIs------------------------- DEBUG:numba.core.byteflow:Used_phis: defaultdict(, {State(pc_initial=0 nstack_initial=0): set(), State(pc_initial=186 nstack_initial=0): set(), State(pc_initial=190 nstack_initial=0): set()}) DEBUG:numba.core.byteflow:defmap: {} DEBUG:numba.core.byteflow:phismap: defaultdict(, {}) DEBUG:numba.core.byteflow:changing phismap: defaultdict(, {}) DEBUG:numba.core.byteflow:keep phismap: {} DEBUG:numba.core.byteflow:new_out: defaultdict(, {}) DEBUG:numba.core.byteflow:----------------------DONE Prune PHIs----------------------- DEBUG:numba.core.byteflow:block_infos State(pc_initial=0 nstack_initial=0): AdaptBlockInfo(insts=((0, {}), (2, {}), (4, {'res': '$x4.0'}), (6, {'res': '$const6.1'}), (8, {'index': '$const6.1', 'target': '$x4.0', 'res': '$8binary_subscr.2'}), (10, {}), (12, {}), (14, {}), (16, {}), (18, {'res': '$x18.3'}), (20, {'res': '$const20.4'}), (22, {'index': '$const20.4', 'target': '$x18.3', 'res': '$22binary_subscr.5'}), (24, {}), (26, {}), (28, {}), (30, {}), (32, {'op': '+', 'lhs': '$8binary_subscr.2', 'rhs': '$22binary_subscr.5', 'res': '$binop_add32.6'}), (34, {}), (36, {'res': '$const36.7'}), (38, {'res': '$x38.8'}), (40, {'res': '$const40.9'}), (42, {'index': '$const40.9', 'target': '$x38.8', 'res': '$42binary_subscr.10'}), (44, {}), (46, {}), (48, {}), (50, {}), (52, {'op': '*', 'lhs': '$const36.7', 'rhs': '$42binary_subscr.10', 'res': '$binop_mul52.11'}), (54, {}), (56, {'op': '-', 'lhs': '$binop_add32.6', 'rhs': '$binop_mul52.11', 'res': '$binop_sub56.12'}), (58, {}), (60, {'value': '$binop_sub56.12'}), (62, {'res': '$x62.13'}), (64, {'res': '$const64.14'}), (66, {'index': '$const64.14', 'target': '$x62.13', 'res': '$66binary_subscr.15'}), (68, {}), (70, {}), (72, {}), (74, {}), (76, {'res': '$x76.16'}), (78, {'res': '$const78.17'}), (80, {'index': '$const78.17', 'target': '$x76.16', 'res': '$80binary_subscr.18'}), (82, {}), (84, {}), (86, {}), (88, {}), (90, {'op': '-', 'lhs': '$66binary_subscr.15', 'rhs': '$80binary_subscr.18', 'res': '$binop_sub90.19'}), (92, {}), (94, {'res': '$const94.20'}), (96, {'op': '/', 'lhs': '$binop_sub90.19', 'rhs': '$const94.20', 'res': '$binop_truediv96.21'}), (98, {}), (100, {'value': '$binop_truediv96.21'}), (102, {'idx': 0, 'res': '$102load_global.22'}), (104, {}), (106, {}), (108, {}), (110, {}), (112, {}), (114, {'item': '$102load_global.22', 'res': '$114load_attr.24'}), (116, {}), (118, {}), (120, {}), (122, {}), (124, {'res': '$b124.25'}), (126, {}), (128, {}), (130, {'func': '$114load_attr.24', 'args': ['$b124.25'], 'kw_names': None, 'res': '$130call.26'}), (132, {}), (134, {}), (136, {}), (138, {}), (140, {'idx': 0, 'res': '$140load_global.27'}), (142, {}), (144, {}), (146, {}), (148, {}), (150, {}), (152, {'item': '$140load_global.27', 'res': '$152load_attr.29'}), (154, {}), (156, {}), (158, {}), (160, {}), (162, {'res': '$a162.30'}), (164, {}), (166, {}), (168, {'func': '$152load_attr.29', 'args': ['$a162.30'], 'kw_names': None, 'res': '$168call.31'}), (170, {}), (172, {}), (174, {}), (176, {}), (178, {'lhs': '$130call.26', 'rhs': '$168call.31', 'res': '$178compare_op.32'}), (180, {}), (182, {}), (184, {'pred': '$178compare_op.32'})), outgoing_phis={}, blockstack=(), active_try_block=None, outgoing_edgepushed={186: (), 190: ()}) DEBUG:numba.core.byteflow:block_infos State(pc_initial=186 nstack_initial=0): AdaptBlockInfo(insts=((186, {'res': '$const186.0'}), (188, {'retval': '$const186.0', 'castval': '$188return_value.1'})), outgoing_phis={}, blockstack=(), active_try_block=None, outgoing_edgepushed={}) DEBUG:numba.core.byteflow:block_infos State(pc_initial=190 nstack_initial=0): AdaptBlockInfo(insts=((190, {'res': '$b190.0'}), (192, {'value': '$b190.0', 'res': '$192unary_negative.1'}), (194, {'res': '$a194.2'}), (196, {'op': '/', 'lhs': '$192unary_negative.1', 'rhs': '$a194.2', 'res': '$binop_truediv196.3'}), (198, {}), (200, {'retval': '$binop_truediv196.3', 'castval': '$200return_value.4'})), outgoing_phis={}, blockstack=(), active_try_block=None, outgoing_edgepushed={}) DEBUG:numba.core.interpreter:label 0: x = arg(0, name=x) ['x'] $const6.1 = const(int, 1) ['$const6.1'] $8binary_subscr.2 = getitem(value=x, index=$const6.1, fn=) ['$8binary_subscr.2', '$const6.1', 'x'] $const20.4 = const(int, -1) ['$const20.4'] $22binary_subscr.5 = getitem(value=x, index=$const20.4, fn=) ['$22binary_subscr.5', '$const20.4', 'x'] $binop_add32.6 = $8binary_subscr.2 + $22binary_subscr.5 ['$22binary_subscr.5', '$8binary_subscr.2', '$binop_add32.6'] $const36.7 = const(int, 2) ['$const36.7'] $const40.9 = const(int, 0) ['$const40.9'] $42binary_subscr.10 = getitem(value=x, index=$const40.9, fn=) ['$42binary_subscr.10', '$const40.9', 'x'] $binop_mul52.11 = $const36.7 * $42binary_subscr.10 ['$42binary_subscr.10', '$binop_mul52.11', '$const36.7'] a = $binop_add32.6 - $binop_mul52.11 ['$binop_add32.6', '$binop_mul52.11', 'a'] $const64.14 = const(int, 1) ['$const64.14'] $66binary_subscr.15 = getitem(value=x, index=$const64.14, fn=) ['$66binary_subscr.15', '$const64.14', 'x'] $const78.17 = const(int, -1) ['$const78.17'] $80binary_subscr.18 = getitem(value=x, index=$const78.17, fn=) ['$80binary_subscr.18', '$const78.17', 'x'] $binop_sub90.19 = $66binary_subscr.15 - $80binary_subscr.18 ['$66binary_subscr.15', '$80binary_subscr.18', '$binop_sub90.19'] $const94.20 = const(int, 2) ['$const94.20'] b = $binop_sub90.19 / $const94.20 ['$binop_sub90.19', '$const94.20', 'b'] $102load_global.22 = global(np: ) ['$102load_global.22'] $114load_attr.24 = getattr(value=$102load_global.22, attr=abs) ['$102load_global.22', '$114load_attr.24'] $130call.26 = call $114load_attr.24(b, func=$114load_attr.24, args=[Var(b, pitch.py:429)], kws=(), vararg=None, varkwarg=None, target=None) ['$114load_attr.24', '$130call.26', 'b'] $140load_global.27 = global(np: ) ['$140load_global.27'] $152load_attr.29 = getattr(value=$140load_global.27, attr=abs) ['$140load_global.27', '$152load_attr.29'] $168call.31 = call $152load_attr.29(a, func=$152load_attr.29, args=[Var(a, pitch.py:428)], kws=(), vararg=None, varkwarg=None, target=None) ['$152load_attr.29', '$168call.31', 'a'] $178compare_op.32 = $130call.26 >= $168call.31 ['$130call.26', '$168call.31', '$178compare_op.32'] bool184 = global(bool: ) ['bool184'] $184pred = call bool184($178compare_op.32, func=bool184, args=(Var($178compare_op.32, pitch.py:431),), kws=(), vararg=None, varkwarg=None, target=None) ['$178compare_op.32', '$184pred', 'bool184'] branch $184pred, 186, 190 ['$184pred'] label 186: $const186.0 = const(int, 0) ['$const186.0'] $188return_value.1 = cast(value=$const186.0) ['$188return_value.1', '$const186.0'] return $188return_value.1 ['$188return_value.1'] label 190: $192unary_negative.1 = unary(fn=, value=b) ['$192unary_negative.1', 'b'] $binop_truediv196.3 = $192unary_negative.1 / a ['$192unary_negative.1', '$binop_truediv196.3', 'a'] $200return_value.4 = cast(value=$binop_truediv196.3) ['$200return_value.4', '$binop_truediv196.3'] return $200return_value.4 ['$200return_value.4'] input_wav:(143854,) Exception ignored from cffi callback .callback_ptr at 0x2a7cc7ce0>: Traceback (most recent call last): File "/opt/homebrew/lib/python3.11/site-packages/sounddevice.py", line 886, in callback_ptr return _wrap_callback( ^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/sounddevice.py", line 2687, in _wrap_callback callback(*args) File "/Volumes/ZhiTai/AI/RVC-beta0717/gui_v0.py", line 589, in audio_callback self.rvc.infer(self.resampler1(torch.from_numpy(self.input_wav))) File "/Volumes/ZhiTai/AI/RVC-beta0717/gui_v0.py", line 154, in infer torch.cuda.synchronize() File "/opt/homebrew/lib/python3.11/site-packages/torch/cuda/__init__.py", line 686, in synchronize _lazy_init() File "/opt/homebrew/lib/python3.11/site-packages/torch/cuda/__init__.py", line 239, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. Audio block passed. ENDing VC `
lennondong commented 10 months ago

I'll fix

The sound I uploaded was converted new sound that is pretty good. It showed that the conversion function can work well on m1 mac. Just something wrong with the realtime webUI.

Snip20231216_12

leaphii commented 10 months ago

When I try to run it, it tells me that I need to download Aria2, but I didn't know it came separately. How can I fix this problem?

rutvik106 commented 9 months ago

When I try to run it, it tells me that I need to download Aria2, but I didn't know it came separately. How can I fix this problem?

Same Issue

tvsj commented 9 months ago

Aria2

brew install aria2

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 15 days since being marked as stale.