Expand description
text-generation-webui installer — ports scripts/install_textgen.sh.
Clones the text-generation-webui repository, installs Python dependencies with ROCm-only filtering (excludes nvidia/CUDA packages), and creates launcher shim.
§Validation Assertions
- VAL-INSTALL-024: text-generation-webui correct git clone
- VAL-INSTALL-025: App installers correct target directory
Structs§
- Shell
Command - A constructed shell command.
- Textgen
Config - Configuration for the text-generation-webui installer.
- Textgen
Installer - The text-generation-webui installer.
Constants§
- DEFAULT_
BRANCH - Default branch for text-generation-webui.
- EXCLUDED_
PATTERNS - Regex pattern for packages to exclude from requirements.txt. Original script excludes: nvidia-, cuda, tensorrt*, triton[versioned], xformers, flash-attn, torch/torchvision/torchaudio.
- PRESERVE_
DIRS - Directories to preserve during git update.
- REPO_
URL - text-generation-webui Git repository URL.
- WEB_
PORT - Default web port.
Functions§
- default_
install_ dir - Default text-generation-webui installation directory.