Skip to content

Commit f400fac

Browse files
committed
CHANNELS
1 parent ab5daed commit f400fac

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/scripts/install-torch-tensorrt.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
set -eou pipefail
33
# Source conda so it's available to the script environment
44
source ${BUILD_ENV_FILE}
5-
${CONDA_RUN} python -m pip install pyyaml
6-
# ${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision pyyaml
5+
${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision pyyaml
76
export TRT_VERSION=$(${CONDA_RUN} python -c "import versions; versions.tensorrt_version()")
87
${CONDA_RUN} python -m pip install /opt/torch-tensorrt-builds/torch_tensorrt*+${CU_VERSION}*.whl tensorrt~=${TRT_VERSION} tensorrt-bindings~=${TRT_VERSION} --extra-index-url=https://pypi.ngc.nvidia.com
98

.github/workflows/build-test.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,13 @@ jobs:
109109
test-infra-ref: release/2.1
110110
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
111111
pre-script: ${{ matrix.pre-script }}
112+
channel: test
112113
script: |
113114
export USE_HOST_DEPS=1
114-
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
115115
pushd .
116116
cd tests/py/dynamo
117-
${CONDA_RUN} python -m pip install --pre pytest timm transformers parameterized expecttest --use-deprecated=legacy-resolver
118-
${CONDA_RUN} python -c "import torch; print('IMPORTED TORCH')"
119-
${CONDA_RUN} python -c "import tensorrt; print('IMPORTED TRT')"
120-
${CONDA_RUN} python -c "import torch_tensorrt; torch_tensorrt.dump_build_info()"
117+
${CONDA_RUN} python -m pip install --pre pytest-xdist timm transformers parameterized expecttest --use-deprecated=legacy-resolver
118+
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/
121119
popd
122120
123121
# tests-py-dynamo-fe:

.github/workflows/linux-test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ on:
5353
description: 'Name to give artifacts uploaded from ${RUNNER_ARTIFACT_DIR}'
5454
default: ''
5555
type: string
56+
channel:
57+
description: "Channel to use (nightly, test, release, all)"
58+
default: ""
59+
type: string
5660

5761
jobs:
5862
test:
@@ -66,6 +70,7 @@ jobs:
6670
REF: ${{ inputs.ref }}
6771
CU_VERSION: ${{ matrix.desired_cuda }}
6872
SCRIPT: ${{ inputs.script }}
73+
CHANNEL: ${{ inputs.channel }}
6974
RUNNER_TEST_RESULTS_DIR: /tmp/test_results
7075
name: ${{ inputs.job-name }}-${{ matrix.desired_cuda }}
7176
runs-on: ${{ matrix.validation_runner }}

0 commit comments

Comments
 (0)