diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 3c4adfd5..0ef9540f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -32,7 +32,7 @@ jobs: # Released on: 02 May, 2024 # https://releases.rs/docs/1.78.0/ # Let rust-toolchain.toml - toolchain: 1.84.1 + toolchain: 1.85.0 override: true components: rustfmt, clippy - name: Install Protoc diff --git a/Dockerfile b/Dockerfile index 483b3e21..fb87968a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Rust builder -FROM lukemathwalker/cargo-chef:latest-rust-1.84.1 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile.neuron b/Dockerfile.neuron index cb6e90d0..5a22fab3 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.84.1 --profile minimal -y +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.0 --profile minimal -y ENV PATH="/root/.cargo/bin:${PATH}" RUN cargo install cargo-chef --locked diff --git a/Dockerfile_amd b/Dockerfile_amd index 6c3b62af..9d035c2d 100644 --- a/Dockerfile_amd +++ b/Dockerfile_amd @@ -1,5 +1,5 @@ # Rust builder -FROM lukemathwalker/cargo-chef:latest-rust-1.84.1 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile_gaudi b/Dockerfile_gaudi index 91b172ed..6d37c6ae 100644 --- a/Dockerfile_gaudi +++ b/Dockerfile_gaudi @@ -3,7 +3,7 @@ ARG HABANA_VERSION ARG PYTORCH_VERSION # Rust builder -FROM lukemathwalker/cargo-chef:latest-rust-1.80 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile_intel b/Dockerfile_intel index 8d8474da..bdff0290 100644 --- a/Dockerfile_intel +++ b/Dockerfile_intel @@ -1,6 +1,6 @@ ARG PLATFORM=xpu -FROM lukemathwalker/cargo-chef:latest-rust-1.84.1 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.85.0 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse diff --git a/Dockerfile_llamacpp b/Dockerfile_llamacpp index 2eb62a1f..8abe6b7c 100644 --- a/Dockerfile_llamacpp +++ b/Dockerfile_llamacpp @@ -36,7 +36,7 @@ RUN tar -xzf ${llamacpp_version}.tar.gz \ WORKDIR /app COPY rust-toolchain.toml rust-toolchain.toml -RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain none +RUN curl -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain 1.85.0 --profile minimal -y ENV PATH="/root/.cargo/bin:$PATH" RUN cargo install cargo-chef --locked diff --git a/Dockerfile_trtllm b/Dockerfile_trtllm index 5f46f2dc..d099ec87 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.84.1 --profile minimal -y && \ +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.85.0 --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 93736dfb..20f50537 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.84.1" +channel = "1.85.0 components = ["rustfmt", "clippy"]