This PR adds the Cargo.lock file from TGI before running cargo chef prepare for the following TGI images:
containers/tgi/gpu/2.0.0/Cargo.lock
containers/tgi/gpu/2.0.1/Cargo.lock
containers/tgi/gpu/2.0.3/Cargo.lock
This prevents the following issue during the docker build process of those images (as of late June - July 2024):
error: package `bitstream-io v2.4.2` cannot be built because it requires rustc 1.79 or newer, while the currently active rustc version is 1.75.0
Either upgrade to rustc 1.79 or newer, or use
cargo update bitstream-io@2.4.2 --precise ver
where `ver` is the latest version of `bitstream-io` supporting rustc 1.75.0
thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-chef-0.1.62/src/recipe.rs:204:27:
Exited with status code: 101
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Description
This PR adds the
Cargo.lock
file from TGI before runningcargo chef prepare
for the following TGI images:containers/tgi/gpu/2.0.0/Cargo.lock
containers/tgi/gpu/2.0.1/Cargo.lock
containers/tgi/gpu/2.0.3/Cargo.lock
This prevents the following issue during the
docker build
process of those images (as of late June - July 2024):