-
Notifications
You must be signed in to change notification settings - Fork 0
/
Install.sh
26 lines (19 loc) · 1013 Bytes
/
Install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
echo "Creating virtual environment.../Создание виртуальной среды..."
python3 -m venv "$CURRENT_DIR/venv"
source "$CURRENT_DIR/venv/bin/activate"
clear
echo "Upgrading pip, setuptools and whell.../Обновление pip, setuptools и wheel..."
python3 -m pip install --upgrade pip setuptools
pip install wheel
clear
echo "Installing dependencies.../Установка зависимостей..."
pip install --no-deps -r "$CURRENT_DIR/requirements.txt"
pip install --no-deps -r "$CURRENT_DIR/requirements-cuda.txt"
pip install --no-deps -r "$CURRENT_DIR/requirements-llama-cpp.txt"
pip install git+https://github.com/tatsy/torchmcubes.git
clear
echo "Application has been installed successfully. Run start.sh/Приложение успешно установлено. Запустите start.sh"
deactivate
read -p "Press enter to continue/Нажмите enter для продолжения"