mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-30 17:15:12 +01:00
6B update & stability fixes
I changed the menu order around because Finetuneanon's version is better for most users and needed for 6B. The github branch it downloads for finetune is updated, and it can now fix the download path length errors if ran as admin.
This commit is contained in:
parent
b4fef1de1b
commit
80ebe1f368
@ -2,10 +2,16 @@
|
||||
title Installing Portable Python (Miniconda3)
|
||||
echo Miniconda3's installer will overwrite existing Miniconda3 shortcuts in the startmenu (We currently can not prevent this)
|
||||
echo Please choose one of the following transformers options
|
||||
echo 1. Official Transformers
|
||||
echo 2. Finetuneanon Transformers (Half-Precision for 8GB or smaller GPUs)
|
||||
echo 1. Finetuneanon Transformers
|
||||
echo 2. Official Transformers (Only use this if your model does not support half)
|
||||
echo.
|
||||
echo Errors? Rerun this as admin so it can add the needed registery tweak.
|
||||
echo.
|
||||
|
||||
SET /P M=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 %~dp0
|
||||
rmdir /s /q miniconda3
|
||||
where /q curl.exe
|
||||
@ -18,8 +24,8 @@ miniconda3.exe /S /InstallationType=JustMe /RegisterPython=0 /AddTopath=0 /NoScr
|
||||
del miniconda3.exe
|
||||
call miniconda3\condabin\activate
|
||||
call conda install --all --no-shortcuts -y git pytorch tensorflow-gpu colorama Flask-SocketIO cudatoolkit=11 -c pytorch
|
||||
IF %M%==1 call conda install --no-shortcuts -y transformers -c huggingface
|
||||
IF %M%==2 pip install git+https://github.com/finetuneanon/transformers@gpt-neo-dungeon-localattention2
|
||||
IF %M%==1 pip install git+https://github.com/finetuneanon/transformers@gpt-neo-localattention3
|
||||
IF %M%==2 call conda install --no-shortcuts -y transformers -c huggingface
|
||||
call conda clean -a -y
|
||||
echo All done!
|
||||
pause
|
||||
|
Loading…
x
Reference in New Issue
Block a user