This commit is contained in:
XXXXRT666 2025-04-29 21:46:15 +01:00
parent ceff5a774b
commit 9762437750
3 changed files with 19 additions and 18 deletions

View File

@ -51,6 +51,9 @@ jobs:
echo "After cleanup:"
df -h
sudo du -hxd1 / | sort -hr | head -n 20
ls -a /usr
ls -a /opt
ls -a /home
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

View File

@ -76,7 +76,8 @@ ENV SKIP_CHECK=${SKIP_CHECK}
RUN source /root/anaconda3/etc/profile.d/conda.sh && \
conda activate GPTSoVITS && \
bash install.sh --device CU${CUDA_VERSION//./} --source HF --skip-check ${SKIP_CHECK} --download-uvr5 && \
pip cache purge
pip cache purge && \
pip show torch
RUN rm -rf /root/anaconda3/pkgs

View File

@ -134,6 +134,20 @@ if ! $USE_HF && ! $USE_HF_MIRROR && ! $USE_MODELSCOPE; then
exit 1
fi
# 安装构建工具
# Install build tools
echo "Installing GCC..."
conda install -c conda-forge gcc=14 -y
echo "Installing G++..."
conda install -c conda-forge gxx -y
echo "Installing ffmpeg and cmake..."
conda install ffmpeg cmake make -y
echo "Installing unzip..."
conda install unzip -y
if [ "$USE_HF" = "true" ]; then
echo "Download Model From HuggingFace"
PRETRINED_URL="https://huggingface.co/XXXXRT/GPT-SoVITS-Pretrained/resolve/main/pretrained_models.zip"
@ -190,23 +204,6 @@ if [ "$DOWNLOAD_UVR5" = "true" ]; then
fi
fi
# 安装构建工具
# Install build tools
echo "Installing GCC..."
conda install -c conda-forge gcc=14 -y
echo "Installing G++..."
conda install -c conda-forge gxx -y
echo "Installing ffmpeg and cmake..."
conda install ffmpeg cmake -y
echo "Installing git-lfs and zip..."
conda install git-lfs -y
conda install zip -y
git-lfs install
if [ "$USE_CUDA" = true ] && [ $SKIP_CHECK = false ]; then
echo "Checking for CUDA installation..."
if command -v nvidia-smi &>/dev/null; then