File tree Expand file tree Collapse file tree 1 file changed +15
-19
lines changed Expand file tree Collapse file tree 1 file changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -276,25 +276,6 @@ test_timm_perf() {
276
276
277
277
install_tlparse
278
278
279
- if [[ $TEST_CONFIG == * " test_mps" * ]]; then
280
- if [[ $NUM_TEST_SHARDS -gt 1 ]]; then
281
- test_python_shard " ${SHARD_NUMBER} "
282
- if [[ " ${SHARD_NUMBER} " == 1 ]]; then
283
- test_libtorch
284
- test_custom_script_ops
285
- elif [[ " ${SHARD_NUMBER} " == 2 ]]; then
286
- test_jit_hooks
287
- test_custom_backend
288
- fi
289
- else
290
- test_python_all
291
- test_libtorch
292
- test_custom_script_ops
293
- test_jit_hooks
294
- test_custom_backend
295
- fi
296
- fi
297
-
298
279
if [[ $TEST_CONFIG == * " perf_all" * ]]; then
299
280
test_torchbench_perf
300
281
test_hf_perf
@@ -307,4 +288,19 @@ elif [[ $TEST_CONFIG == *"perf_timm"* ]]; then
307
288
test_timm_perf
308
289
elif [[ $TEST_CONFIG == * " perf_smoketest" * ]]; then
309
290
test_torchbench_smoketest
291
+ elif [[ $NUM_TEST_SHARDS -gt 1 ]]; then
292
+ test_python_shard " ${SHARD_NUMBER} "
293
+ if [[ " ${SHARD_NUMBER} " == 1 ]]; then
294
+ test_libtorch
295
+ test_custom_script_ops
296
+ elif [[ " ${SHARD_NUMBER} " == 2 ]]; then
297
+ test_jit_hooks
298
+ test_custom_backend
299
+ fi
300
+ else
301
+ test_python_all
302
+ test_libtorch
303
+ test_custom_script_ops
304
+ test_jit_hooks
305
+ test_custom_backend
310
306
fi
You can’t perform that action at this time.
0 commit comments