From f3d6e8476e337f8c35cd036c86f05976329acb9d Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Wed, 11 Dec 2024 22:06:19 +0100 Subject: [PATCH] misc(ci): let's try to build with sccache --- .github/workflows/build_trtllm.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_trtllm.yaml b/.github/workflows/build_trtllm.yaml index c74282bfff9..7bda6241d75 100644 --- a/.github/workflows/build_trtllm.yaml +++ b/.github/workflows/build_trtllm.yaml @@ -22,7 +22,7 @@ on: permissions: contents: read # Required to check out repository. id-token: write # Required to authenticate via OIDC. - + jobs: build: runs-on: @@ -38,7 +38,15 @@ jobs: role-to-assume: ${{ secrets.AWS_ROLE_GITHUB_TGI_TEST }} - name: "Install sccache" - run: cargo install sscache + run: cargo install sccache --locked + + - name: "Build TensorRT-LLM Backend" + env: + SCCACHE_BUCKET: ${{ secrets.AWS_S3_BUCKET_GITHUB_TGI_TEST }} + SCCACHE_REGION: "us-east-1" + SCCACHE_S3_USE_SSL: false + SCCACHE_S3_KEY_PREFIX: "tgi+trtllm" + run: sccache build --package text-generation-backends-trtllm --bin text-generation-backends-trtllm