File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
set -eou pipefail
2
2
source " ${BUILD_ENV_FILE} "
3
- # ${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision
3
+
4
+ # Install test index version of Torch and Torchvision
4
5
${CONDA_RUN} pip install torch torchvision --index-url https://download.pytorch.org/whl/test/${CU_VERSION}
5
6
${CONDA_RUN} pip install pyyaml mpmath==1.3.0
7
+
8
+ # Install TRT 10 from PyPi
6
9
${CONDA_RUN} pip install tensorrt==10.0.0b6 tensorrt-${CU_VERSION:: 4} -bindings==10.0.0b6 tensorrt-${CU_VERSION:: 4} -libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
10
+
11
+ # Install pre-built Torch-TRT
7
12
${CONDA_RUN} pip install ${RUNNER_ARTIFACT_DIR} /torch_tensorrt* .whl
8
13
9
14
echo -e " Running test script" ;
Original file line number Diff line number Diff line change 1
1
python -m pip install -U numpy packaging pyyaml setuptools wheel
2
+
3
+ # Install Torch from Test Index
2
4
python -m pip install torch==2.3.0 --index-url https://download.pytorch.org/whl/test/${CU_VERSION}
5
+
6
+ # Install TRT 10 from PyPi
3
7
python -m pip install tensorrt==10.0.0b6 tensorrt-${CU_VERSION:: 4} -bindings==10.0.0b6 tensorrt-${CU_VERSION:: 4} -libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
4
8
5
9
choco install bazelisk -y
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ def load_dep_info():
82
82
83
83
CXX11_ABI = False
84
84
JETPACK_VERSION = None
85
- PY_ONLY = sys .platform .startswith ("win" )
85
+ # TODO: Remove once C++ Runtime is integrated in Windows
86
+ PY_ONLY = IS_WINDOWS
86
87
NO_TS = False
87
88
LEGACY = False
88
89
RELEASE = False
You can’t perform that action at this time.
0 commit comments