Add Windows realtime voice changer (RVC via Applio) + set operator to 사금향
- voice-changer/: install.bat (uv + Python 3.12 + pinned Applio + torch cu128), VoiceChanger.exe launcher (mingw), tkinter GUI (model list, auto ±12 pitch across genders, mic/output/monitor devices, latency, noise gate), train.bat (preprocess/extract/train/index → models/<id>), examples.bat (Korean example models from KSS + Zeroth-Korean), build-release.sh - consent-recorder: default OPERATOR_NAME=사금향 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
26
voice-changer/app/setup_engine.py
Normal file
26
voice-changer/app/setup_engine.py
Normal file
@@ -0,0 +1,26 @@
|
||||
"""install.bat 마지막 단계: 엔진이 쓰는 기본 모델(rmvpe · contentvec · 사전학습 가중치 · ffmpeg)을 받고 GPU 를 확인한다."""
|
||||
import sys
|
||||
|
||||
from common import use_engine
|
||||
|
||||
|
||||
def main():
|
||||
use_engine()
|
||||
import torch
|
||||
from rvc.lib.tools.prerequisites_download import prequisites_download_pipeline
|
||||
|
||||
print("엔진 기본 모델 받는 중 (약 2GB)...")
|
||||
prequisites_download_pipeline(True, True, True)
|
||||
if torch.cuda.is_available():
|
||||
name = torch.cuda.get_device_name(0)
|
||||
cap = torch.cuda.get_device_capability(0)
|
||||
x = torch.ones(1024, device="cuda") * 2 # Blackwell(sm_120) 커널이 실제로 도는지 확인
|
||||
assert float(x.sum()) == 2048.0
|
||||
print(f"GPU 확인: {name} (sm_{cap[0]}{cap[1]}), torch {torch.__version__}")
|
||||
else:
|
||||
print("주의: CUDA GPU 를 찾지 못했습니다. NVIDIA 드라이버(580 이상)를 확인해 주세요. CPU 로는 실시간 변환이 어렵습니다.")
|
||||
print("설치 끝.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
Reference in New Issue
Block a user