mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Add -noavx2 portable builds
This commit is contained in:
parent
98f4c694b9
commit
0dd71e78c9
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
$matrix = @{
|
||||
'os' = @('ubuntu-22.04', 'windows-2019')
|
||||
'pyver' = @("3.11")
|
||||
'avx' = @("AVX2")
|
||||
'avx' = @("AVX2", "AVX")
|
||||
'cuda' = @("11.7", "12.4")
|
||||
}
|
||||
|
||||
|
|
@ -161,7 +161,11 @@ jobs:
|
|||
# 6. Create ZIP file
|
||||
cd ..
|
||||
VERSION_CLEAN="${VERSION#v}"
|
||||
if [[ "$AVX_SUPPORT" == "AVX2" ]]; then
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.zip"
|
||||
else
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}-noavx2.zip"
|
||||
fi
|
||||
echo "Creating archive: $ZIP_NAME"
|
||||
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
$matrix = @{
|
||||
'os' = @('ubuntu-22.04', 'windows-2019')
|
||||
'pyver' = @("3.11")
|
||||
'avx' = @("AVX2")
|
||||
'avx' = @("AVX2", "AVX")
|
||||
}
|
||||
|
||||
if ($env:CONFIGIN -ne 'Default') {$env:CONFIGIN.split(';').foreach({$matrix[$_.split(':')[0]] = $_.split(':')[1].split(',')})}
|
||||
|
|
@ -146,7 +146,11 @@ jobs:
|
|||
# 6. Create ZIP file
|
||||
cd ..
|
||||
VERSION_CLEAN="${VERSION#v}"
|
||||
if [[ "$AVX_SUPPORT" == "AVX2" ]]; then
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-vulkan.zip"
|
||||
else
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-vulkan-noavx2.zip"
|
||||
fi
|
||||
echo "Creating archive: $ZIP_NAME"
|
||||
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
|
|
|
|||
10
.github/workflows/build-portable-release.yml
vendored
10
.github/workflows/build-portable-release.yml
vendored
|
|
@ -15,7 +15,7 @@ on:
|
|||
type: string
|
||||
exclude:
|
||||
description: 'Exclude build configurations: key1-1:item1-1,key1-2:item1-2;key2-1:item2-1,key2-2:item2-2'
|
||||
default: 'None'
|
||||
default: 'os:macos-13,avx:AVX;os:macos-14,avx:AVX'
|
||||
required: false
|
||||
type: string
|
||||
workflow_call:
|
||||
|
|
@ -32,7 +32,7 @@ on:
|
|||
type: string
|
||||
exclude:
|
||||
description: 'Exclude build configurations: key1-1:item1-1,key1-2:item1-2;key2-1:item2-1,key2-2:item2-2'
|
||||
default: 'None'
|
||||
default: 'os:macos-13,avx:AVX;os:macos-14,avx:AVX'
|
||||
required: false
|
||||
type: string
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
$matrix = @{
|
||||
'os' = @('ubuntu-22.04', 'windows-2019', 'macos-13', 'macos-14')
|
||||
'pyver' = @("3.11")
|
||||
'avx' = @("AVX2")
|
||||
'avx' = @("AVX2", "AVX")
|
||||
}
|
||||
|
||||
if ($env:CONFIGIN -ne 'Default') {$env:CONFIGIN.split(';').foreach({$matrix[$_.split(':')[0]] = $_.split(':')[1].split(',')})}
|
||||
|
|
@ -171,7 +171,11 @@ jobs:
|
|||
# 5. Create ZIP file
|
||||
cd ..
|
||||
VERSION_CLEAN="${VERSION#v}"
|
||||
if [[ "$AVX_SUPPORT" == "AVX2" ]]; then
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}.zip"
|
||||
else
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-noavx2.zip"
|
||||
fi
|
||||
echo "Creating archive: $ZIP_NAME"
|
||||
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue