File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,15 +129,19 @@ if [[ -n "$test_paths" ]]; then
129129fi
130130pytest_command_args=" $options $pyargs_section "
131131
132+ export TRITON_CPU_ONLY=1
133+ export TORCH_COMPILE_DISABLE=1
134+ export PYTHONFAULTHANDLER=1
135+
132136# Run tests in parallel.
133137echo " Running parallel tests with: pytest -m \" $marker_for_parallel_tests \" $pytest_command_args "
134- pytest -v -rs -o junit_suite_name=${envname} \
138+ pytest -v -rs -n 1 - o junit_suite_name=${envname} \
135139 --junitxml=pytest_${envname} .xml -m " $marker_for_parallel_tests " -n 6 --import-mode=importlib ${pytest_args} ${pytest_command_args}
136140status1=$?
137141
138142# Run tests sequentially.
139143echo " Running sequential tests with: pytest -m \" $marker_for_sequential_tests \" $pytest_command_args "
140- pytest -v -rs -o junit_suite_name=${envname} _no_xdist \
144+ pytest -v -rs -n 1 - o junit_suite_name=${envname} _no_xdist \
141145 --junitxml=pytest_${envname} _no_xdist.xml -m " $marker_for_sequential_tests " --import-mode=importlib ${pytest_args} ${pytest_command_args}
142146status2=$?
143147
You can’t perform that action at this time.
0 commit comments