Rename project from text-generation-webui to textgen

This commit is contained in:
oobabooga 2026-04-13 16:42:51 -03:00
parent 61bfc2ffd5
commit 65cef2c731
39 changed files with 162 additions and 162 deletions

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -21,7 +21,7 @@ on:
workflow_call:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -88,7 +88,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
repository: 'oobabooga/text-generation-webui'
repository: 'oobabooga/textgen'
ref: ${{ inputs.version }}
submodules: 'recursive'
@ -102,8 +102,8 @@ jobs:
VERSION_CLEAN="${{ inputs.version }}"
VERSION_CLEAN="${VERSION_CLEAN#v}"
cd ..
cp -r text-generation-webui "text-generation-webui-${VERSION_CLEAN}"
cd "text-generation-webui-${VERSION_CLEAN}"
cp -r textgen "textgen-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
# Remove extensions that need additional requirements
allowed=("character_bias" "gallery" "sd_api_pictures")
@ -133,10 +133,10 @@ jobs:
echo "Downloading Python for $PLATFORM..."
curl -L -o python-build.tar.gz "$PYTHON_URL"
tar -xzf python-build.tar.gz
mv python "text-generation-webui-${VERSION_CLEAN}/portable_env"
mv python "textgen-${VERSION_CLEAN}/portable_env"
# 3. Prepare requirements file based on CUDA version
cd "text-generation-webui-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
if [[ "$CUDA_VERSION" == "13.1" ]]; then
REQ_FILE="requirements/portable/requirements_cuda131.txt"
else
@ -155,11 +155,11 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.zip"
echo "Creating archive: $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path text-generation-webui-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path textgen-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
else
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.tar.gz"
echo "Creating archive: $ARCHIVE_NAME"
tar czf "$ARCHIVE_NAME" "text-generation-webui-${VERSION_CLEAN}"
tar czf "$ARCHIVE_NAME" "textgen-${VERSION_CLEAN}"
fi
- name: Upload files to a GitHub release

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -21,7 +21,7 @@ on:
workflow_call:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -88,7 +88,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
repository: 'oobabooga/text-generation-webui'
repository: 'oobabooga/textgen'
ref: ${{ inputs.version }}
submodules: 'recursive'
@ -102,8 +102,8 @@ jobs:
VERSION_CLEAN="${{ inputs.version }}"
VERSION_CLEAN="${VERSION_CLEAN#v}"
cd ..
cp -r text-generation-webui "text-generation-webui-ik-${VERSION_CLEAN}"
cd "text-generation-webui-ik-${VERSION_CLEAN}"
cp -r textgen "textgen-ik-${VERSION_CLEAN}"
cd "textgen-ik-${VERSION_CLEAN}"
# Remove extensions that need additional requirements
allowed=("character_bias" "gallery" "sd_api_pictures")
@ -133,10 +133,10 @@ jobs:
echo "Downloading Python for $PLATFORM..."
curl -L -o python-build.tar.gz "$PYTHON_URL"
tar -xzf python-build.tar.gz
mv python "text-generation-webui-ik-${VERSION_CLEAN}/portable_env"
mv python "textgen-ik-${VERSION_CLEAN}/portable_env"
# 3. Prepare requirements file based on CUDA version
cd "text-generation-webui-ik-${VERSION_CLEAN}"
cd "textgen-ik-${VERSION_CLEAN}"
if [[ "$CUDA_VERSION" == "13.1" ]]; then
REQ_FILE="requirements/portable/requirements_ik_cuda131.txt"
else
@ -158,11 +158,11 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.zip"
echo "Creating archive: $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path text-generation-webui-ik-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path textgen-ik-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
else
ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.tar.gz"
echo "Creating archive: $ARCHIVE_NAME"
tar czf "$ARCHIVE_NAME" "text-generation-webui-ik-${VERSION_CLEAN}"
tar czf "$ARCHIVE_NAME" "textgen-ik-${VERSION_CLEAN}"
fi
- name: Upload files to a GitHub release

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -21,7 +21,7 @@ on:
workflow_call:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -87,7 +87,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
repository: 'oobabooga/text-generation-webui'
repository: 'oobabooga/textgen'
ref: ${{ inputs.version }}
submodules: 'recursive'
@ -101,8 +101,8 @@ jobs:
VERSION_CLEAN="${{ inputs.version }}"
VERSION_CLEAN="${VERSION_CLEAN#v}"
cd ..
cp -r text-generation-webui "text-generation-webui-ik-${VERSION_CLEAN}"
cd "text-generation-webui-ik-${VERSION_CLEAN}"
cp -r textgen "textgen-ik-${VERSION_CLEAN}"
cd "textgen-ik-${VERSION_CLEAN}"
# Remove extensions that need additional requirements
allowed=("character_bias" "gallery" "sd_api_pictures")
@ -131,10 +131,10 @@ jobs:
cd ..
curl -L -o python-build.tar.gz "$PYTHON_URL"
tar -xzf python-build.tar.gz
mv python "text-generation-webui-ik-${VERSION_CLEAN}/portable_env"
mv python "textgen-ik-${VERSION_CLEAN}/portable_env"
# 3. Prepare requirements file
cd "text-generation-webui-ik-${VERSION_CLEAN}"
cd "textgen-ik-${VERSION_CLEAN}"
REQ_FILE="requirements/portable/requirements_ik_cpu_only.txt"
echo "Using requirements file: $REQ_FILE"
@ -153,11 +153,11 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}.zip"
echo "Creating archive: $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path text-generation-webui-ik-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path textgen-ik-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
else
ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}.tar.gz"
echo "Creating archive: $ARCHIVE_NAME"
tar czf "$ARCHIVE_NAME" "text-generation-webui-ik-${VERSION_CLEAN}"
tar czf "$ARCHIVE_NAME" "textgen-ik-${VERSION_CLEAN}"
fi
- name: Upload files to a GitHub release

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -21,7 +21,7 @@ on:
workflow_call:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -87,7 +87,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
repository: 'oobabooga/text-generation-webui'
repository: 'oobabooga/textgen'
ref: ${{ inputs.version }}
submodules: 'recursive'
@ -101,8 +101,8 @@ jobs:
VERSION_CLEAN="${{ inputs.version }}"
VERSION_CLEAN="${VERSION_CLEAN#v}"
cd ..
cp -r text-generation-webui "text-generation-webui-${VERSION_CLEAN}"
cd "text-generation-webui-${VERSION_CLEAN}"
cp -r textgen "textgen-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
# Remove extensions that need additional requirements
allowed=("character_bias" "gallery" "sd_api_pictures")
@ -131,12 +131,12 @@ jobs:
echo "Downloading Python for $PLATFORM..."
curl -L -o python-build.tar.gz "$PYTHON_URL"
tar -xzf python-build.tar.gz
mv python "text-generation-webui-${VERSION_CLEAN}/portable_env"
mv python "textgen-${VERSION_CLEAN}/portable_env"
# 3. Prepare requirements file
REQ_FILE="requirements/portable/requirements_amd.txt"
cd "text-generation-webui-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
# 4. Install packages
echo "Installing Python packages from $REQ_FILE..."
@ -150,11 +150,11 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-rocm7.2.zip"
echo "Creating archive: $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path text-generation-webui-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path textgen-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
else
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-rocm7.2.tar.gz"
echo "Creating archive: $ARCHIVE_NAME"
tar czf "$ARCHIVE_NAME" "text-generation-webui-${VERSION_CLEAN}"
tar czf "$ARCHIVE_NAME" "textgen-${VERSION_CLEAN}"
fi
- name: Upload files to a GitHub release

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -21,7 +21,7 @@ on:
workflow_call:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -87,7 +87,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
repository: 'oobabooga/text-generation-webui'
repository: 'oobabooga/textgen'
ref: ${{ inputs.version }}
submodules: 'recursive'
@ -101,8 +101,8 @@ jobs:
VERSION_CLEAN="${{ inputs.version }}"
VERSION_CLEAN="${VERSION_CLEAN#v}"
cd ..
cp -r text-generation-webui "text-generation-webui-${VERSION_CLEAN}"
cd "text-generation-webui-${VERSION_CLEAN}"
cp -r textgen "textgen-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
# Remove extensions that need additional requirements
allowed=("character_bias" "gallery" "sd_api_pictures")
@ -131,12 +131,12 @@ jobs:
echo "Downloading Python for $PLATFORM..."
curl -L -o python-build.tar.gz "$PYTHON_URL"
tar -xzf python-build.tar.gz
mv python "text-generation-webui-${VERSION_CLEAN}/portable_env"
mv python "textgen-${VERSION_CLEAN}/portable_env"
# 3. Prepare requirements file
REQ_FILE="requirements/portable/requirements_vulkan.txt"
cd "text-generation-webui-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
# 4. Install packages
echo "Installing Python packages from $REQ_FILE..."
@ -150,11 +150,11 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-vulkan.zip"
echo "Creating archive: $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path text-generation-webui-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path textgen-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
else
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-vulkan.tar.gz"
echo "Creating archive: $ARCHIVE_NAME"
tar czf "$ARCHIVE_NAME" "text-generation-webui-${VERSION_CLEAN}"
tar czf "$ARCHIVE_NAME" "textgen-${VERSION_CLEAN}"
fi
- name: Upload files to a GitHub release

View file

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -21,7 +21,7 @@ on:
workflow_call:
inputs:
version:
description: 'Version tag of text-generation-webui to build: v3.0'
description: 'Version tag of textgen to build: v3.0'
default: 'v3.0'
required: true
type: string
@ -87,7 +87,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
repository: 'oobabooga/text-generation-webui'
repository: 'oobabooga/textgen'
ref: ${{ inputs.version }}
submodules: 'recursive'
@ -101,8 +101,8 @@ jobs:
VERSION_CLEAN="${{ inputs.version }}"
VERSION_CLEAN="${VERSION_CLEAN#v}"
cd ..
cp -r text-generation-webui "text-generation-webui-${VERSION_CLEAN}"
cd "text-generation-webui-${VERSION_CLEAN}"
cp -r textgen "textgen-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
# Remove extensions that need additional requirements
allowed=("character_bias" "gallery" "sd_api_pictures")
@ -146,10 +146,10 @@ jobs:
cd ..
curl -L -o python-build.tar.gz "$PYTHON_URL"
tar -xzf python-build.tar.gz
mv python "text-generation-webui-${VERSION_CLEAN}/portable_env"
mv python "textgen-${VERSION_CLEAN}/portable_env"
# 3. Prepare requirements file based on platform
cd "text-generation-webui-${VERSION_CLEAN}"
cd "textgen-${VERSION_CLEAN}"
# Select requirements file based on platform
if [[ "$RUNNER_OS" == "macOS" ]]; then
@ -176,11 +176,11 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}.zip"
echo "Creating archive: $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path text-generation-webui-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
powershell -Command "Compress-Archive -Path textgen-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME"
else
ARCHIVE_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}.tar.gz"
echo "Creating archive: $ARCHIVE_NAME"
tar czf "$ARCHIVE_NAME" "text-generation-webui-${VERSION_CLEAN}"
tar czf "$ARCHIVE_NAME" "textgen-${VERSION_CLEAN}"
fi
- name: Upload files to a GitHub release