Skip to content

Commit

Permalink
misc(ci): let's try to build with sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuntowicz committed Dec 11, 2024
1 parent cda97a5 commit f3d6e84
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build_trtllm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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



Expand Down

0 comments on commit f3d6e84

Please sign in to comment.