Skip to content

[Bug] Dependency Error: 'lilcom' missing wheel causes Parakeet/Sortformer init failure (Docker CUDA) #384

@Tomanic-glitch

Description

@Tomanic-glitch

Description
I am running the scriberr-cuda:latest image on Docker Desktop for Windows (WSL2). While the Canary and Whisper models work correctly, initialization for Parakeet and Sortformer (Diarization) fails consistently due to a missing Python dependency (lilcom).

The container attempts to download lilcom==1.8.2 via uv sync, but fails because there is no pre-built wheel available on PyPI for the container's platform (manylinux_2_39_x86_64).

Reproduction Steps
Run the container on Windows 11 (Docker Desktop / WSL2):

docker run -d --name scriberr --gpus all --shm-size=2gb -p 9003:8080
-e TZ=Europe/Prague -e PUID=1005 -e PGID=1005 -e APP_ENV=production
-v scriberr_data_fixed:/app/data -v scriberr_env:/app/whisperx-env
ghcr.io/rishikanthc/scriberr-cuda:latest
Wait for the container to start and initialize models.

Observe logs via docker logs scriberr.

Logs

time=18:43:45 level="WARN " msg="Model initialization error" error="diarization model sortformer: failed to setup Sortformer environment: uv sync failed: exit status 2: Using CPython 3.12.3 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
error: Distribution lilcom==1.8.2 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform

hint: You're on Linux (manylinux_2_39_x86_64), but lilcom (v1.8.2) only has wheels for the following platforms: manylinux_2_17_aarch64, manylinux2014_aarch64, macosx_10_13_universal2, win_amd64; consider adding "sys_platform == 'linux' and platform_machine == 'x86_64'" to tool.uv.required-environments to ensure uv resolves to a version with compatible wheels"

Environment
Host: Windows 11 Pro 25H2

Docker: Docker Desktop v4.56 (WSL2 Backend)

Image: ghcr.io/rishikanthc/scriberr-cuda:latest

GPU: NVIDIA GeForce 4070Ti

Additional Context
I noticed issue #369 reports a similar build failure for Parakeet (texterrors), but this error is specifically regarding lilcom. The hint suggests that uv needs to be configured to build from source or a different version of lilcom should be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions