Skip to content

Commit

Permalink
4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz-Dera committed Jul 3, 2024
1 parent 5a1168b commit 9cc8279
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
A script that automatically installs all the required stuff to run selected AI interfaces on AMD Radeon 7900XTX.

## Info
[![Version](https://img.shields.io/badge/4.2-version-orange.svg)](https://github.com/Mateusz-Dera/ROCm-AI-Installer/blob/main/README.md)
[![Version](https://img.shields.io/badge/4.3-version-orange.svg)](https://github.com/Mateusz-Dera/ROCm-AI-Installer/blob/main/README.md)

> [!Note]
> Ubuntu 24.04 is recommended. Version 4.2 is not tested on older versions.
> Ubuntu 24.04 is recommended. Version 4.3 is not tested on older versions.
Part of the installation script is based on this guide: https://github.com/nktice/AMD-AI/blob/main/ROCm6.0.md

Expand All @@ -17,7 +17,7 @@ Part of the installation script is based on this guide: https://github.com/nktic
|RAM|64GB DDR5 6600MHz|
|Motherboard|ASRock B650E PG Riptide WiFi (2.10)|
|OS|Ubuntu 24.04|
|Kernel|6.8.0-35-generic|
|Kernel|6.8.0-36-generic|
|ROCm|6.1.3|


Expand All @@ -26,7 +26,7 @@ Part of the installation script is based on this guide: https://github.com/nktic
|:---|:---|:---|:---|
|KoboldCPP|Python 3.11 venv|https://github.com/YellowRoseCx/koboldcpp-rocm||
|Text generation web UI|Python 3.11 venv|https://github.com/oobabooga/text-generation-webui<br/> https://github.com/arlo-phoenix/bitsandbytes-rocm-5.6<br/> https://github.com/ROCmSoftwarePlatform/flash-attention<br/> https://github.com/turboderp/exllamav2|1. Tested: ExLlamav2, Transformers, llama.ccp<br> 2. Requrements for Superbooga are installed, but the extension is not enabled by default |
|SillyTavern (1.12.1)|Node|https://github.com/SillyTavern/SillyTavern|1. Extras project is discontinued and removed from the script.<br> https://github.com/SillyTavern/SillyTavern-Extras|
|SillyTavern (1.12.2)|Node|https://github.com/SillyTavern/SillyTavern|1. Extras project is discontinued and removed from the script.<br> https://github.com/SillyTavern/SillyTavern-Extras|

### Image generation
|Name|Enviroment|Links|Additional information|
Expand All @@ -42,7 +42,7 @@ Part of the installation script is based on this guide: https://github.com/nktic
### Voice generation
|Name|Enviroment|Links|Additional information|
|:---|:---|:---|:---|
|WhisperSpeech web UI|Python 3.11 venv|https://github.com/Mateusz-Dera/whisperspeech-webui<br> https://github.com/collabora/WhisperSpeech<br/> https://github.com/ROCmSoftwarePlatform/flash-attention||
|WhisperSpeech web UI|Python 3.12 venv|https://github.com/Mateusz-Dera/whisperspeech-webui<br> https://github.com/collabora/WhisperSpeech<br/> https://github.com/ROCmSoftwarePlatform/flash-attention||
|MeloTTS|Python 3.12 venv|https://github.com/myshell-ai/MeloTTS||


Expand Down
17 changes: 8 additions & 9 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
export HSA_OVERRIDE_GFX_VERSION=11.0.0

# Version
version="4.2"
version="4.3"

# Default installation path
default_installation_path="$HOME/AI"
Expand Down Expand Up @@ -563,7 +563,7 @@ install_sillytavern() {
fi
git clone https://github.com/SillyTavern/SillyTavern.git
cd SillyTavern
git checkout 00b44071a611a7e684eb56e12950d4969b5261b3
git checkout 6e86ab07dde6fb663b50616ff84f7a54d1a3c186

mv ./start.sh ./run.sh

Expand Down Expand Up @@ -768,8 +768,8 @@ EOF
}

install_whisperspeech_web_ui(){
if ! command -v python3.11 &> /dev/null; then
echo "Install Python 3.11 first"
if ! command -v python3.12 &> /dev/null; then
echo "Install Python 3.12 first"
exit 1
fi

Expand All @@ -778,14 +778,13 @@ install_whisperspeech_web_ui(){
rm -rf whisperspeech-webui
git clone https://github.com/Mateusz-Dera/whisperspeech-webui.git
cd whisperspeech-webui
git checkout 7e63b110dcda4d318da4cc55f1b3aeacb7575a6e
python3.11 -m venv .venv --prompt WhisperSpeech
git checkout fa37d92620fff87ad9391ee6b1908bdfc11e3367
python3.12 -m venv .venv --prompt WhisperSpeech
source .venv/bin/activate

pip install -r requirements_rocm_6.0.txt
pip install -r requirements_rocm.txt
pip install -U wheel
pip install git+https://github.com/ROCmSoftwarePlatform/flash-attention.git@2554f490101742ccdc56620a938f847f61754be6 --no-build-isolation

pip install git+https://github.com/ROCmSoftwarePlatform/flash-attention.git@2554f490101742ccdc56620a938f847f61754be6

tee --append run.sh <<EOF
#!/bin/bash
Expand Down

0 comments on commit 9cc8279

Please sign in to comment.