From cba38bf3e498245f80470ea136a179c71f410ca0 Mon Sep 17 00:00:00 2001 From: Henk Date: Tue, 28 Jun 2022 15:17:32 +0200 Subject: [PATCH] Automatically update requirements --- install_requirements.bat | 7 +------ update-koboldai.bat | 8 ++++++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/install_requirements.bat b/install_requirements.bat index cd7b0aef..772c5e28 100644 --- a/install_requirements.bat +++ b/install_requirements.bat @@ -1,16 +1,11 @@ @echo off title KoboldAI Runtime Installer (MicroMamba) -echo Please choose one of the following transformers options -echo 1. Official Transformers (Recommended) -echo 2. Finetune Transformers (For old 6B models) -echo. + echo Errors? Rerun this as admin so it can add the needed LongPathsEnabled registery tweak. echo Installer failed or crashed? Run it again so it can continue. echo Only Windows 10 and higher officially supported, older Windows installations can't handle the paths. echo. -SET /P B=Type the number of the desired option and then press ENTER: - Reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v "LongPathsEnabled" /t REG_DWORD /d "1" /f 2>nul cd /D %~dp0 diff --git a/update-koboldai.bat b/update-koboldai.bat index 26e9ec17..5ce40985 100644 --- a/update-koboldai.bat +++ b/update-koboldai.bat @@ -1,6 +1,5 @@ @echo off -%~d0 -cd %~dp0 +cd /d %~dp0 TITLE KoboldAI - Updater SET /P M=