-
Notifications
You must be signed in to change notification settings - Fork 72
134 lines (128 loc) · 5.68 KB
/
Copy pathgpu-h100-inference-test.yaml
File metadata and controls
134 lines (128 loc) · 5.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: GPU Inference Test (nvkind + H100 x1)
on:
schedule:
- cron: '15 6 * * *' # Daily, 6h offset from training test
push:
branches:
- "pull-request/[0-9]+"
workflow_dispatch:
inputs:
run_full_validation:
description: 'Run snapshot and CNCF AI Conformance validation'
required: false
type: boolean
default: false
permissions:
contents: read
jobs:
# Gate GPU tests on actual PR diff (against main), not the push diff.
# Without this, rebasing a pull-request/* branch includes merged changes
# in the push diff, causing GPU tests to trigger for unrelated PRs.
check-paths:
if: github.repository == 'nvidia/aicr' && github.event_name == 'push'
runs-on: ubuntu-latest
timeout-minutes: 2
outputs:
should-run: ${{ steps.filter.outputs.matched }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: dorny/paths-filter@7b450fff21473bca461d4b92ce414b9d0420d706 # v4.0.2
id: filter
with:
base: main
filters: |
matched:
- '.github/workflows/gpu-h100-inference-test.yaml'
- '.settings.yaml'
- '.github/actions/gpu-cluster-setup/**'
- '.github/actions/runtime-install/**'
- '.github/actions/check-control-plane-health/**'
- '.github/actions/aicr-build/**'
- '.github/actions/setup-build-tools/**'
- 'validators/*/Dockerfile'
- 'validators/conformance/**'
- 'recipes/validators/catalog.yaml'
- '.github/workflows/gpu-h100-kind-runtime-test.yaml'
- '.github/actions/gpu-workflow-prepare/**'
- '.github/actions/gpu-debug-diagnostics/**'
- '.github/actions/gpu-chainsaw-health/**'
- '.github/actions/gpu-validate-conformance/**'
- '.github/actions/gpu-test-cleanup/**'
- '.github/actions/load-versions/**'
- '.github/scripts/gpu-chainsaw-health.sh'
- '.github/scripts/gpu-debug-diagnostics.sh'
- 'pkg/bundler/deployer/helm/**'
# `aicr validate` (conformance) + recipe bundling are built from
# these Go sources; a regression must trigger the GPU conformance run.
- 'pkg/validator/**'
- 'pkg/recipe/**'
- 'pkg/cli/**'
- 'cmd/aicr/**'
- 'go.mod'
- 'go.sum'
- 'vendor/**'
- 'tests/chainsaw/chainsaw-config.yaml'
- 'tests/chainsaw/ai-conformance/common/**'
- 'tests/chainsaw/ai-conformance/kind-common/**'
- 'tests/chainsaw/ai-conformance/kind-inference-dynamo/**'
- 'recipes/data.go'
- 'recipes/registry.yaml'
- 'recipes/overlays/base.yaml'
- 'recipes/mixins/platform-inference.yaml'
- 'recipes/components/cert-manager/**'
- 'recipes/components/gpu-operator/**'
- 'recipes/components/k8s-ephemeral-storage-metrics/**'
- 'recipes/components/kai-scheduler/**'
- 'recipes/components/kube-prometheus-stack/**'
- 'recipes/components/nfd/**'
- 'recipes/components/nodewright-operator/**'
- 'recipes/components/nvidia-dra-driver-gpu/**'
- 'recipes/components/nvsentinel/**'
- 'recipes/components/agentgateway/**'
- 'recipes/components/agentgateway-crds/**'
- 'recipes/components/grove/**'
- 'recipes/components/dynamo-platform/**'
- 'recipes/components/prometheus-adapter/**'
- 'recipes/overlays/kind.yaml'
- 'recipes/overlays/kind-inference.yaml'
- 'recipes/overlays/h100-kind-inference.yaml'
- 'recipes/overlays/h100-kind-inference-dynamo.yaml'
- 'pkg/collector/**'
- 'pkg/snapshotter/**'
- '.github/actions/gpu-snapshot-validate/**'
# NVIDIA self-hosted GPU runners reject pull_request event jobs before
# checkout. PR GPU coverage runs through the pull-request/<number> push
# mirror after ok-to-test approval.
gpu-inference-test:
needs: [check-paths]
if: >
always() && github.repository == 'nvidia/aicr' && (
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && needs.check-paths.outputs.should-run == 'true')
)
name: GPU Inference Test (nvkind + H100 x1)
uses: ./.github/workflows/gpu-h100-kind-runtime-test.yaml
with:
job_name: GPU Inference Test (nvkind + H100 x1)
cluster_name: gpu-inference-test
intent: inference
platform: dynamo
chainsaw_path: tests/chainsaw/ai-conformance/kind-inference-dynamo
artifact_name_prefix: gpu-inference-test-debug
run_full_validation: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.run_full_validation) }}