mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-05 18:09:24 +08:00
Merge pull request #1459 from huiwq1990/feat-fixpip
pip install disable cache
This commit is contained in:
@@ -46,6 +46,6 @@ RUN git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
|
|||||||
|
|
||||||
RUN conda activate ${VENV} && conda install -y -c conda-forge pynini==2.1.5
|
RUN conda activate ${VENV} && conda install -y -c conda-forge pynini==2.1.5
|
||||||
RUN conda activate ${VENV} && cd CosyVoice && \
|
RUN conda activate ${VENV} && cd CosyVoice && \
|
||||||
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
|
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com --no-cache-dir
|
||||||
|
|
||||||
WORKDIR /workspace/CosyVoice
|
WORKDIR /workspace/CosyVoice
|
||||||
|
|||||||
@@ -9,5 +9,5 @@ RUN apt-get -y install git unzip git-lfs g++
|
|||||||
RUN git lfs install
|
RUN git lfs install
|
||||||
RUN git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
|
RUN git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
|
||||||
# here we use python==3.10 because we cannot find an image which have both python3.8 and torch2.0.1-cu118 installed
|
# here we use python==3.10 because we cannot find an image which have both python3.8 and torch2.0.1-cu118 installed
|
||||||
RUN cd CosyVoice && pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
|
RUN cd CosyVoice && pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com --no-cache-dir
|
||||||
RUN cd CosyVoice/runtime/python/grpc && python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. cosyvoice.proto
|
RUN cd CosyVoice/runtime/python/grpc && python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. cosyvoice.proto
|
||||||
Reference in New Issue
Block a user