Skip to content

Commit 92a3d8f

Browse files
committed
Fix #1885 add min-time to benchmark smoke test
1 parent f983b9d commit 92a3d8f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/test-wheel-linux.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
env:
3434
BUILD_TYPE: ${{ inputs.build-type }}
3535
ARCH: ${{ (inputs.host-platform == 'linux-64' && 'amd64') ||
36-
(inputs.host-platform == 'linux-aarch64' && 'arm64') }}
36+
(inputs.host-platform == 'linux-aarch64' && 'arm64') }}
3737
outputs:
3838
MATRIX: ${{ steps.compute-matrix.outputs.MATRIX }}
3939
OLD_BRANCH: ${{ steps.compute-matrix.outputs.OLD_BRANCH }}
4040
steps:
4141
- name: Checkout ${{ github.event.repository.name }}
42-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
42+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4343

4444
- name: Validate Test Type
4545
run: |
@@ -90,7 +90,7 @@ jobs:
9090
run: nvidia-smi
9191

9292
- name: Checkout ${{ github.event.repository.name }}
93-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
93+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9494

9595
- name: Setup proxy cache
9696
uses: nv-gha-runners/setup-proxy-cache@main
@@ -115,21 +115,21 @@ jobs:
115115
run: ./ci/tools/env-vars test
116116

117117
- name: Download cuda-pathfinder build artifacts
118-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
118+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
119119
with:
120120
name: cuda-pathfinder-wheel
121121
path: ./cuda_pathfinder
122122

123123
- name: Download cuda-python build artifacts
124124
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '0'}}
125-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
125+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
126126
with:
127127
name: cuda-python-wheel
128128
path: .
129129

130130
- name: Download cuda.bindings build artifacts
131131
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '0'}}
132-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
132+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
133133
with:
134134
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
135135
path: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
@@ -181,7 +181,7 @@ jobs:
181181
182182
- name: Download cuda.bindings Cython tests
183183
if: ${{ env.SKIP_CYTHON_TEST == '0' }}
184-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
184+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
185185
with:
186186
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}-tests
187187
path: ${{ env.CUDA_BINDINGS_CYTHON_TESTS_DIR }}
@@ -193,7 +193,7 @@ jobs:
193193
ls -lahR $CUDA_BINDINGS_CYTHON_TESTS_DIR
194194
195195
- name: Download cuda.core build artifacts
196-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
196+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
197197
with:
198198
name: ${{ env.CUDA_CORE_ARTIFACT_NAME }}
199199
path: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
@@ -205,7 +205,7 @@ jobs:
205205
206206
- name: Download cuda.core Cython tests
207207
if: ${{ env.SKIP_CYTHON_TEST == '0' }}
208-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
208+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
209209
with:
210210
name: ${{ env.CUDA_CORE_ARTIFACT_NAME }}-tests
211211
path: ${{ env.CUDA_CORE_CYTHON_TESTS_DIR }}
@@ -217,7 +217,7 @@ jobs:
217217
ls -lahR $CUDA_CORE_CYTHON_TESTS_DIR
218218
219219
- name: Set up Python ${{ matrix.PY_VER }}
220-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
220+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
221221
with:
222222
python-version: ${{ matrix.PY_VER }}
223223
env:
@@ -266,7 +266,7 @@ jobs:
266266
run: |
267267
pip install pyperf
268268
pushd cuda_bindings/benchmarks
269-
python run_pyperf.py --fast --loops 1 --min-time 0
269+
python run_pyperf.py --fast --loops 1 --min-time 1
270270
popd
271271
272272
- name: Run cuda.core tests

0 commit comments

Comments
 (0)