Unverified Commit f87e2c58 authored by Anant Sharma's avatar Anant Sharma Committed by GitHub
Browse files

ci: disable Docker layer cache for nightly builds (#7305)


Signed-off-by: default avatarAnant Sharma <anants@nvidia.com>
parent 0608acc1
...@@ -307,9 +307,15 @@ jobs: ...@@ -307,9 +307,15 @@ jobs:
PUSH_ARGS="--load" PUSH_ARGS="--load"
fi fi
NO_CACHE_ARG=""
if [ "${{ inputs.no_cache }}" == "true" ]; then
NO_CACHE_ARG="--no-cache"
fi
docker buildx build \ docker buildx build \
--progress=plain \ --progress=plain \
${PUSH_ARGS} \ ${PUSH_ARGS} \
${NO_CACHE_ARG} \
--platform linux/${{ inputs.platform }} \ --platform linux/${{ inputs.platform }} \
-f container/Dockerfile.test \ -f container/Dockerfile.test \
--build-arg BASE_IMAGE=${{ steps.calculate-target-tag.outputs.default_target_image_uri }} \ --build-arg BASE_IMAGE=${{ steps.calculate-target-tag.outputs.default_target_image_uri }} \
......
...@@ -23,13 +23,14 @@ jobs: ...@@ -23,13 +23,14 @@ jobs:
with: with:
framework: vllm framework: vllm
target: runtime target: runtime
no_cache: true
platforms: '["amd64", "arm64"]' platforms: '["amd64", "arm64"]'
cuda_versions: '["12.9", "13.0"]' cuda_versions: '["12.9", "13.0"]'
extra_tags: | extra_tags: |
${{ github.ref_name == 'main' && 'main-vllm' || '' }} ${{ github.ref_name == 'main' && 'main-vllm' || '' }}
${{ github.ref_name == 'main' && format('main-vllm-{0}', github.sha) || '' }} ${{ github.ref_name == 'main' && format('main-vllm-{0}', github.sha) || '' }}
builder_name: b-${{ github.run_id }}-${{ github.run_attempt }} builder_name: b-${{ github.run_id }}-${{ github.run_attempt }}
build_timeout_minutes: ${{ github.ref_name == 'main' && 120 || 60 }} build_timeout_minutes: 180
cpu_only_test_markers: 'nightly and vllm and gpu_0' cpu_only_test_markers: 'nightly and vllm and gpu_0'
single_gpu_test_markers: 'nightly and vllm and gpu_1' single_gpu_test_markers: 'nightly and vllm and gpu_1'
single_gpu_test_timeout_minutes: 35 single_gpu_test_timeout_minutes: 35
...@@ -45,13 +46,14 @@ jobs: ...@@ -45,13 +46,14 @@ jobs:
with: with:
framework: sglang framework: sglang
target: runtime target: runtime
no_cache: true
platforms: '["amd64", "arm64"]' platforms: '["amd64", "arm64"]'
cuda_versions: '["12.9", "13.0"]' cuda_versions: '["12.9", "13.0"]'
extra_tags: | extra_tags: |
${{ github.ref_name == 'main' && 'main-sglang' || '' }} ${{ github.ref_name == 'main' && 'main-sglang' || '' }}
${{ github.ref_name == 'main' && format('main-sglang-{0}', github.sha) || '' }} ${{ github.ref_name == 'main' && format('main-sglang-{0}', github.sha) || '' }}
builder_name: b-${{ github.run_id }}-${{ github.run_attempt }} builder_name: b-${{ github.run_id }}-${{ github.run_attempt }}
build_timeout_minutes: ${{ github.ref_name == 'main' && 120 || 60 }} build_timeout_minutes: 180
cpu_only_test_markers: 'nightly and sglang and gpu_0' cpu_only_test_markers: 'nightly and sglang and gpu_0'
single_gpu_test_markers: 'nightly and sglang and gpu_1' single_gpu_test_markers: 'nightly and sglang and gpu_1'
multi_gpu_test_markers: 'nightly and sglang and (gpu_2 or gpu_4)' multi_gpu_test_markers: 'nightly and sglang and (gpu_2 or gpu_4)'
...@@ -66,13 +68,14 @@ jobs: ...@@ -66,13 +68,14 @@ jobs:
with: with:
framework: trtllm framework: trtllm
target: runtime target: runtime
no_cache: true
platforms: '["amd64", "arm64"]' platforms: '["amd64", "arm64"]'
cuda_versions: '["13.1"]' cuda_versions: '["13.1"]'
extra_tags: | extra_tags: |
${{ github.ref_name == 'main' && 'main-trtllm' || '' }} ${{ github.ref_name == 'main' && 'main-trtllm' || '' }}
${{ github.ref_name == 'main' && format('main-trtllm-{0}', github.sha) || '' }} ${{ github.ref_name == 'main' && format('main-trtllm-{0}', github.sha) || '' }}
builder_name: b-${{ github.run_id }}-${{ github.run_attempt }} builder_name: b-${{ github.run_id }}-${{ github.run_attempt }}
build_timeout_minutes: ${{ github.ref_name == 'main' && 120 || 60 }} build_timeout_minutes: 180
cpu_only_test_markers: 'nightly and trtllm and gpu_0' cpu_only_test_markers: 'nightly and trtllm and gpu_0'
single_gpu_test_markers: 'nightly and trtllm and gpu_1' single_gpu_test_markers: 'nightly and trtllm and gpu_1'
multi_gpu_test_markers: 'nightly and trtllm and (gpu_2 or gpu_4)' multi_gpu_test_markers: 'nightly and trtllm and (gpu_2 or gpu_4)'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment