-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【建议】Feature Docker部署Debian #36
Comments
感谢反馈!后续会考虑的 |
linux 下dockerfile如下,未做测试 Base image with CUDA 12.1 supportFROM nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu20.04 Set environment variables to preconfigure tzdataENV DEBIAN_FRONTEND=noninteractive Set the working directoryWORKDIR /app Install Python 3, pip, ffmpeg, tzdata, and other dependenciesRUN apt-get update && apt-get install -y Set the pip mirror based on the selected regionARG REGION Install PyTorch, torchvision, and torchaudio with CUDA 12.1 supportRUN pip3 install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121 Clone the required GitHub repositoryRUN git clone https://github.com/Chenyme/Chenyme-AAVT.git Create the model/whisper-large-v3 directory and download required filesRUN mkdir -p /app/Chenyme-AAVT/model/whisper-large-v3 Set the working directory to the cloned repositoryWORKDIR /app/Chenyme-AAVT Install additional Python dependencies (add any needed packages here)RUN pip3 install streamlit Run font_data.py and then start the Streamlit appCMD ["bash", "-c", "python3 project/font_data.py && streamlit run Chenyme-AAVT.py"] |
感谢! |
现已支持 Linux Docker 部署~ |
系统和容器的cuda需要一致吗 |
Debian is best
The text was updated successfully, but these errors were encountered: