-
Notifications
You must be signed in to change notification settings - Fork 363
feat: Win/Linux Dual Compatible WORKSPACE
+ Upgrade CUDA + Upgrade PyT
#2907
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
Conversation
9be7ea1
to
14e079b
Compare
Installation instruction update |
14e079b
to
2202e3c
Compare
WORKSPACE
WORKSPACE
+ Upgrade CUDA + Upgrade PyT
* 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it useful to leave the old Visual Studio instructions in this tutorial?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing windows support was using cmake right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- 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
Description
WORKSPACE
file andBUILD
files across the repositorySteps to Build on Windows Using the New
WORKSPACE
Portions adapted from discussion with @HolyWu in #2806
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
)set DISTUTILS_USE_SDK=1
LD_LIBRARY_PATH
on Linuxpython setup.py bdist_wheel
python -m pip install dist/*.whl
Type of change
Checklist: