File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11set -eou pipefail
22source " ${BUILD_ENV_FILE} "
33# ${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision
4- ${CONDA_RUN} pip install torch torchvision --index-url https://download.pytorch.org/whl/test/cu121
4+ ${CONDA_RUN} pip install torch torchvision --index-url https://download.pytorch.org/whl/test/${CU_VERSION}
55${CONDA_RUN} pip install pyyaml mpmath==1.3.0
6- ${CONDA_RUN} pip install tensorrt==10.0.0b6 tensorrt-cu12 -bindings==10.0.0b6 tensorrt-cu12 -libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
6+ ${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
77${CONDA_RUN} pip install ${RUNNER_ARTIFACT_DIR} /torch_tensorrt* .whl
88
99echo -e " Running test script" ;
Original file line number Diff line number Diff line change 11python -m pip install -U numpy packaging pyyaml setuptools wheel
2- python -m pip install torch==2.3.0 --index-url https://download.pytorch.org/whl/test/cu121
3- python -m pip install tensorrt==10.0.0b6 tensorrt-cu12 -bindings==10.0.0b6 tensorrt-cu12 -libs==10.0.0b6 --extra-index-url https://pypi.nvidia.com
2+ python -m pip install torch==2.3.0 --index-url https://download.pytorch.org/whl/test/${CU_VERSION}
3+ 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
44
55choco install bazelisk -y
66
You can’t perform that action at this time.
0 commit comments