File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ endif() # TRITON_PYTORCH_ENABLE_TORCHTRT
160
160
161
161
if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "aarch64" )
162
162
set (LIBS_ARCH "aarch64" )
163
- set (CUSPARSE_ARCH "sbsa" )
164
163
set (LIBTORCH_LIBS
165
164
"libopenblas.so.0"
166
165
"libnvpl_blas_core.so.0"
@@ -176,7 +175,6 @@ if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "aarch64")
176
175
)
177
176
else ()
178
177
set (LIBS_ARCH "x86_64" )
179
- set (CUSPARSE_ARCH "x86_64" )
180
178
set (LIBTORCH_LIBS
181
179
"libmkl_avx2.so.1"
182
180
"libmkl_avx512.so.1"
@@ -232,7 +230,7 @@ if (${TRITON_PYTORCH_DOCKER_BUILD})
232
230
COMMAND docker cp pytorch_backend_ptlib:/usr/local/lib/python3.10/dist-packages/torch/lib/libtorch_global_deps.so libtorch_global_deps.so
233
231
COMMAND docker cp pytorch_backend_ptlib:/usr/local/lib/python3.10/dist-packages/torch/lib/libcaffe2_nvrtc.so libcaffe2_nvrtc.so
234
232
# TODO: Revisit when not needed by making it part of cuda base container.
235
- COMMAND docker cp -L pytorch_backend_ptlib:/usr/local/cuda-12.5/targets/${CUSPARSE_ARCH}-linux/lib /libcusparseLt.so libcusparseLt.so
233
+ COMMAND docker cp -L pytorch_backend_ptlib:/usr/local/cuda/lib64 /libcusparseLt.so libcusparseLt.so
236
234
COMMAND docker cp pytorch_backend_ptlib:/usr/local/lib/libtorchvision.so libtorchvision.so
237
235
COMMAND /bin/sh -c "if [ ${TRITON_PYTORCH_ENABLE_TORCHTRT} = 'ON' ]; then docker cp pytorch_backend_ptlib:/usr/local/lib/python3.10/dist-packages/torch_tensorrt/lib/libtorchtrt_runtime.so libtorchtrt_runtime.so; fi"
238
236
COMMAND docker cp pytorch_backend_ptlib:/usr/local/lib/python3.10/dist-packages/torch_tensorrt/bin/torchtrtc torchtrtc || echo "error ignored..." || true
You can’t perform that action at this time.
0 commit comments