Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Python Runtime Windows Builds on TRT 10 #2764

Merged
merged 23 commits into from
Apr 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
56fba7a
Fix C++ and Python building on Windows
HolyWu Feb 27, 2024
0588052
Switch to TRT 10 in installer
gs-olive Apr 19, 2024
b66b6f9
Installer flags
gs-olive Apr 19, 2024
ace1531
Add access to test indices Torch
gs-olive Apr 19, 2024
f642c8a
Add access to test indices Torch 2
gs-olive Apr 19, 2024
43a90ee
Add access to test indices Torch 3
gs-olive Apr 19, 2024
e8edf3a
Add access to test indices Torch 4
gs-olive Apr 19, 2024
20fb155
Add access to test indices Torch 5
gs-olive Apr 19, 2024
2482307
Add access to test indices Torch 6
gs-olive Apr 19, 2024
be605b6
Add access to test indices Torch 7
gs-olive Apr 19, 2024
9005523
TRT 10 build testing + Rebase
gs-olive Apr 20, 2024
dc9f0de
Missing tensorrt bindings
gs-olive Apr 22, 2024
422423c
Delete usused pre_build_script_driver_upgrade.sh
HolyWu Apr 20, 2024
53638c2
Clean up pre_build_script_windows.sh
HolyWu Apr 20, 2024
08afe82
cuDNN is not required by TRT 10
HolyWu Apr 20, 2024
bffcfb2
Install tensorrt-bindings and tensorrt-libs
HolyWu Apr 20, 2024
d70e46d
Temporarily install torch in test index
HolyWu Apr 20, 2024
c028b67
Install torch and tensorrt according to desired_cuda in matrix
HolyWu Apr 20, 2024
d14833f
Disable tests for Python-only runtime + Win unsupported ops
gs-olive Apr 22, 2024
a39801f
Fix tracing of generator in BERT model on Windows
gs-olive Apr 23, 2024
f8c300f
Clean up code changes
gs-olive Apr 23, 2024
0877ca1
Address review comments
gs-olive Apr 24, 2024
8ba63ea
Update job prompts for Windows
gs-olive Apr 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TRT 10 build testing + Rebase
  • Loading branch information
gs-olive committed Apr 23, 2024
commit 90055236dfc6cacafe456175d742a21334ad7b1e
4 changes: 2 additions & 2 deletions .github/scripts/install-torch-tensorrt-windows.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source "${BUILD_ENV_FILE}"
${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision --extra-index-url https://download.pytorch.org/whl/test/cu121 --extra-index-url https://download.pytorch.org/whl/test/cu118
# ${CONDA_RUN} ${PIP_INSTALL_TORCH} torchvision --extra-index-url https://download.pytorch.org/whl/test/cu121 --extra-index-url https://download.pytorch.org/whl/test/cu118
${CONDA_RUN} pip install pyyaml mpmath==1.3.0
${CONDA_RUN} pip install tensorrt==10.0.0b6 --extra-index-url https://pypi.nvidia.com
${CONDA_RUN} pip install ${RUNNER_ARTIFACT_DIR}/torch_tensorrt*.whl --extra-index-url https://download.pytorch.org/whl/test/cu121 --extra-index-url https://download.pytorch.org/whl/test/cu118
${CONDA_RUN} pip install ${RUNNER_ARTIFACT_DIR}/torch_tensorrt*.whl torch torchvision --extra-index-url https://download.pytorch.org/whl/test/cu121 --extra-index-url https://download.pytorch.org/whl/test/cu118

echo -e "Running test script";