File tree 3 files changed +21
-17
lines changed
3 files changed +21
-17
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ def main(args: List[str]) -> None:
28
28
if all (
29
29
[
30
30
item ["python_version" ] not in disabled_python_versions ,
31
- item ["desired_cuda" ] != cpu_tag ,
31
+ # only test cu128 for aarch64 for now for quick CI
32
+ item ["desired_cuda" ] == "cu128" ,
32
33
]
33
34
):
34
35
filtered_includes .append (item )
Original file line number Diff line number Diff line change @@ -7,18 +7,18 @@ python3 -m pip install pyyaml
7
7
8
8
install -y ninja-build gettext
9
9
10
- PLATFORM=" amd64"
11
- PLATFORM=x86_64
12
- BAZEL_PLATFORM=amd64
13
- if [[ $( uname -m) == " aarch64" ]]; then
14
- PLATFORM=aarch64
15
- BAZEL_PLATFORM=arm64
16
-
17
- rm -rf /opt/openssl # Not sure whats up with the openssl mismatch
18
- fi
10
+ # PLATFORM="amd64"
11
+ # PLATFORM=x86_64
12
+ # BAZEL_PLATFORM=amd64
13
+ # if [[ $(uname -m) == "aarch64" ]]; then
14
+ # PLATFORM=aarch64
15
+ # BAZEL_PLATFORM=arm64
16
+
17
+ # rm -rf /opt/openssl # Not sure whats up with the openssl mismatch
18
+ # fi
19
19
20
- wget https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux- ${BAZEL_PLATFORM} \
21
- && mv bazelisk-linux- ${BAZEL_PLATFORM} /usr/bin/bazel \
20
+ wget https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-` uname -s ` - ` uname -m ` -o bazelisk \
21
+ && mv bazelisk /usr/bin/bazel \
22
22
&& chmod +x /usr/bin/bazel
23
23
24
24
TORCH_TORCHVISION=$( grep " ^torch" py/requirements.txt)
@@ -49,6 +49,8 @@ if [[ "${CU_VERSION::4}" < "cu12" ]]; then
49
49
-e " s/tensorrt-cu12-libs/tensorrt-${CU_VERSION:: 4} -libs/g" \
50
50
pyproject.toml
51
51
fi
52
+
53
+
52
54
curl -L https://github.com/a8m/envsubst/releases/download/v1.4.2/envsubst-Linux-arm64 -o envsubst \
53
55
&& mv envsubst /usr/bin/envsubst && chmod +x /usr/bin/envsubst
54
56
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ def load_dep_info():
128
128
129
129
if RELEASE :
130
130
__version__ = os .environ .get ("BUILD_VERSION" )
131
+ print (f"lan added BUILD_VERSION: { __version__ } " )
131
132
else :
132
133
__version__ = f"{ get_base_version ()} .dev0+{ get_git_revision_short_hash ()} "
133
134
@@ -190,11 +191,11 @@ def build_libtorchtrt_cxx11_abi(
190
191
191
192
if IS_SBSA :
192
193
if CI_BUILD :
193
- cmd .append ("--//toolchains/dep_src:torch=whl" )
194
-
195
- if CI_BUILD :
196
- cmd .append ("--platforms=//toolchains:ci_rhel_x86_64_linux" )
197
- print ("CI based build" )
194
+ cmd .append ("--platforms= //toolchains/dep_src:torch=whl" )
195
+ else :
196
+ if CI_BUILD :
197
+ cmd .append ("--platforms=//toolchains:ci_rhel_x86_64_linux" )
198
+ print ("CI based build" )
198
199
199
200
print (f"building libtorchtrt { cmd = } " )
200
201
status_code = subprocess .run (cmd ).returncode
You can’t perform that action at this time.
0 commit comments