mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-07 14:17:09 -04:00
Remove extensions with requirements from portable builds
This commit is contained in:
parent
4cea720da8
commit
3526b7923c
3 changed files with 6 additions and 0 deletions
|
@ -102,6 +102,8 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker
|
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker
|
||||||
|
allowed=("character_bias" "gallery" "openai" "sd_api_pictures")
|
||||||
|
find extensions/ -mindepth 1 -maxdepth 1 -type d | grep -v -E "$(printf '%s|' "${allowed[@]}" | sed 's/|$//')" | xargs rm -rf
|
||||||
|
|
||||||
# Define common variables
|
# Define common variables
|
||||||
CUDA_VERSION="${{ matrix.cuda }}"
|
CUDA_VERSION="${{ matrix.cuda }}"
|
||||||
|
|
|
@ -101,6 +101,8 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker
|
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker
|
||||||
|
allowed=("character_bias" "gallery" "openai" "sd_api_pictures")
|
||||||
|
find extensions/ -mindepth 1 -maxdepth 1 -type d | grep -v -E "$(printf '%s|' "${allowed[@]}" | sed 's/|$//')" | xargs rm -rf
|
||||||
|
|
||||||
# Define common variables
|
# Define common variables
|
||||||
AVX_SUPPORT="${{ matrix.avx }}"
|
AVX_SUPPORT="${{ matrix.avx }}"
|
||||||
|
|
2
.github/workflows/build-portable-release.yml
vendored
2
.github/workflows/build-portable-release.yml
vendored
|
@ -101,6 +101,8 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker
|
rm -rf .git cmd* update_wizard* Colab-TextGen-GPU.ipynb docker
|
||||||
|
allowed=("character_bias" "gallery" "openai" "sd_api_pictures")
|
||||||
|
find extensions/ -mindepth 1 -maxdepth 1 -type d | grep -v -E "$(printf '%s|' "${allowed[@]}" | sed 's/|$//')" | xargs rm -rf
|
||||||
|
|
||||||
# Define common variables
|
# Define common variables
|
||||||
AVX_SUPPORT="${{ matrix.avx }}"
|
AVX_SUPPORT="${{ matrix.avx }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue