Files
SillyTavern-Launcher/bin/functions/Toolbox/App_Launcher/Text_Completion/start_koboldcpp.bat
deffcolony e357d81cde launcher upgrades
+fixed koboldcpp not launching for AMD
+move koboldcpp code into seperate bat file
2024-08-28 22:21:14 +02:00

25 lines
810 B
Batchfile

@echo off
:start_koboldcpp
REM Check if dev-koboldcpp directory exists
if not exist "%koboldcpp_install_path%" (
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] dev-koboldcpp directory not found in: %text_completion_dir%%reset%
pause
goto :home
)
cd /d "%koboldcpp_install_path%"
REM Check if koboldcpp file exists [koboldcpp NVIDIA]
if exist "%koboldcpp_install_path%\koboldcpp.exe" (
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% koboldcpp launched in a new window.
start "" "koboldcpp.exe"
goto :home
)
REM Check if koboldcpp file exists [koboldcpp AMD]
if exist "%koboldcpp_install_path%\koboldcpp_rocm.exe" (
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% koboldcpp launched in a new window.
start "" "koboldcpp_rocm.exe"
goto :home
)