Skip to content

Commit bbc3129

Browse files
authored
setup (#71351) (#71630)
1 parent 6470d80 commit bbc3129

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

paddle/phi/backends/dynload/dynamic_loader.cc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void* GetCublasDsoHandle() {
365365
#endif
366366
} else {
367367
std::string warning_msg(
368-
"Your CUDA_VERSION is less than 11 or greater than 12, paddle "
368+
"Your CUDA_VERSION is less than 11 or greater than 13, paddle "
369369
"temporarily no longer supports");
370370
return nullptr;
371371
}
@@ -384,7 +384,7 @@ void* GetCublasDsoHandle() {
384384
#endif
385385
} else {
386386
std::string warning_msg(
387-
"Your CUDA_VERSION is less than 11 or greater than 12, paddle "
387+
"Your CUDA_VERSION is less than 11 or greater than 13, paddle "
388388
"temporarily no longer supports");
389389
return nullptr;
390390
}
@@ -412,7 +412,7 @@ void* GetCublasLtDsoHandle() {
412412
#endif
413413
} else {
414414
std::string warning_msg(
415-
"Your CUDA_VERSION is less than 11 or greater than 12, paddle "
415+
"Your CUDA_VERSION is less than 11 or greater than 13, paddle "
416416
"temporarily no longer supports");
417417
return nullptr;
418418
}
@@ -528,7 +528,7 @@ void* GetCUPTIDsoHandle() {
528528
#endif
529529
} else {
530530
std::string warning_msg(
531-
"Your CUDA_VERSION is less than 11 or greater than 12, paddle "
531+
"Your CUDA_VERSION is less than 11 or greater than 13, paddle "
532532
"temporarily no longer supports");
533533
return nullptr;
534534
}
@@ -624,7 +624,7 @@ void* GetCusparseDsoHandle() {
624624
#endif
625625
} else {
626626
std::string warning_msg(
627-
"Your CUDA_VERSION is less than 11 or greater than 12, paddle "
627+
"Your CUDA_VERSION is less than 11 or greater than 13, paddle "
628628
"temporarily no longer supports");
629629
return nullptr;
630630
}
@@ -842,7 +842,7 @@ void* GetCUFFTDsoHandle() {
842842
return GetDsoHandleFromSearchPath(FLAGS_cuda_dir, "libcufft.so.11");
843843
} else {
844844
std::string warning_msg(
845-
"Your CUDA_VERSION is less than 11 or greater than 12, paddle "
845+
"Your CUDA_VERSION is less than 11 or greater than 13, paddle "
846846
"temporarily no longer.");
847847
return nullptr;
848848
}
@@ -863,7 +863,7 @@ void* GetCUFFTDsoHandle() {
863863
#endif
864864
} else {
865865
std::string warning_msg(
866-
"Your CUDA_VERSION is less than 11 or greater than 12, paddle "
866+
"Your CUDA_VERSION is less than 11 or greater than 13, paddle "
867867
"temporarily no longer supports");
868868
return nullptr;
869869
}

python/setup.py.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,15 @@ def get_paddle_extra_install_requirements():
647647
"nvidia-cusolver-cu12==11.6.1.9 | "
648648
"nvidia-cusparse-cu12==12.3.1.170 "
649649
),
650+
"12.6": (
651+
"nvidia-cuda-runtime-cu12==12.6.77 | "
652+
"nvidia-cudnn-cu12==9.5.1.17 | "
653+
"nvidia-cublas-cu12==12.6.4.1 | "
654+
"nvidia-cufft-cu12==11.3.0.4 | "
655+
"nvidia-curand-cu12==10.3.7.77 | "
656+
"nvidia-cusolver-cu12==11.7.1.2 | "
657+
"nvidia-cusparse-cu12==12.5.4.2 "
658+
),
650659
}
651660

652661
try:

setup.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,15 @@ def get_paddle_extra_install_requirements():
11661166
"nvidia-cusolver-cu12==11.6.1.9 | "
11671167
"nvidia-cusparse-cu12==12.3.1.170 "
11681168
),
1169+
"12.6": (
1170+
"nvidia-cuda-runtime-cu12==12.6.77 | "
1171+
"nvidia-cudnn-cu12==9.5.1.17 | "
1172+
"nvidia-cublas-cu12==12.6.4.1 | "
1173+
"nvidia-cufft-cu12==11.3.0.4 | "
1174+
"nvidia-curand-cu12==10.3.7.77 | "
1175+
"nvidia-cusolver-cu12==11.7.1.2 | "
1176+
"nvidia-cusparse-cu12==12.5.4.2 "
1177+
),
11691178
}
11701179
try:
11711180
output = subprocess.check_output(['nvcc', '--version']).decode(

0 commit comments

Comments
 (0)