File tree 4 files changed +9
-8
lines changed
4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 83
83
# Pre-build piper before we start tests in order to have shared libraries in place
84
84
make sources/go-piper && \
85
85
GO_TAGS="tts" make -C sources/go-piper piper.o && \
86
- sudo cp -rfv sources/go-piper/piper/build /pi/lib/. /usr/lib/ && \
86
+ sudo cp -rfv sources/go-piper/piper-phonemize /pi/lib/. /usr/lib/ && \
87
87
# Pre-build stable diffusion before we install a newer version of abseil (not compatible with stablediffusion-ncn)
88
88
GO_TAGS="stablediffusion tts" GRPC_BACKENDS=backend-assets/grpc/stablediffusion make build
89
89
Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ RUN if [ "${BUILD_GRPC}" = "true" ]; then \
105
105
# Rebuild with defaults backends
106
106
RUN make build
107
107
108
- RUN if [ ! -d "/build/sources/go-piper/piper/build /pi/lib/" ]; then \
109
- mkdir -p /build/sources/go-piper/piper/build /pi/lib/ \
110
- touch /build/sources/go-piper/piper/build /pi/lib/keep \
108
+ RUN if [ ! -d "/build/sources/go-piper/piper-phonemize /pi/lib/" ]; then \
109
+ mkdir -p /build/sources/go-piper/piper-phonemize /pi/lib/ \
110
+ touch /build/sources/go-piper/piper-phonemize /pi/lib/keep \
111
111
; fi
112
112
113
113
# ##################################
@@ -151,7 +151,7 @@ RUN make prepare-sources && cd /build/grpc/cmake/build && make install && rm -rf
151
151
COPY --from=builder /build/local-ai ./
152
152
153
153
# Copy shared libraries for piper
154
- COPY --from=builder /build/sources/go-piper/piper/build /pi/lib/* /usr/lib/
154
+ COPY --from=builder /build/sources/go-piper/piper-phonemize /pi/lib/* /usr/lib/
155
155
156
156
# do not let stablediffusion rebuild (requires an older version of absl)
157
157
COPY --from=builder /build/backend-assets/grpc/stablediffusion ./backend-assets/grpc/stablediffusion
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ WHISPER_CPP_VERSION?=3c28d1a5712e4c06b0380166e6f482ca2b525970
28
28
BERT_VERSION? =6abe312cded14042f6b7c3cd8edf082713334a4d
29
29
30
30
# go-piper version
31
- PIPER_VERSION? =5a4c9e28c84bac09ab6baa9f88457d852cb46bb2
31
+ PIPER_VERSION? =5386f3ed8e8ff6d9474832aa9a9a6a8d7b337d6a
32
32
33
33
# stablediffusion version
34
34
STABLEDIFFUSION_VERSION? =902db5f066fd137697e3b69d0fa10d4782bd2c2f
@@ -191,7 +191,7 @@ backend-assets/gpt4all: sources/gpt4all/gpt4all-bindings/golang/libgpt4all.a
191
191
backend-assets/espeak-ng-data : sources/go-piper
192
192
mkdir -p backend-assets/espeak-ng-data
193
193
$(MAKE ) -C sources/go-piper piper.o
194
- @cp -rf sources/go-piper/piper/build /pi/share/espeak-ng-data/. backend-assets/espeak-ng-data
194
+ @cp -rf sources/go-piper/piper-phonemize /pi/share/espeak-ng-data/. backend-assets/espeak-ng-data
195
195
196
196
sources/gpt4all/gpt4all-bindings/golang/libgpt4all.a : sources/gpt4all
197
197
$(MAKE ) -C sources/gpt4all/gpt4all-bindings/golang/ libgpt4all.a
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencies:
15
15
# - ncurses=6.4=h6a678d5_0
16
16
# - openssl=3.0.11=h7f8727e_2
17
17
# - pip=23.2.1=py311h06a4308_0
18
- # - python=3.11.5=h955ad1f_0
18
+ - python=3.11.5=h955ad1f_0
19
19
# - readline=8.2=h5eee18b_0
20
20
# - setuptools=68.0.0=py311h06a4308_0
21
21
# - sqlite=3.41.2=h5eee18b_0
@@ -25,5 +25,6 @@ dependencies:
25
25
# - xz=5.4.2=h5eee18b_0
26
26
# - zlib=1.2.13=h5eee18b_0
27
27
- pip :
28
+ - torch==2.1.0
28
29
- git+https://github.com/bigscience-workshop/petals
29
30
prefix : /opt/conda/envs/petals
You can’t perform that action at this time.
0 commit comments