Skip to content

Commit 37d5d4d

Browse files
update inference download url
1 parent ec2acec commit 37d5d4d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

doc/install/install-from-source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ One can also [use conda](https://docs.deepmodeling.org/faq/conda.html) to instal
9898
To install Paddle, run
9999

100100
```sh
101-
# cu123
101+
# cu126
102102
pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
103103
# cu118
104104
pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/

source/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,23 @@ if(ENABLE_PADDLE)
3737
find_package(CUDAToolkit REQUIRED)
3838
string(REGEX MATCH "^[0-9]+" CUDA_MAJOR_VERSION "${CUDAToolkit_VERSION}")
3939
message(STATUS "Find CUDAToolkit_VERSION: ${CUDAToolkit_VERSION}")
40+
# "6ed5dd3" is the commit id of paddle release/3.0, see:
41+
# https://github.com/PaddlePaddle/Paddle/tree/v3.0.0
4042
if(CUDA_MAJOR_VERSION VERSION_EQUAL "11")
4143
message(
4244
STATUS
43-
"PADDLE_INFERENCE_DIR is not defined, downloading CUDA11.8 infernece lib to: ${CMAKE_BINARY_DIR}/"
45+
"PADDLE_INFERENCE_DIR is not defined, downloading CUDA11.8 inference lib to: ${CMAKE_BINARY_DIR}/"
4446
)
4547
set(DOWNLOAD_URL
46-
"https://paddle-qa.bj.bcebos.com/paddle-pipeline/GITHUB_Docker_Compile_Test_Cuda118_cudnn860_Trt8531_D1/latest/paddle_inference.tgz"
48+
"https://paddle-qa.bj.bcebos.com/paddle-pipeline/GITHUB_Docker_Compile_Test_Cuda118_cudnn897_Trt8616_D1/6ed5dd3833c32c3b21e14b1fb1a71f5a535a0fcc/paddle_inference.tgz"
4749
)
4850
elseif(CUDA_MAJOR_VERSION VERSION_EQUAL "12")
4951
message(
5052
STATUS
51-
"PADDLE_INFERENCE_DIR is not defined, downloading CUDA12.3 infernece lib to: ${CMAKE_BINARY_DIR}/"
53+
"PADDLE_INFERENCE_DIR is not defined, downloading CUDA12.6 inference lib to: ${CMAKE_BINARY_DIR}/"
5254
)
5355
set(DOWNLOAD_URL
54-
"https://paddle-qa.bj.bcebos.com/paddle-pipeline/GITHUB_Docker_Compile_Test_Cuda123_cudnn900_Trt8616_D1/latest/paddle_inference.tgz"
56+
"https://paddle-qa.bj.bcebos.com/paddle-pipeline/GITHUB_Docker_Compile_Test_Cuda126_cudnn951_Trt105018_D1/6ed5dd3833c32c3b21e14b1fb1a71f5a535a0fcc/paddle_inference.tgz"
5557
)
5658
else()
5759
message(
@@ -62,10 +64,10 @@ if(ENABLE_PADDLE)
6264
else()
6365
message(
6466
STATUS
65-
"PADDLE_INFERENCE_DIR is not defined, downloading CPU infernece lib to: ${CMAKE_BINARY_DIR}/"
67+
"PADDLE_INFERENCE_DIR is not defined, downloading CPU inference lib to: ${CMAKE_BINARY_DIR}/"
6668
)
6769
set(DOWNLOAD_URL
68-
"https://paddle-qa.bj.bcebos.com/paddle-pipeline/GITHUB_Docker_Compile_Test_Cpu_Mkl_Avx_D1/latest/paddle_inference.tgz"
70+
"https://paddle-qa.bj.bcebos.com/paddle-pipeline/GITHUB_Docker_Compile_Test_Cpu_Mkl_Avx_D1/6ed5dd3833c32c3b21e14b1fb1a71f5a535a0fcc/paddle_inference.tgz"
6971
)
7072
endif()
7173
set(TGZ_FILE "${CMAKE_BINARY_DIR}/paddle_inference.tgz")

0 commit comments

Comments
 (0)