-
Notifications
You must be signed in to change notification settings - Fork 88
135 lines (129 loc) · 5.75 KB
/
Copy pathgpu-h100-training-test.yaml
File metadata and controls
135 lines (129 loc) · 5.75 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
135
# 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 Training Test (nvkind + H100 x1)
on:
schedule:
- cron: '15 0 * * *' # Daily, 6h offset from inference 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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: filter
with:
base: main
predicate-quantifier: 'some-with-excludes'
filters: |
matched:
- '.github/workflows/gpu-h100-training-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-training-kubeflow/**'
- 'recipes/data.go'
- 'recipes/registry.yaml'
- 'recipes/overlays/base.yaml'
- 'recipes/overlays/kind.yaml'
- 'recipes/overlays/h100-kind-training.yaml'
- 'recipes/overlays/h100-kind-training-kubeflow.yaml'
- 'recipes/mixins/platform-kubeflow.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/kubeflow-trainer/**'
- 'recipes/components/prometheus-adapter/**'
- 'pkg/collector/**'
- 'pkg/snapshotter/**'
- '.github/actions/gpu-snapshot-validate/**'
# Markdown/MDX under the runtime globs is documentation — never a
# reason to launch a GPU job (#2149). Requires some-with-excludes.
- '!**/*.[mM][dD]'
- '!**/*.[mM][dD][xX]'
# 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-training-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 Training Test (nvkind + H100 x1)
uses: ./.github/workflows/gpu-h100-kind-runtime-test.yaml
with:
job_name: GPU Training Test (nvkind + H100 x1)
cluster_name: gpu-training-test
intent: training
platform: kubeflow
chainsaw_path: tests/chainsaw/ai-conformance/kind-training-kubeflow
artifact_name_prefix: gpu-training-test-debug
run_full_validation: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.run_full_validation) }}