start_http.bat closes immediately – DirectML.dll not found
Author: AlWayneSPCreated Jul 5, 2026Updated Jul 5, 2026
Issue Type
Bug Report
vc client version number
MMVCServerSIO_win_onnxdirectML-cuda_v.1.5.3.18a.zip
OS
Windows 11 Pro
GPU
AMD Radeon 680M
Clear setting
no
Sample model
no
Input chunk num
no
Wait for a while
yes
read tutorial
yes
Extract files to a new folder
yes
Voice Changer type
RVC
Model type
Unknown
Situation
When I try to run start_http.bat, the window opens for a split second and immediately closes.
So I tried running the program through PowerShell to check the error. When running main.exe, I get this error:
FileNotFoundError: Could not find module '_internal\torch_directml\DirectML.dll'
and:
Failed to load dynlib/dll '_internal\torch_directml\DirectML.dll'
It seems that the program cannot find DirectML.dll.
What I’ve tried
- Re-downloaded the file
- Re-extracted using WinRAR
- Disabled Windows Defender
- Added folder to exclusions
- Ran as administrator
Additional Notes
The _internal\\torch_directml folder exists, but DirectML.dll is missing or not being detected.
Is this a known issue with the build, or is there something I’m missing during setup?
Source: w-okada/voice-changer