File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -656,6 +656,22 @@ def get_paddle_extra_install_requirements():
656656 "nvidia-cufile-cu12==1.14.0.30; platform_system == 'Linux' and platform_machine == 'x86_64'"
657657 ),
658658 }
659+ if '@WITH_CINN@' == 'ON':
660+ PADDLE_CUDA_INSTALL_REQUIREMENTS["12.3"] += (
661+ " | nvidia-cuda-cccl-cu12==12.3.52;platform_system == 'Linux' and platform_machine == 'x86_64' "
662+ )
663+ PADDLE_CUDA_INSTALL_REQUIREMENTS["12.4"] += (
664+ " | nvidia-cuda-cccl-cu12==12.4.99;platform_system == 'Linux' and platform_machine == 'x86_64' "
665+ )
666+ PADDLE_CUDA_INSTALL_REQUIREMENTS["12.6"] += (
667+ " | nvidia-cuda-cccl-cu12==12.6.77;platform_system == 'Linux' and platform_machine == 'x86_64' "
668+ )
669+ PADDLE_CUDA_INSTALL_REQUIREMENTS["12.8"] += (
670+ " | nvidia-cuda-cccl-cu12==12.8.90;platform_system == 'Linux' and platform_machine == 'x86_64' "
671+ )
672+ PADDLE_CUDA_INSTALL_REQUIREMENTS["12.9"] += (
673+ " | nvidia-cuda-cccl-cu12==12.9.27;platform_system == 'Linux' and platform_machine == 'x86_64' "
674+ )
659675 elif platform.system() == 'Windows':
660676 PADDLE_CUDA_INSTALL_REQUIREMENTS = {
661677 "11.8": (
Original file line number Diff line number Diff line change @@ -1164,6 +1164,23 @@ def get_paddle_extra_install_requirements():
11641164 "nvidia-cufile-cu12==1.14.0.30; platform_system == 'Linux' and platform_machine == 'x86_64'"
11651165 ),
11661166 }
1167+ if env_dict .get ("WITH_CINN" ) == "ON" :
1168+ PADDLE_CUDA_INSTALL_REQUIREMENTS [
1169+ "12.3"
1170+ ] += " | nvidia-cuda-cccl-cu12==12.3.52;platform_system == 'Linux' and platform_machine == 'x86_64' "
1171+ PADDLE_CUDA_INSTALL_REQUIREMENTS [
1172+ "12.4"
1173+ ] += " | nvidia-cuda-cccl-cu12==12.4.99;platform_system == 'Linux' and platform_machine == 'x86_64' "
1174+ PADDLE_CUDA_INSTALL_REQUIREMENTS [
1175+ "12.6"
1176+ ] += " | nvidia-cuda-cccl-cu12==12.6.77;platform_system == 'Linux' and platform_machine == 'x86_64' "
1177+ PADDLE_CUDA_INSTALL_REQUIREMENTS [
1178+ "12.8"
1179+ ] += " | nvidia-cuda-cccl-cu12==12.8.90;platform_system == 'Linux' and platform_machine == 'x86_64' "
1180+ PADDLE_CUDA_INSTALL_REQUIREMENTS [
1181+ "12.9"
1182+ ] += " | nvidia-cuda-cccl-cu12==12.9.27;platform_system == 'Linux' and platform_machine == 'x86_64' "
1183+
11671184 elif platform .system () == 'Windows' :
11681185 PADDLE_CUDA_INSTALL_REQUIREMENTS = {
11691186 "11.8" : (
You can’t perform that action at this time.
0 commit comments