Ver Fonte

fix: install protobuf for cpu (#716)

AlpinDale há 6 meses atrás
pai
commit
d289c3855b
2 ficheiros alterados com 3 adições e 2 exclusões
  1. 1 1
      Dockerfile.cpu
  2. 2 1
      requirements-common.txt

+ 1 - 1
Dockerfile.cpu

@@ -11,7 +11,7 @@ RUN apt-get update -y \
 # tcmalloc provides better memory allocation efficiency, e.g, holding memory in caches to speed up access of commonly-used objects.
 RUN pip install intel-openmp
 
-ENV LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4:/usr/local/lib/libiomp5.so:$LD_PRELOAD"
+ENV LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4:/usr/local/lib/libiomp5.so"
 
 RUN echo 'ulimit -c 0' >> ~/.bashrc
 

+ 2 - 1
requirements-common.txt

@@ -28,4 +28,5 @@ librosa  # Required for audio processing
 soundfile  # Required for audio processing
 gguf == 0.9.1
 importlib_metadata
-mistral_common >= 1.3.4
+mistral_common >= 1.3.4
+protobuf