From 94eca04c60fcc04de652f710721f934aed4c538a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=95=AA=E8=8C=84=E6=91=94=E6=88=90=E7=95=AA=E8=8C=84?= =?UTF-8?q?=E9=85=B1?= <68098251+fqscfqj@users.noreply.github.com> Date: Tue, 2 Jun 2026 20:48:27 +0800 Subject: [PATCH] fix(nemo): pin texterrors to 1.1.6 for GLIBCXX compatibility (#10134) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pin texterrors==1.1.6 before nemo_toolkit[asr] in requirements-cublas13.txt. The texterrors package (a NeMo transitive dependency) contains a compiled C++ extension (texterrors_align.so) that may be built from source during OCI image creation. When built on systems with GCC 14+ (e.g. Ubuntu 24.04), the resulting binary requires GLIBCXX_3.4.32, which is not available in the default LocalAI container (Ubuntu 22.04, GLIBCXX up to 3.4.30). Pinning to 1.1.6 (the latest release) ensures: - Reproducible builds across environments - pip resolves the pre-built manylinux2014 wheel (needs only GLIBCXX_3.4.11) instead of potentially building from source with a newer toolchain Fixes #10056 Signed-off-by: 番茄摔成番茄酱 --- backend/python/nemo/requirements-cublas13.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/python/nemo/requirements-cublas13.txt b/backend/python/nemo/requirements-cublas13.txt index 50c18d53e..8c996c10b 100644 --- a/backend/python/nemo/requirements-cublas13.txt +++ b/backend/python/nemo/requirements-cublas13.txt @@ -1,3 +1,4 @@ --extra-index-url https://download.pytorch.org/whl/cu130 torch +texterrors==1.1.6 nemo_toolkit[asr]