• Joined on 2025-08-20

kokoro (sha-6999bcd)

Published 2026-04-08 20:01:04 -04:00 by scott in scott/kokoro

Installation

docker pull git.sdgarren.com/scott/kokoro:sha-6999bcd
sha256:54ee59649bfa5227ca0167548bb5351eecb0722e9eab1681f9c96b5ccd074a72

Images

Digest OS / Arch Size
cc2ae8f2a2 linux/amd64 4.6 GiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:89847d76d242dea90ede05e9e1e13a1ff4400a65eafbe2d6e31e086c93893580 in /
CMD ["/bin/bash"]
LABEL maintainer=dl.mlsedevops@amd.com
ARG ROCM_VERSION=5.3
ARG AMDGPU_VERSION=5.3
ARG APT_PREF
RUN |3 ROCM_VERSION=6.1.2 AMDGPU_VERSION=6.1.2 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c echo "$APT_PREF" > /etc/apt/preferences.d/rocm-pin-600 # buildkit
RUN |3 ROCM_VERSION=6.1.2 AMDGPU_VERSION=6.1.2 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl libnuma-dev gnupg && curl -sL https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - && printf "deb [arch=amd64] https://repo.radeon.com/rocm/apt/$ROCM_VERSION/ jammy main" | tee /etc/apt/sources.list.d/rocm.list && printf "deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu jammy main" | tee /etc/apt/sources.list.d/amdgpu.list && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo libelf1 kmod file python3-dev python3-pip rocm-dev build-essential && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |3 ROCM_VERSION=6.1.2 AMDGPU_VERSION=6.1.2 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c groupadd -g 109 render # buildkit
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV HF_HOME=/root/.cache/huggingface
RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip python3-dev espeak-ng libespeak-ng1 libsndfile1 && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c pip3 install --no-cache-dir torch==2.5.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/rocm6.1 # buildkit
COPY requirements.txt /app/requirements.txt # buildkit
RUN /bin/sh -c pip3 install --no-cache-dir -r /app/requirements.txt # buildkit
RUN /bin/sh -c python3 -c "from kokoro import KModel; print('Downloading Kokoro model weights...'); KModel(repo_id='hexgrad/Kokoro-82M'); print('Model download complete.')" # buildkit
WORKDIR /app
COPY server.py config.yaml entrypoint.sh ./ # buildkit
RUN /bin/sh -c chmod +x entrypoint.sh # buildkit
EXPOSE [10300/tcp]
ENTRYPOINT ["./entrypoint.sh"]

Labels

Key Value
maintainer dl.mlsedevops@amd.com
org.opencontainers.image.created 2026-04-08T23:59:11.559Z
org.opencontainers.image.description Kokoro TTS with ROCm Docker image and Wyoming protocol server for Home Assistant
org.opencontainers.image.licenses
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 6999bcdb5704d2de1bcdad8894cec2e14e0e488b
org.opencontainers.image.source https://git.sdgarren.com/scott/kokoro
org.opencontainers.image.title kokoro
org.opencontainers.image.url https://git.sdgarren.com/scott/kokoro
org.opencontainers.image.version main
Details
Container
2026-04-08 20:01:04 -04:00
0
OCI / Docker
Versions (3) View all
buildcache 2026-04-08
main 2026-04-08
sha-6999bcd 2026-04-08