w-okada / voice-changer

リアルタイムボイスチェンジャー Realtime Voice Changer
Other
15.54k stars 1.68k forks source link

[ISSUE]: How can I install ONNXRuntime DirectML? #994

Closed Swaien closed 5 months ago

Swaien commented 8 months ago

Voice Changer Version

MMVCServerSIO_win_onnxdirectML-cuda_v.1.5.3.16a

Operational System

Windows 11

GPU

RX 6700

Read carefully and check the options

Model Type

RVC

Issue Description

So i have an AMD gpu and 4 deafult voice models works fine, but when I try to upload my RVC model my GPU does not work my cpu does. When i looked at other issues they said extract it to ONNX but I am stuck here. How do i install ONNXRuntime DirectML? I have Python But I don't have Pytorch because of cuda. Ekran görüntüsü 2023-11-13 152127

Application Screenshot

Ekran görüntüsü 2023-11-13 153854 Ekran görüntüsü 2023-11-13 154454

Logs on console

C:\Users\yunus\OneDrive\Masaüstü\AI Voice Changer\MMVCServerSIO>MMVCServerSIO.exe -p 18888 --https false --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --content_vec_500_onnx pretrain/content_vec_500.onnx --content_vec_500_onnx_on true --hubert_base pretrain/hubert_base.pt --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --crepe_onnx_full pretrain/crepe_onnx_full.onnx --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx --rmvpe pretrain/rmvpe.pt --model_dir model_dir --samples samples.json Booting PHASE :main PYTHON:3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Activating the Voice Changer. [Voice Changer] download sample catalog. samples_0003_t2.json [Voice Changer] download sample catalog. samples_0003_o2.json [Voice Changer] download sample catalog. samples_0003_d2.json [Voice Changer] model_dir is already exists. skip download samples. Internal_Port:18888 protocol: HTTP


Please open the following URL in your browser.
http://<IP>:<PORT>/
In many cases, it will launch when you access any of the following URLs.
http://127.0.0.1:18888/

[VCClient] Access http://127.0.0.1:18888/ [VCClient] wait web server...0 http://127.0.0.1:18888/ gin_channels: 256 self.spk_embed_dim: 109 [Voice Changer] generate new embedder. (no embedder) [Voice Changer] Loading index... Try loading... model_dir\4\added_IVF3823_Flat_nprobe_1_Quumsi_v2.index [VCClient] wait web server... done 200 [2023-11-13 16:04:17] connet sid : _Sv5f23HvirmY_Y5AAAB [2023-11-13 16:04:17] connet sid : QZX4C3Vxj76ZvaPPAAAD [Voice Changer] update configuration: modelSlotIndex 1699880662004 Pipeline has been deleted gin_channels: 256 self.spk_embed_dim: 109 [Voice Changer] generate new embedder. (anyway) [Voice Changer] Loading index... Try loading... model_dir\4\added_IVF3823_Flat_nprobe_1_Quumsi_v2.index

w-okada commented 8 months ago

click export to onnx image