mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 14:52:20 +00:00
fix(neuron): explicitly install toolchain (#3072)
* fix(neuron): explicitly install toolchain * ci(neuron): trigger CI when Dockerfile is modified
This commit is contained in:
parent
491ed9e11d
commit
cb42b3ad83
1
.github/workflows/ci_build.yaml
vendored
1
.github/workflows/ci_build.yaml
vendored
@ -20,6 +20,7 @@ on:
|
|||||||
- "Dockerfile"
|
- "Dockerfile"
|
||||||
- "Dockerfile_amd"
|
- "Dockerfile_amd"
|
||||||
- "Dockerfile_intel"
|
- "Dockerfile_intel"
|
||||||
|
- "Dockerfile.neuron"
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- "main"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
@ -18,8 +18,7 @@ RUN apt-get update -y \
|
|||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
COPY rust-toolchain.toml rust-toolchain.toml
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.0 --profile minimal -y
|
||||||
RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain none
|
|
||||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||||
RUN cargo install cargo-chef --locked
|
RUN cargo install cargo-chef --locked
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user