File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,37 @@ jobs:
337337 python -m pytest -ra -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_core_test_results.xml .
338338 popd
339339
340+ tests-py-distributed :
341+ name : Test dynamo distributed [Python]
342+ needs : [filter-matrix, build]
343+ strategy :
344+ fail-fast : false
345+ matrix :
346+ include :
347+ - repository : pytorch/tensorrt
348+ package-name : torch_tensorrt
349+ pre-script : packaging/pre_build_script.sh
350+ post-script : packaging/post_build_script.sh
351+ smoke-test-script : packaging/smoke_test_script.sh
352+ uses : ./.github/workflows/linux-test.yml
353+ with :
354+ job-name : tests-py-dynamo-distributed
355+ repository : " pytorch/tensorrt"
356+ ref : " "
357+ test-infra-repository : pytorch/test-infra
358+ test-infra-ref : main
359+ build-matrix : ${{ needs.filter-matrix.outputs.matrix }}
360+ pre-script : ${{ matrix.pre-script }}
361+ script : |
362+ set -euo pipefail
363+ export USE_HOST_DEPS=1
364+ export CI_BUILD=1
365+ pushd .
366+ cd tests/py
367+ cd dynamo
368+ python -m pytest -ra --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_distributed_test_results.xml distributed/test_nccl_ops.py
369+ popd
370+
340371concurrency :
341372 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}
342373 cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments