mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-01-26 17:09:44 +00:00
launcher upgrades
+fixed koboldcpp not launching for AMD +move koboldcpp code into seperate bat file
This commit is contained in:
18
Launcher.bat
18
Launcher.bat
@@ -1511,12 +1511,18 @@ goto :home
|
||||
|
||||
|
||||
:start_koboldcpp
|
||||
REM Start koboldcpp with desired configurations
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% koboldcpp launched in a new window.
|
||||
|
||||
cd /d "%koboldcpp_install_path%"
|
||||
start "" "koboldcpp.exe"
|
||||
goto :home
|
||||
set "caller=app_launcher_text_completion"
|
||||
if exist "%app_launcher_text_completion_dir%\start_koboldcpp.bat" (
|
||||
call %app_launcher_text_completion_dir%\start_koboldcpp.bat
|
||||
goto :home
|
||||
) else (
|
||||
echo [%DATE% %TIME%] ERROR: start_koboldcpp.bat not found in: %app_launcher_text_completion_dir% >> %logs_stl_console_path%
|
||||
echo %red_bg%[%time%]%reset% %red_fg_strong%[ERROR] start_koboldcpp.bat not found in: %app_launcher_text_completion_dir%%reset%
|
||||
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Running Automatic Repair...
|
||||
git pull
|
||||
pause
|
||||
goto :home
|
||||
)
|
||||
|
||||
|
||||
:start_tabbyapi
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
@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
|
||||
)
|
||||
Reference in New Issue
Block a user