File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ ARG ACTIONS_CACHE_URL
2828ARG ACTIONS_RUNTIME_TOKEN
2929ARG SCCACHE_GHA_ENABLED
3030
31+ RUN echo "int mkl_serv_intel_cpu_true() {return 1;}" > fakeintel.c && \
32+ gcc -shared -fPIC -o libfakeintel.so fakeintel.c
33+
3134COPY --from=planner /usr/src/recipe.json recipe.json
3235
3336RUN cargo chef cook --release --features candle --no-default-features --recipe-path recipe.json && sccache -s
@@ -70,6 +73,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
7073 curl \
7174 && rm -rf /var/lib/apt/lists/*
7275
76+ COPY --from=builder /usr/src/libfakeintel.so /usr/local/libfakeintel.so
77+
7378FROM base as grpc
7479
7580COPY --from=grpc-builder /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router
You can’t perform that action at this time.
0 commit comments