-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
51 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
@echo off | ||
|
||
:: Check if WSL is installed | ||
echo Checking if wsl is installed... | ||
wsl --list >nul 2>&1 | ||
if %errorlevel% neq 0 ( | ||
echo WSL is not installed. Installing... | ||
echo Installing Ubuntu 20.04 LTS... | ||
wsl --install -d Ubuntu-20.04 | ||
wsl --set-default-version 2 | ||
echo WSL is not enabled or installed. Enabling and installing... | ||
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | ||
echo WSL installation complete. | ||
) else ( | ||
echo WSL is enabled and installed. | ||
) | ||
|
||
set "distribution=Ubuntu-20.04" | ||
wsl --list | findstr "%distribution%" | ||
if %errorlevel% equ 0 ( | ||
echo %distribution% exists in WSL. | ||
) else ( | ||
echo WSL is already installed. | ||
echo %distribution% does not exist in WSL. | ||
echo Installing Ubuntu 20.04... | ||
wsl --install -d Ubuntu-20.04 | ||
wsl -d Ubuntu-20.04 -- apt upgrade -y | ||
echo Ubuntu 20.04 installation complete. | ||
) | ||
|
||
:: Execute the .sh script | ||
echo Running the install script... | ||
wsl.exe -d Ubuntu-20.04 ./install_script.sh | ||
echo Script execution complete. | ||
|
||
echo Installation and script execution complete! | ||
pause | ||
pause |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
#!/bin/bash | ||
echo changing dir to lollms-webui | ||
cd ~/lollms-webui | ||
# activate conda environment | ||
echo sourcing miniconda | ||
source ~/miniconda/etc/profile.d/conda.sh | ||
echo activating environment | ||
conda activate ./env | ||
|
||
echo running server | ||
# Run petals server | ||
python3 -m petals.cli.run_server petals-team/StableBeluga2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
wsl --shutdown | ||
wsl --unregister Ubuntu-20.04 | ||
pause |
2 changes: 1 addition & 1 deletion
2
web/dist/assets/index-fce2c7cf.js → web/dist/assets/index-57e478b9.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters