mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-09-01 12:25:45 +08:00
fix bugs
This commit is contained in:
parent
559dbfc711
commit
756e0e3a9f
8
.github/workflows/docker-publish.yaml
vendored
8
.github/workflows/docker-publish.yaml
vendored
@ -26,16 +26,16 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- cuda_version: 12.4
|
||||
lite: false
|
||||
lite: true
|
||||
tag_prefix: lite-cu124
|
||||
- cuda_version: 12.4
|
||||
lite: true
|
||||
lite: false
|
||||
tag_prefix: cu124
|
||||
- cuda_version: 12.8
|
||||
lite: false
|
||||
lite: true
|
||||
tag_prefix: lite-cu128
|
||||
- cuda_version: 12.8
|
||||
lite: true
|
||||
lite: false
|
||||
tag_prefix: cu128
|
||||
|
||||
steps:
|
||||
|
@ -50,9 +50,7 @@ source "$HOME/anaconda3/etc/profile.d/conda.sh"
|
||||
|
||||
conda config --add channels conda-forge
|
||||
|
||||
conda config --set channel_priority strict
|
||||
|
||||
conda install -n base -c conda-forge conda=25.3.1
|
||||
conda update --all -y
|
||||
|
||||
if [ "$LITE" = "true" ]; then
|
||||
bash install.sh --device "CU${CUDA_VERSION//./}" --source HF
|
||||
|
@ -65,8 +65,11 @@ while [[ $# -gt 0 ]]; do
|
||||
esac
|
||||
done
|
||||
|
||||
TARGETPLATFORM=$(uname -m | grep -q 'x86_64' && echo "linux/amd64" || echo "linux/arm64")
|
||||
|
||||
docker build \
|
||||
--build-arg CUDA_VERSION=$CUDA_VERSION \
|
||||
--build-arg LITE=$LITE \
|
||||
-t "${USER}/gpt-sovits:local" \
|
||||
--build-arg TARGETPLATFORM="$TARGETPLATFORM"
|
||||
-t "${USER}/gpt-sovits:local" \
|
||||
.
|
||||
|
Loading…
x
Reference in New Issue
Block a user