From e3f2018cb5d7a8bfbfbbbc0d2dc63e2195f4229f Mon Sep 17 00:00:00 2001 From: Hugo Larcher Date: Mon, 3 Feb 2025 11:11:15 +0100 Subject: [PATCH] hotfix: fix trtllm CI build on release (#2981) * hotfix: fix trtllm CI build on release * fix: test release. * fix: test release. * fix: test release. env not recognized https://github.com/actions/runner/issues/1661 * fix: test release. Works. --- .github/workflows/build.yaml | 3 ++- Dockerfile_trtllm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c991ffcb..1bd7163f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -74,7 +74,7 @@ jobs: export runs_on="ubuntu-latest" export platform="" export extra_pytest="" - if [[ "${GITHUB_REF}" == "refs/tags/*" ]]; then + if [[ "${GITHUB_REF}" == refs/tags/* ]]; then export build_type="release"; export target=""; else @@ -263,4 +263,5 @@ jobs: steps: - name: Run C++/CUDA tests + if: ${{ env.LABEL == 'ci-runtime' }} run: /usr/local/tgi/bin/tgi_trtllm_backend_tests diff --git a/Dockerfile_trtllm b/Dockerfile_trtllm index 999d63d7..2a0636ff 100644 --- a/Dockerfile_trtllm +++ b/Dockerfile_trtllm @@ -1,7 +1,7 @@ ARG cuda_arch_list="75-real;80-real;86-real;89-real;90-real" ARG build_type=release ARG ompi_version=4.1.7 -ARG sccache_gha_enabled=no +ARG sccache_gha_enabled=off ARG actions_cache_url="" ARG actions_runtime_token=""