misc(ci): again...

This commit is contained in:
Morgan Funtowicz 2025-01-20 13:08:20 +01:00
parent 87039cf211
commit 549d7e349a

View File

@ -76,9 +76,12 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y &&
chmod -R a+w /root/.cargo && \ chmod -R a+w /root/.cargo && \
cargo install sccache --locked cargo install sccache --locked
# Build actual TGI ENV PATH="/root/.cargo/bin:$PATH"
ARG build_type RUN cargo install cargo-chef
ARG is_gha_build
# Cache dependencies
COPY --from=planner /usr/src/text-generation-inference/backends/trtllm/recipe.json .
RUN cargo chef cook --release --recipe-path recipe.json
# SCCACHE Specifics args - before finding a better, more generic, way... # SCCACHE Specifics args - before finding a better, more generic, way...
ARG aws_access_key_id ARG aws_access_key_id