From ef2b64188540994f4e2e9ec354b973649ee89aa5 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Tue, 3 Dec 2024 10:23:15 +0800 Subject: [PATCH] [Not for commit] Use onnxruntime 1.16.3 for Linux x86_64 GPU. --- cmake/onnxruntime-linux-x86_64-gpu.cmake | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmake/onnxruntime-linux-x86_64-gpu.cmake b/cmake/onnxruntime-linux-x86_64-gpu.cmake index 7aed2526f..0b3ad74d5 100644 --- a/cmake/onnxruntime-linux-x86_64-gpu.cmake +++ b/cmake/onnxruntime-linux-x86_64-gpu.cmake @@ -19,19 +19,19 @@ if(NOT SHERPA_ONNX_ENABLE_GPU) endif() -set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-gpu-1.17.1-patched.zip") -set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-gpu-1.17.1-patched.zip") +set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-linux-x64-gpu-1.16.3.tgz") +set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-gpu-1.16.3.tgz") set(onnxruntime_HASH "SHA256=1261de176e8d9d4d2019f8fa8c732c6d11494f3c6e73168ab6d2cc0903f22551") # If you don't have access to the Internet, # please download onnxruntime to one of the following locations. # You can add more if you want. set(possible_file_locations - $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.17.1-patched.zip - ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.17.1-patched.zip - ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.17.1-patched.zip - /tmp/onnxruntime-linux-x64-gpu-1.17.1-patched.zip - /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.17.1-patched.zip + $ENV{HOME}/Downloads/onnxruntime-linux-x64-gpu-1.16.3.tgz + ${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-gpu-1.16.3.tgz + ${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-gpu-1.16.3.tgz + /tmp/onnxruntime-linux-x64-gpu-1.16.3.tgz + /star-fj/fangjun/download/github/onnxruntime-linux-x64-gpu-1.16.3.tgz ) foreach(f IN LISTS possible_file_locations)