This commit is contained in:
2025-09-09 18:15:48 +08:00
parent b2c94ecd9d
commit 5088f0b50a
602 changed files with 591000 additions and 0 deletions

19
matcha/Dockerfile_matcha Normal file
View File

@@ -0,0 +1,19 @@
FROM git.modelhub.org.cn:9443/enginex-cambricon/mlu370-pytorch:v25.01-torch2.5.0-torchmlu1.24.1-ubuntu22.04-py310
WORKDIR /workspace
ENV PATH=/torch/venv3/pytorch_infer/bin:/workspace/ffmpeg-mlu-v4.2.0/install/bin:/usr/local/neuware/bin:/usr/local/openmpi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN sed -i 's|source /torch/venv3/pytorch/bin/activate|source /torch/venv3/pytorch_infer/bin/activate|' /root/.bashrc
WORKDIR /workspace
RUN apt-get update && \
apt-get install -y espeak-ng && \
rm -rf /var/lib/apt/lists/*
COPY requirements_matcha.txt constraints_matcha.txt matcha_server.py launch_matcha.sh /workspace/
RUN pip install -r requirements_matcha.txt
RUN pip install matcha-tts
ENTRYPOINT ["/bin/bash", "launch_matcha.sh"]