Skip to content

Commit b9d2cb7

Browse files
committed
Fix indentation and documentation of imports
1 parent cfccdf6 commit b9d2cb7

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

core/conversion/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cc_library(
3333
"//core/conversion/var",
3434
"//core/ir",
3535
"//core/util:prelude",
36-
] + select({
36+
] + select({
3737
":windows": ["@tensorrt_win//:nvinfer", "@libtorch_win//:libtorch"],
3838
":use_pre_cxx11_abi": ["@tensorrt//:nvinfer", "@libtorch_pre_cxx11_abi//:libtorch"],
3939
"//conditions:default": ["@tensorrt//:nvinfer", "@libtorch"],

core/conversion/conversionctx/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cc_library(
2828
deps = [
2929
"//core/ir",
3030
"//core/util:prelude",
31-
] + select({
31+
] + select({
3232
":windows": ["@tensorrt_win//:nvinfer", "@libtorch_win//:libtorch"],
3333
":use_pre_cxx11_abi": ["@tensorrt//:nvinfer", "@libtorch_pre_cxx11_abi//:libtorch"],
3434
"//conditions:default": ["@tensorrt//:nvinfer", "@libtorch"],

docsrc/getting_started/getting_started_with_windows.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ Build steps
1919
* Ensure Bazelisk (Bazel launcher) is installed on your machine and available from the command line. Package installers such as Chocolatey can be used to install Bazelisk
2020
* Install latest version of Torch (i.e. with `pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124`)
2121
* Clone the Torch-TensorRT repository and navigate to its root directory
22-
* Run `pip install ninja`
23-
* Run `pip install -r requirements-dev.txt`
22+
* Run `pip install ninja wheel setuptools`
23+
* Run `pip install --pre -r py/requirements.txt`
2424
* Run `set DISTUTILS_USE_SDK=1`
2525
* Run `python setup.py bdist_wheel`
26-
* Run `python -m pip install dist/*.whl`
26+
* Run `pip install dist/*.whl`
2727

2828
Advanced setup and Troubleshooting
2929
-------------------

third_party/tensorrt/archive/BUILD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ cc_library(
198198
linkopts = ["-lpthread"],
199199
deps = [
200200
"nvinfer",
201-
] + select({
202-
":windows": ["@cuda_win//:cudart"],
203-
"//conditions:default": ["@cuda//:cudart"],
204-
}),
201+
] + select({
202+
":windows": ["@cuda_win//:cudart"],
203+
"//conditions:default": ["@cuda//:cudart"],
204+
}),
205205
alwayslink = True,
206206
)

third_party/tensorrt/local/BUILD

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ cc_library(
103103
deps = [
104104
"nvinfer_headers",
105105
"nvinfer_lib",
106-
] + select({
106+
] + select({
107107
":windows": ["@cuda_win//:cudart", "nvinfer_static_lib"],
108108
"//conditions:default": ["@cuda//:cudart"],
109109
}),
@@ -358,9 +358,9 @@ cc_library(
358358
}),
359359
deps = [
360360
"nvinfer",
361-
] + select({
362-
":windows": ["@cuda_win//:cudart"],
363-
"//conditions:default": ["@cuda//:cudart"],
364-
}),
361+
] + select({
362+
":windows": ["@cuda_win//:cudart"],
363+
"//conditions:default": ["@cuda//:cudart"],
364+
}),
365365
alwayslink = True,
366366
)

0 commit comments

Comments
 (0)