AutoO_release / Backup /Start.bat
luicl's picture
Upload folder using huggingface_hub
72b02e4 verified
Raw History Blame Contribute Delete
285 Bytes
@echo off
for /f %%i in ('powershell -command "Get-CimInstance Win32_VideoController | ForEach-Object { $i = 0 } { if ($_.Name -match 'Graphics') { $i } else { $i++ } }"') do set GPU_INDEX=%%i
start "" ".\AutoO.exe" -RenderOffscreen -nosound -log -graphicsadapter=%GPU_INDEX%
exit