Spaces:
Sleeping
Sleeping
Add C++ build deps so pypi-kenlm can compile in slim image
#3
by chirag18 - opened
PRs #1 and #2 both built and silently failed at the pip-install
step because pypi-kenlm publishes source-only on PyPI — no
manylinux wheels — and python:3.11-slim doesn't ship a C++
toolchain. Adding g++, Boost, bz2/lzma/zlib dev headers lets pip
compile the bindings during install. ~250 MB image growth, but
necessary for shallow-fusion LM functionality.
deepakkaura changed pull request status to merged