• Stefy Lanza (nextime / spora )'s avatar
    give the images a C++ compiler, so XTTS can speak Japanese · fe5c785f
    Stefy Lanza (nextime / spora ) authored
    cutlet, XTTS's Japanese phonemiser, pulls mojimoji — a C++ extension with no
    cp313 wheel, so it compiles when the isolated TTS venv is built. The build asked
    for clang++, because the bundled Python records clang++ as its C++ compiler and
    these images have no clang. They had no C++ compiler at all: g++, c++ and clang
    were all absent, /usr/include/c++ did not exist, and only libstdc++.so.6 was
    there without its dev symlink. So gcc's presence — added for Triton's runtime JIT
    — looked like it covered this and did not.
    
    g++ is added to the same apt lists for the same reason gcc is in them: not to
    build the image, but because something compiles at RUNTIME inside it. It brings
    /usr/bin/c++ and the C++ headers with it. Done in Dockerfile.oci-venv (the one
    build_oci_image.sh actually builds), Dockerfile.oci, and the pod
    capability-base.
    
    The pod XTTS profile had the same undeclared-phonemiser gap as the server venv,
    which its own comments already describe for click — so pypinyin, cutlet, fugashi
    and unidic-lite are declared there too, and its deep check now imports both
    phonemisers and constructs a Cutlet, because the failure they cause is invisible
    at install and at boot: the pod answers /v1/models with all seventeen languages
    and then refuses two of them per request.
    
    Verified on zeiss after installing these: 17 of 17 XTTS languages return audio,
    and cutlet romanises Japanese through a working fugashi dictionary.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZozi1Ehk96NG1WesgC
    fe5c785f
Name
Last commit
Last update
..
audio.build-deps Loading commit data...
audio.nodeps Loading commit data...
audio.txt Loading commit data...
core-light.txt Loading commit data...
core.txt Loading commit data...
embeddings.txt Loading commit data...
engines-kt.apt Loading commit data...
engines-kt.light Loading commit data...
engines-kt.txt Loading commit data...
engines-kt.venv-sglang.check Loading commit data...
engines-kt.venv-sglang.txt Loading commit data...
engines-kt.venv-sglang.uv Loading commit data...
engines.dockerfile Loading commit data...
engines.light Loading commit data...
engines.txt Loading commit data...
faceswap.txt Loading commit data...
images.txt Loading commit data...
llama.dockerfile Loading commit data...
llama.light Loading commit data...
llama.txt Loading commit data...
ocr-paddle.light Loading commit data...
ocr-paddle.txt Loading commit data...
ocr-paddle.venv-paddleocr.txt Loading commit data...
ocr.txt Loading commit data...
ocr.venv-surya.check Loading commit data...
ocr.venv-surya.txt Loading commit data...
speaker.light Loading commit data...
speaker.txt Loading commit data...
speaker.venv-pyannote.check Loading commit data...
speaker.venv-pyannote.txt Loading commit data...
stt-crisper.light Loading commit data...
stt-crisper.txt Loading commit data...
stt-crisper.venv-transformers.txt Loading commit data...
stt-nemo.light Loading commit data...
stt-nemo.txt Loading commit data...
stt-nemo.venv-nemo.txt Loading commit data...
stt.txt Loading commit data...
text.txt Loading commit data...
tts-xtts.light Loading commit data...
tts-xtts.txt Loading commit data...
tts-xtts.venv-TTS.check Loading commit data...
tts-xtts.venv-TTS.txt Loading commit data...
tts.txt Loading commit data...
video-longcat.apt Loading commit data...
video-longcat.dockerfile Loading commit data...
video-longcat.light Loading commit data...
video-longcat.txt Loading commit data...
video.txt Loading commit data...
vllm-ocr.apt Loading commit data...
vllm-ocr.env Loading commit data...
vllm-ocr.light Loading commit data...
vllm-ocr.txt Loading commit data...
vllm-ocr.venv-surya.check Loading commit data...
vllm-ocr.venv-surya.txt Loading commit data...
vllm-ocr.venv-vllm.check Loading commit data...
vllm-ocr.venv-vllm.txt Loading commit data...
vllm-ocr.venv-vllm.uv Loading commit data...
vllm.apt Loading commit data...
vllm.light Loading commit data...
vllm.txt Loading commit data...
vllm.venv-vllm.check Loading commit data...
vllm.venv-vllm.txt Loading commit data...
vllm.venv-vllm.uv Loading commit data...
voice.build-deps Loading commit data...
voice.txt Loading commit data...