Open-source inference server and production cluster for all the models your agent needs.
Python bgecolbertdata-pipelinedeep-learningembeddingsinferenceinference-serverinformation-retrievalllmmlmlopsnatural-language-processingnlppythonrerankingretrievalretrieval-augmented-generationsemantic-searchspladevector-search
fix(server): ship FFmpeg shared libraries in the SGLang runtime image (#322)
Krisztian Gajdar9d9803790a7c
diff --git a/packages/sie_server/Dockerfile.cuda12 b/packages/sie_server/Dockerfile.cuda12index afa7fa797..ab46ac2da 100644--- a/packages/sie_server/Dockerfile.cuda12+++ b/packages/sie_server/Dockerfile.cuda12@@ -216,6 +216,18 @@ FROM nvidia/cuda:12.4.1-base-ubuntu22.04 AS runtime-transformers5FROM nvidia/cuda:12.9.1-cudnn-devel-ubuntu22.04 AS runtime-sglangENV CUDA_HOME=/usr/local/cuda \LD_LIBRARY_PATH="/usr/local/cuda/lib64:$LD_LIBRARY_PATH"+# FFmpeg shared libraries: SGLang decodes video inputs with torchcodec, which+# dlopens them at first use and has no bundled FFmpeg.+RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \+ --mount=type=cache,target=/var/lib/apt/lists,sharing=locked \+ apt-get update && apt-get install -y --no-install-recommends \+ libavcodec58 \+ libavdevice58 \+ libavfilter7 \+ libavformat58 \+ libavutil56 \+ libswresample3 \+ libswscale5FROM runtime-sglang AS runtime-sglang-embeddingFROM runtime-sglang AS runtime-sglang-vision-extract# NOTE: the sglang-cu130 bundle (CUDA 13 / sglang 0.5.13 / torch 2.11 cu130) is built by