Skip to content

Commit 7c54fc3

Browse files
[ci] More workers for test examples (#3702)
### Changes Parallel tests on 6 workers to run all tests to complete in around 30 minutes. Sort durations ### Reason for changes Speed up job ### Tests https://github.com/openvinotoolkit/nncf/actions/runs/18867363467 (failed as in nightly)
1 parent b29b4f8 commit 7c54fc3

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

.github/workflows/examples.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ concurrency:
2626

2727
jobs:
2828
examples-cpu:
29-
name: Test examples CPU [${{ matrix.group }}/4]
29+
name: Test examples CPU [${{ matrix.group }}/6]
3030
runs-on: ubuntu-latest-16-cores
3131
timeout-minutes: 80
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
group: [1, 2, 3, 4]
35+
group: [1, 2, 3, 4, 5, 6]
3636
defaults:
3737
run:
3838
shell: bash
@@ -64,7 +64,7 @@ jobs:
6464
--junit-xml=pytest-results.xml \
6565
--durations-path=tests/cross_fw/examples/.test_durations \
6666
--splitting-algorithm=least_duration \
67-
--splits 4 \
67+
--splits 6 \
6868
--group ${{ matrix.group }} \
6969
${{ github.event.inputs.pytest_args || '' }}
7070
ret=$?
@@ -149,13 +149,13 @@ jobs:
149149
150150
examples-win-cpu:
151151
timeout-minutes: 80
152-
name: Test examples CPU Windows [${{ matrix.group }}/4]
152+
name: Test examples CPU Windows [${{ matrix.group }}/6]
153153
runs-on: windows-2025-16-core
154154
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.skip_windows == 'false' }}
155155
strategy:
156156
fail-fast: false
157157
matrix:
158-
group: [1, 2, 3, 4]
158+
group: [1, 2, 3, 4, 5, 6]
159159
defaults:
160160
run:
161161
shell: bash
@@ -189,7 +189,7 @@ jobs:
189189
--junit-xml=pytest-results.xml \
190190
--durations-path=tests/cross_fw/examples/.test_durations \
191191
--splitting-algorithm=least_duration \
192-
--splits 4 \
192+
--splits 6 \
193193
--group ${{ matrix.group }} \
194194
${{ github.event.inputs.pytest_args || '' }}
195195
ret=$?
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"tests/cross_fw/examples/test_examples.py::test_examples[codebook_llm_compression]": 184,
3-
"tests/cross_fw/examples/test_examples.py::test_examples[fp8_llm_quantization]": 229.69,
3+
"tests/cross_fw/examples/test_examples.py::test_examples[fp8_llm_quantization]": 229,
44
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_distillation_qat_with_lora]": 665,
55
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_fx]": 394,
66
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_onnx]": 404,
77
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_qat_with_nls]": 1030,
8-
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_synthetic]": 873.780,
9-
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression]": 222.974,
10-
"tests/cross_fw/examples/test_examples.py::test_examples[llm_tune_params]": 1018.932,
11-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_onnx_mobilenet_v2]": 178.509,
12-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_onnx_yolo8_quantize_with_accuracy_control]": 292.766,
13-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_anomaly_stfpm_quantize_with_accuracy_control]": 443.025,
14-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_mobilenet_v2_quantize]": 169.789,
15-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_yolo8_quantize_with_accuracy_control]": 205.533,
16-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_yolo8_quantize]": 170.593,
17-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_tensorflow_mobilenet_v2]": 149.202,
18-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_torch_fx_resnet18]": 412.243,
19-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_torch_mobilenet_v2]": 192.227,
20-
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_torch_ssd300_vgg16]": 231.613,
21-
"tests/cross_fw/examples/test_examples.py::test_examples[quantization_aware_training_tensorflow_mobilenet_v2]": 1500.00,
22-
"tests/cross_fw/examples/test_examples.py::test_examples[quantization_aware_training_torch_anomalib]": 478.797,
23-
"tests/cross_fw/examples/test_examples.py::test_examples[quantization_aware_training_torch_resnet18]": 1251.144,
24-
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_scale_estimation_onnx]": 836.73,
25-
"tests/cross_fw/examples/test_examples.py::test_examples[magnitude_pruning_torch_resnet18]": 907
8+
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_scale_estimation_onnx]": 836,
9+
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression_synthetic]": 873,
10+
"tests/cross_fw/examples/test_examples.py::test_examples[llm_compression]": 222,
11+
"tests/cross_fw/examples/test_examples.py::test_examples[llm_tune_params]": 1018,
12+
"tests/cross_fw/examples/test_examples.py::test_examples[magnitude_pruning_torch_resnet18]": 907,
13+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_onnx_mobilenet_v2]": 178,
14+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_onnx_yolo8_quantize_with_accuracy_control]": 292,
15+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_anomaly_stfpm_quantize_with_accuracy_control]": 443,
16+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_mobilenet_v2_quantize]": 169,
17+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_yolo8_quantize_with_accuracy_control]": 205,
18+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_openvino_yolo8_quantize]": 170,
19+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_tensorflow_mobilenet_v2]": 149,
20+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_torch_fx_resnet18]": 412,
21+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_torch_mobilenet_v2]": 192,
22+
"tests/cross_fw/examples/test_examples.py::test_examples[post_training_quantization_torch_ssd300_vgg16]": 231,
23+
"tests/cross_fw/examples/test_examples.py::test_examples[quantization_aware_training_tensorflow_mobilenet_v2]": 1500,
24+
"tests/cross_fw/examples/test_examples.py::test_examples[quantization_aware_training_torch_anomalib]": 478,
25+
"tests/cross_fw/examples/test_examples.py::test_examples[quantization_aware_training_torch_resnet18]": 1251
2626
}

0 commit comments

Comments
 (0)