-
Notifications
You must be signed in to change notification settings - Fork 791
[CI] Add CI workflow to run compute-benchmarks on incoming syclos PRs #14454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 90 commits
1276f39
754c33a
9981c3a
3ed35ca
6ea0110
6d14a32
940e3be
7aafdf5
24b5169
b2d4463
5f1cd57
7a889f8
6e1b3bb
5d1dea4
991cd55
6e141e8
8a5ecb6
606c02a
5dd976e
6c83d2b
5266cac
ab17254
45a93ba
a4a1c03
52f5dc3
90575fe
8dfeff6
3346a09
3a28ded
e67c29f
88f8b3b
e6cbc2e
c6645aa
867e6e6
18ff8b1
cc29c23
3b5454f
6ed0361
f54e1d2
47693f9
f1d3a7f
652667f
be75574
1200217
97b2d4f
08da292
441bc10
8979115
7fa6a2e
1074e42
21498b4
8506c20
c2835cd
51cdaee
ef6a085
2fd6b7b
1d5c676
c20d75e
a9dad80
0c3e901
12326ce
4335bf9
ba29015
90fe17f
59e38fe
d212adc
321d83a
ba3c45c
81fb277
e8178c5
410666e
c32ad36
b5fa113
0ae396d
5d8f864
fda62fc
0a083b8
e58248d
8091ed0
d142575
c77f967
c04ccaa
e4897d5
a5b7e23
6a12cf4
f027f8e
08388fa
9f7b0ff
30bd28c
a3b0487
0e4bb7f
74bd73c
0282c0a
66a51f3
5173a0d
d5a9468
867fc5a
168325f
cf599c0
96ad8dd
a4f1d5e
7bf79fd
23a21e9
c1c7313
3bdf383
e9425f5
6e889d4
e158a70
bfedd09
d5bfa08
02428d6
54b8fd4
acd1931
38c9bed
6193059
fcbbe52
e5a12b8
cf886e9
e434d74
ec8b2f0
3936328
dff86d2
371097d
619c86b
792769e
ec369cd
3f1666f
07bca84
5d5c755
40e8b9b
7bf8043
3d366ae
98b1acf
4c13ae7
ba9da64
798e16b
0dea393
3252b59
37612f5
6f5074f
efef394
93456e0
625c72f
0faada5
c256b5c
ab29ffc
337c51e
cdea68d
beb2942
f4d8a3f
572ff7e
412449e
2951b37
bce5229
5c25a95
3e01431
82c1248
ff8675a
6751d2b
472c6be
1953dab
a48a3d2
28798c8
4e59fb6
2433d88
41d664a
bc30802
24d10fa
289d9c5
b7b8821
d028580
4438530
2ff3e49
4c1c0f0
eb5ece2
2484960
5a90573
c8c1a99
3c85d5a
d5b5a5b
5a8cbe6
55d339c
43d67cb
8a6a48a
5cc455b
97d0c2f
f5633a1
d4c8d14
07f2966
a3874d5
bbb16f4
cb6c2e2
056c724
f2603bf
489372a
0bdbc5c
137edef
e4496f2
9345dc0
8df9b21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,81 @@ | ||||||
name: Aggregate benchmark averages | ||||||
|
||||||
on: | ||||||
schedule: | ||||||
- cron: 0 1 * * * | ||||||
workflow_dispatch: | ||||||
inputs: | ||||||
cutoff_timestamp: | ||||||
description: "Timestamp " | ||||||
type: string | ||||||
required: false | ||||||
workflow_call: | ||||||
inputs: | ||||||
cutoff_timestamp: | ||||||
type: string | ||||||
required: false | ||||||
|
||||||
permissions: | ||||||
contents: read | ||||||
|
||||||
jobs: | ||||||
aggregate: | ||||||
name: Aggregate average value for all metrics (median) | ||||||
runs-on: ubuntu-latest | ||||||
if: github.repository == 'intel/llvm' | ||||||
steps: | ||||||
- uses: actions/checkout@v4 | ||||||
with: | ||||||
path: llvm | ||||||
sparse-checkout: | | ||||||
devops/scripts/benchmarking | ||||||
- name: Load benchmarking configuration | ||||||
run: | | ||||||
# TODO isolate sanitation from benchmark.sh different script | ||||||
# use sanitation here | ||||||
. llvm/devops/scripts/benchmarking/benchmark-ci.conf; | ||||||
echo "PERF_RES_GIT_REPO=$PERF_RES_GIT_REPO" >> $GITHUB_ENV | ||||||
echo "PERF_RES_BRANCH=$PERF_RES_BRANCH" >> $GITHUB_ENV | ||||||
echo "PERF_RES_PATH=$PERF_RES_PATH" >> $GITHUB_ENV | ||||||
if [ -z '${{ inputs.cutoff_timestamp }}' ]; then | ||||||
# No time given, use default time period | ||||||
echo "CUTOFF_TIMESTAMP=$(date --date="$AVERAGE_CUTOFF_RANGE" +"$TIMESTAMP_FORMAT")" >> $GITHUB_ENV | ||||||
else | ||||||
# If the provided time is a unix `date` timestamp, convert the time to our format | ||||||
|
# If the provided time is a unix `date` timestamp, convert the time to our format | |
# If the provided time is a unix `date` timestamp, convert the time to our format |
What's the timestamp format we use? How and why is it different from Unix date
timestamp?
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to add --depth 1
to git clone? I guess we don't need the entire commit history.
uditagarwal97 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,54 @@ | ||
name: IGC DEV CI Containers | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- sycl | ||
paths: | ||
- 'devops/actions/build_container/**' | ||
- 'devops/scripts/**' | ||
- 'devops/dependencies-igc-dev.json' | ||
- '.github/workflows/sycl-containers-igc-dev.yaml' | ||
pull_request: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry if i missed in in your description but why are a ton of the existing workflows commented out? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is commented out to speed up testing, that's why it's a "Do not merge" right now -- I'll have to uncomment these out in the future. Thanks for the look-over btw! I understand this is a lot... |
||
paths: | ||
- 'devops/actions/build_container/**' | ||
- 'devops/scripts/**' | ||
- 'devops/dependencies-igc-dev.json' | ||
- '.github/workflows/sycl-containers-igc-dev.yaml' | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build_and_push_images: | ||
if: github.repository == 'intel/llvm' | ||
name: Build and Push IGC Dev Docker Images | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
packages: write | ||
strategy: | ||
matrix: | ||
include: | ||
- name: Intel Drivers Ubuntu 24.04 Docker image with dev IGC | ||
dockerfile: ubuntu2404_intel_drivers_igc_dev | ||
imagefile: ubuntu2404_intel_drivers | ||
tag: devigc | ||
build_args: | | ||
"use_unstable_driver=false" | ||
"use_igc_dev=true" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Build and Push Container | ||
uses: ./devops/actions/build_container | ||
with: | ||
push: ${{ github.event_name != 'pull_request' }} | ||
file: ${{ matrix.dockerfile }} | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
tags: | | ||
ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }}-${{ github.sha }} | ||
ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }} | ||
build-args: ${{ matrix.build_args }} | ||
|
||
# name: IGC DEV CI Containers | ||
# on: | ||
# workflow_dispatch: | ||
# push: | ||
# branches: | ||
# - sycl | ||
# paths: | ||
# - 'devops/actions/build_container/**' | ||
# - 'devops/scripts/**' | ||
# - 'devops/dependencies-igc-dev.json' | ||
# - '.github/workflows/sycl-containers-igc-dev.yaml' | ||
# pull_request: | ||
# paths: | ||
# - 'devops/actions/build_container/**' | ||
# - 'devops/scripts/**' | ||
# - 'devops/dependencies-igc-dev.json' | ||
# - '.github/workflows/sycl-containers-igc-dev.yaml' | ||
# | ||
# permissions: read-all | ||
# | ||
# jobs: | ||
# build_and_push_images: | ||
# if: github.repository == 'intel/llvm' | ||
# name: Build and Push IGC Dev Docker Images | ||
# runs-on: ubuntu-22.04 | ||
# permissions: | ||
# packages: write | ||
# strategy: | ||
# matrix: | ||
# include: | ||
# - name: Intel Drivers Ubuntu 24.04 Docker image with dev IGC | ||
# dockerfile: ubuntu2404_intel_drivers_igc_dev | ||
# imagefile: ubuntu2404_intel_drivers | ||
# tag: devigc | ||
# build_args: | | ||
# "use_unstable_driver=false" | ||
# "use_igc_dev=true" | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 2 | ||
# - name: Build and Push Container | ||
# uses: ./devops/actions/build_container | ||
# with: | ||
# push: ${{ github.event_name != 'pull_request' }} | ||
# file: ${{ matrix.dockerfile }} | ||
# username: ${{ github.repository_owner }} | ||
# password: ${{ secrets.GITHUB_TOKEN }} | ||
# tags: | | ||
# ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }}-${{ github.sha }} | ||
# ghcr.io/${{ github.repository }}/${{ matrix.imagefile }}:${{ matrix.tag }} | ||
# build-args: ${{ matrix.build_args }} | ||
# |
Uh oh!
There was an error while loading. Please reload this page.