microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.77k stars 2.94k forks source link

reduce GQA test combinations #22918

Closed tianleiwu closed 8 hours ago

tianleiwu commented 12 hours ago

Description

Motivation and Context

It takes too long to run GQA tests in CI pipelines since there are too many combinations.

Linux GPU CUDA CI Pipeline

Before: 5097 passed, 68 skipped, 8 warnings in 1954.64s (0:32:34) After: 150 passed, 176 skipped, 8 warnings in 530.38s (0:08:50) Time Saved: 1424 seconds (0:23:44)

Linux CPU CI Pipeline

Before: 5093 passed, 72 skipped, 4 warnings in 467.04s (0:07:47)

After: 116 passed, 210 skipped, 4 warnings in 93.41s (0:01:33)

Time Saved: 374 seconds (0:06:14).

Windows GPU CUDA CI Pipeline

Before: 1781 passed, 72 skipped, 6 warnings in 605.48s (0:10:05) After: 116 passed, 118 skipped, 6 warnings in 275.48s (0:04:35) Time Saved: 330 seconds (0:05:30)