mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-24 05:29:45 +08:00
Fix Bugs
This commit is contained in:
parent
1d2c6c5cbb
commit
41142a6234
@ -41,6 +41,6 @@ rm anaconda.sh
|
|||||||
|
|
||||||
rm $LOG_PATH
|
rm $LOG_PATH
|
||||||
|
|
||||||
rm -rf "$HOME/anaconda3/pkgs"
|
rm -rf "$HOME/anaconda3/pkgs/*"
|
||||||
|
|
||||||
mkdir "$HOME/anaconda3/pkgs"
|
rm -rf "$HOME/.conda" "$HOME/.cache"
|
||||||
|
@ -48,6 +48,12 @@ fi
|
|||||||
|
|
||||||
source "$HOME/anaconda3/etc/profile.d/conda.sh"
|
source "$HOME/anaconda3/etc/profile.d/conda.sh"
|
||||||
|
|
||||||
|
conda config --add channels conda-forge
|
||||||
|
|
||||||
|
conda config --set channel_priority strict
|
||||||
|
|
||||||
|
conda update -n base -c conda-forge conda -y
|
||||||
|
|
||||||
if [ "$LITE" = "true" ]; then
|
if [ "$LITE" = "true" ]; then
|
||||||
bash install.sh --device "CU${CUDA_VERSION//./}" --source HF
|
bash install.sh --device "CU${CUDA_VERSION//./}" --source HF
|
||||||
elif [ "$LITE" = "false" ]; then
|
elif [ "$LITE" = "false" ]; then
|
||||||
@ -60,4 +66,8 @@ pip cache purge
|
|||||||
|
|
||||||
pip show torch
|
pip show torch
|
||||||
|
|
||||||
rm -rf "$HOME/.cache" /tmp/* /var/tmp/*
|
rm -rf /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
rm -rf "$HOME/anaconda3/pkgs/*"
|
||||||
|
|
||||||
|
rm -rf /root/.conda /root/.cache
|
||||||
|
@ -19,7 +19,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -qq && \
|
|||||||
curl \
|
curl \
|
||||||
unzip \
|
unzip \
|
||||||
git \
|
git \
|
||||||
vim \
|
nano \
|
||||||
htop \
|
htop \
|
||||||
procps \
|
procps \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
12
install.sh
12
install.sh
@ -126,16 +126,16 @@ fi
|
|||||||
# 安装构建工具
|
# 安装构建工具
|
||||||
# Install build tools
|
# Install build tools
|
||||||
echo "Installing GCC..."
|
echo "Installing GCC..."
|
||||||
conda install -c conda-forge gcc=14 -y
|
conda install -c conda-forge gcc=14 -y --quiet
|
||||||
|
|
||||||
echo "Installing G++..."
|
echo "Installing G++..."
|
||||||
conda install -c conda-forge gxx -y
|
conda install -c conda-forge gxx -y --quiet
|
||||||
|
|
||||||
echo "Installing ffmpeg and cmake..."
|
echo "Installing ffmpeg and cmake..."
|
||||||
conda install ffmpeg cmake make -y
|
conda install ffmpeg cmake make -y --quiet
|
||||||
|
|
||||||
echo "Installing unzip..."
|
echo "Installing unzip..."
|
||||||
conda install unzip -y
|
conda install unzip -y --quiet
|
||||||
|
|
||||||
if [ "$USE_HF" = "true" ]; then
|
if [ "$USE_HF" = "true" ]; then
|
||||||
echo "Download Model From HuggingFace"
|
echo "Download Model From HuggingFace"
|
||||||
@ -246,9 +246,9 @@ echo "Installing Python dependencies from requirements.txt..."
|
|||||||
# Refresh environment
|
# Refresh environment
|
||||||
hash -r
|
hash -r
|
||||||
|
|
||||||
pip install -r extra-req.txt --no-deps
|
pip install -r extra-req.txt --no-deps --quiet
|
||||||
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt --quiet
|
||||||
|
|
||||||
python -c "import nltk; nltk.download(['averaged_perceptron_tagger','averaged_perceptron_tagger_eng','cmudict'])"
|
python -c "import nltk; nltk.download(['averaged_perceptron_tagger','averaged_perceptron_tagger_eng','cmudict'])"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user