Add files via upload
This commit is contained in:
1 parent
4e67931fe9
commit
131f14de76
3 files changed
+51
-41
No files matched your search
+18
-16
@@ -1,17 +1,19 @@
|
|||||||
FROM ubuntu:22.04
|
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
|
||||||
ENV HOST 0.0.0.0
|
ENV HOST 0.0.0.0
|
||||||
RUN apt-get update && apt-get upgrade -y \
|
RUN apt-get update && apt-get upgrade -y \
|
||||||
&& apt-get install -y git build-essential portaudio19-dev \
|
&& apt-get install -y git build-essential portaudio19-dev \
|
||||||
python3 python3-pip gcc wget \
|
python3 python3-pip gcc wget \
|
||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
ocl-icd-opencl-dev opencl-headers clinfo \
|
||||||
|
libclblast-dev libopenblas-dev libaio-dev \
|
||||||
RUN mkdir -p /app && mkdir -p /app/pip_cache
|
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd \
|
||||||
ENV PIP_CACHE_DIR=/app/pip_cache
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install --no-cache-dir --no-deps -r system/requirements/requirements_standalone.txt --cache-dir=/app/pip_cache
|
ENV CUDA_DOCKER_ARCH=all
|
||||||
|
RUN pip install --no-cache-dir --no-deps -r system/requirements/requirements_docker.txt && \
|
||||||
EXPOSE 7851
|
pip install --no-cache-dir deepspeed
|
||||||
RUN chmod +x launch.sh
|
|
||||||
|
EXPOSE 7851 7852
|
||||||
|
RUN chmod +x launch.sh
|
||||||
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
||||||
+9
-1
@@ -1,13 +1,21 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
alltalk-tts:
|
alltalk-tts:
|
||||||
image: erew123/alltalk_tts:cpu
|
image: alltalk:v1-9c
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "7851:7851"
|
- "7851:7851"
|
||||||
|
- "7852:7852"
|
||||||
volumes:
|
volumes:
|
||||||
- ./outputs:/app/outputs/
|
- ./outputs:/app/outputs/
|
||||||
- ./models:/app/models/
|
- ./models:/app/models/
|
||||||
- ./voices:/app/voices/
|
- ./voices:/app/voices/
|
||||||
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
- ./finetune/put-voice-samples-in-here:/app/finetune/put-voice-samples-in-here
|
||||||
- ./dockerconfig.json:/app/confignew.json
|
- ./dockerconfig.json:/app/confignew.json
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: all
|
||||||
|
capabilities: [ gpu ]
|
||||||
+24
-24
@@ -1,25 +1,25 @@
|
|||||||
{
|
{
|
||||||
"activate": true,
|
"activate": true,
|
||||||
"autoplay": true,
|
"autoplay": true,
|
||||||
"branding": "AllTalk ",
|
"branding": "AllTalk ",
|
||||||
"narrator_enabled": false,
|
"narrator_enabled": false,
|
||||||
"deepspeed_activate": true,
|
"deepspeed_activate": true,
|
||||||
"delete_output_wavs": "Disabled",
|
"delete_output_wavs": "Disabled",
|
||||||
"ip_address": "127.0.0.1",
|
"ip_address": "127.0.0.1",
|
||||||
"language": "English",
|
"language": "English",
|
||||||
"low_vram": false,
|
"low_vram": false,
|
||||||
"local_temperature": "0.7",
|
"local_temperature": "0.7",
|
||||||
"local_repetition_penalty": "10.0",
|
"local_repetition_penalty": "10.0",
|
||||||
"tts_model_loaded": true,
|
"tts_model_loaded": true,
|
||||||
"tts_model_name": "tts_models/multilingual/multi-dataset/xtts_v2",
|
"tts_model_name": "tts_models/multilingual/multi-dataset/xtts_v2",
|
||||||
"narrator_voice": "female_01.wav",
|
"narrator_voice": "female_01.wav",
|
||||||
"output_folder_wav": "extensions/alltalk_tts/outputs/",
|
"output_folder_wav": "extensions/alltalk_tts/outputs/",
|
||||||
"output_folder_wav_standalone": "outputs/",
|
"output_folder_wav_standalone": "outputs/",
|
||||||
"port_number": "7851",
|
"port_number": "7851",
|
||||||
"remove_trailing_dots": false,
|
"remove_trailing_dots": false,
|
||||||
"show_text": true,
|
"show_text": true,
|
||||||
"tts_method_api_local": false,
|
"tts_method_api_local": false,
|
||||||
"tts_method_api_tts": false,
|
"tts_method_api_tts": false,
|
||||||
"tts_method_xtts_local": true,
|
"tts_method_xtts_local": true,
|
||||||
"voice": "female_01.wav"
|
"voice": "female_01.wav"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user