feat: Win/Linux Dual Compatible WORKSPACE + Upgrade CUDA + Upgrade PyT#2907
Merged
gs-olive merged 14 commits intopytorch:mainfrom Jun 14, 2024
Merged
feat: Win/Linux Dual Compatible WORKSPACE + Upgrade CUDA + Upgrade PyT#2907gs-olive merged 14 commits intopytorch:mainfrom
WORKSPACE + Upgrade CUDA + Upgrade PyT#2907gs-olive merged 14 commits intopytorch:mainfrom
Conversation
9be7ea1 to
14e079b
Compare
Contributor
Author
|
Installation instruction update |
14e079b to
2202e3c
Compare
narendasan
reviewed
Jun 13, 2024
WORKSPACEWORKSPACE + Upgrade CUDA + Upgrade PyT
gs-olive
commented
Jun 14, 2024
Comment on lines
-19
to
-24
| * Open Microsoft Visual Studio | ||
| * Open Torch-TensorRT source code folder | ||
| * Open Manage configurations -> Edit JSON to open CMakeSettings.json file. | ||
| * Configure the CMake build configurations. Following is an example configuration: | ||
|
|
||
| .. code-block:: none |
Contributor
Author
There was a problem hiding this comment.
Is it useful to leave the old Visual Studio instructions in this tutorial?
Collaborator
There was a problem hiding this comment.
The existing windows support was using cmake right ?
HolyWu
reviewed
Jun 14, 2024
HolyWu
reviewed
Jun 14, 2024
HolyWu
reviewed
Jun 14, 2024
HolyWu
reviewed
Jun 14, 2024
HolyWu
reviewed
Jun 14, 2024
HolyWu
reviewed
Jun 14, 2024
gs-olive
commented
Jun 14, 2024
- Add support for OS compatibility in the `WORKSPACE` file and `BUILD` files across the repository - Upgrade bazel version to enable Windows builds in MSVC command prompt - Validate multiple builds on CI, including with new Bazel version
5426b59 to
e94ce68
Compare
cf04d92 to
4113b95
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
WORKSPACEfile andBUILDfiles across the repositorySteps to Build on Windows Using the New
WORKSPACEPortions adapted from discussion with @HolyWu in #2806
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121)set DISTUTILS_USE_SDK=1LD_LIBRARY_PATHon Linuxpython setup.py bdist_wheelpython -m pip install dist/*.whlType of change
Checklist: