iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.
http://iree.dev/
Apache License 2.0
2.87k stars 625 forks source link

Run Windows build/test workflows more regularly #18813

Open ScottTodd opened 1 month ago

ScottTodd commented 1 month ago

We currently run the .github/workflows/ci_windows_x64_msvc.yml workflow on a nightly schedule using standard GitHub-hosted runners (currently windows-2022 with 4 CPU cores, 16 GB of RAM, and 14GB of SSD). Looking at the workflow history, this is taking around 4h30m each run, which is far too slow to run on pull_request or even push events.

We should add a build runner cluster with suitably large machines configured with caching layers so we can run this workflow more regularly - ideally on every commit (pull_request and push events).

Details:

Other considerations:

ScottTodd commented 1 month ago

@Eliasj42 can you share your current status on this?

ScottTodd commented 1 month ago

Some stats from the newly released https://github.com/orgs/iree-org/actions/metrics/performance (see the announcement: https://github.blog/changelog/2024-10-31-actions-performance-metrics-in-public-preview/):

In the last month, ci_windows_x64_msvc.yml had 54 workflow runs, an average run time of 2h45m21s, and 59% of runs were failures. I don't see how to filter that by event, so it likely includes test runs.

Expanding the period to the last year, that workflow had 105 workflow runs, an average run time of 3h48m29s, and 48% of runs had failures.