mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Reduce test parallelism for cuda model tests
This commit is contained in:
parent
36c62d84b4
commit
21713b7a41
1 changed files with 2 additions and 0 deletions
|
|
@ -479,6 +479,8 @@ def run_onnx_tests(build_dir, configs, onnx_test_data_dir, provider, enable_para
|
|||
cmd = []
|
||||
if provider:
|
||||
cmd += ["-e", provider]
|
||||
if provider == 'cuda':
|
||||
cmd += ["-j", "2"]
|
||||
if config != 'Debug' and os.path.exists(model_dir):
|
||||
cmd.append(model_dir)
|
||||
if os.path.exists(onnx_test_data_dir):
|
||||
|
|
|
|||
Loading…
Reference in a new issue