mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
misc(ci): again...
This commit is contained in:
parent
87039cf211
commit
549d7e349a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user