mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Remove the CUDA 11.7 portable builds
This commit is contained in:
parent
92d9cd36a6
commit
6be1bfcc87
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
'os' = @('ubuntu-22.04', 'windows-2022')
|
'os' = @('ubuntu-22.04', 'windows-2022')
|
||||||
'pyver' = @("3.11")
|
'pyver' = @("3.11")
|
||||||
'avx' = @("AVX2")
|
'avx' = @("AVX2")
|
||||||
'cuda' = @("11.7", "12.4")
|
'cuda' = @("12.4")
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($env:CONFIGIN -ne 'Default') {$env:CONFIGIN.split(';').foreach({$matrix[$_.split(':')[0]] = $_.split(':')[1].split(',')})}
|
if ($env:CONFIGIN -ne 'Default') {$env:CONFIGIN.split(';').foreach({$matrix[$_.split(':')[0]] = $_.split(':')[1].split(',')})}
|
||||||
|
|
@ -147,22 +147,13 @@ jobs:
|
||||||
|
|
||||||
# Create CUDA-specific requirements file if needed
|
# Create CUDA-specific requirements file if needed
|
||||||
cd "text-generation-webui-${VERSION_CLEAN}"
|
cd "text-generation-webui-${VERSION_CLEAN}"
|
||||||
if [[ "$CUDA_VERSION" == "11.7" ]]; then
|
REQ_FILE="$BASE_REQ_FILE"
|
||||||
echo "Creating CUDA 11.7 specific requirements file"
|
|
||||||
sed 's/cu124/cu117/g' "$BASE_REQ_FILE" > requirements_cuda_temp.txt
|
|
||||||
REQ_FILE="requirements_cuda_temp.txt"
|
|
||||||
else
|
|
||||||
REQ_FILE="$BASE_REQ_FILE"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 4. Install packages
|
# 4. Install packages
|
||||||
echo "Installing Python packages from $REQ_FILE..."
|
echo "Installing Python packages from $REQ_FILE..."
|
||||||
$PIP_PATH install --target="./$PACKAGES_PATH" -r "$REQ_FILE"
|
$PIP_PATH install --target="./$PACKAGES_PATH" -r "$REQ_FILE"
|
||||||
|
|
||||||
# 5. Clean up
|
# 5. Clean up
|
||||||
if [[ "$CUDA_VERSION" == "11.7" ]]; then
|
|
||||||
rm requirements_cuda_temp.txt
|
|
||||||
fi
|
|
||||||
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker setup.cfg .github .gitignore requirements/ one_click.py
|
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker setup.cfg .github .gitignore requirements/ one_click.py
|
||||||
|
|
||||||
# 6. Create ZIP file
|
# 6. Create ZIP file
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue