From 0dacfcad19ca09ad19ec95a648e474235c6fbb33 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Sun, 23 Mar 2025 23:05:00 +0100 Subject: [PATCH] Upgrade toolchain. --- Dockerfile | 2 +- Dockerfile.neuron | 2 +- Dockerfile_amd | 2 +- Dockerfile_gaudi | 2 +- Dockerfile_intel | 2 +- Dockerfile_llamacpp | 2 +- Dockerfile_trtllm | 2 +- rust-toolchain.toml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index cbb0977f..f804c2b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Rust builder -FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.1 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile.neuron b/Dockerfile.neuron index b2e0eb2c..d22ca222 100644 --- a/Dockerfile.neuron +++ b/Dockerfile.neuron @@ -18,7 +18,7 @@ RUN apt-get update -y \ && rm -rf /var/lib/apt/lists/* \ && apt-get clean -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.0 --profile minimal -y +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.1 --profile minimal -y ENV PATH="/root/.cargo/bin:${PATH}" RUN cargo install cargo-chef --locked diff --git a/Dockerfile_amd b/Dockerfile_amd index 9d035c2d..d03ae596 100644 --- a/Dockerfile_amd +++ b/Dockerfile_amd @@ -1,5 +1,5 @@ # Rust builder -FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.1 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile_gaudi b/Dockerfile_gaudi index 9009f95b..eff87ab6 100644 --- a/Dockerfile_gaudi +++ b/Dockerfile_gaudi @@ -3,7 +3,7 @@ ARG HABANA_VERSION=1.20.0 ARG PYTORCH_VERSION=2.6.0 # Rust builder -FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.1 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile_intel b/Dockerfile_intel index 10ed914a..5bf7632c 100644 --- a/Dockerfile_intel +++ b/Dockerfile_intel @@ -1,6 +1,6 @@ ARG PLATFORM=xpu -FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.1 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile_llamacpp b/Dockerfile_llamacpp index 4fc61347..291ae88c 100644 --- a/Dockerfile_llamacpp +++ b/Dockerfile_llamacpp @@ -41,7 +41,7 @@ RUN mkdir -p llama.cpp \ WORKDIR /app COPY rust-toolchain.toml rust-toolchain.toml -RUN curl -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain 1.85.0 --profile minimal -y +RUN curl -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain 1.85.1 --profile minimal -y ENV PATH="/root/.cargo/bin:$PATH" RUN cargo install cargo-chef --locked diff --git a/Dockerfile_trtllm b/Dockerfile_trtllm index d099ec87..7df2e368 100644 --- a/Dockerfile_trtllm +++ b/Dockerfile_trtllm @@ -71,7 +71,7 @@ ARG actions_runtime_token # Install Rust ENV PATH="/root/.cargo/bin:$PATH" -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.0 --profile minimal -y && \ +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.1 --profile minimal -y && \ chmod -R a+w /root/.rustup && \ chmod -R a+w /root/.cargo && \ cargo install sccache --locked diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 8e51cc69..700c6d9d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] # Released on: 30 January, 2025 # https://releases.rs/docs/1.84.1/ -channel = "1.85.0" +channel = "1.85.1" components = ["rustfmt", "clippy"]