-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Fails to compile with nvidia-cuda-toolkit-12.4.0 #122169
Copy link
Copy link
Closed
Labels
module: buildBuild system issuesBuild system issuesmodule: cudaRelated to torch.cuda, and CUDA support in generalRelated to torch.cuda, and CUDA support in generaltriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 Describe the bug
it fails to compile with nvidia-cuda-toolkit-12.4.0 (compiles fine with 12.3.2)
I tried pytorch both 2.1.2 and 2.2.1
https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/cuda/LinearAlgebra.cu#L131
/data/notmpfs/portage/sci-libs/caffe2-2.2.1-r1/work/pytorch-2.2.1/aten/src/ATen/native/cuda/LinearAlgebra.cu(129): error: namespace "thrust" has no member "swap"
thrust::swap(
^
1 error detected in the compilation of "/data/notmpfs/portage/sci-libs/caffe2-2.2.1-r1/work/pytorch-2.2.1/aten/src/ATen/native/cuda/LinearAlgebra.cu".
Versions
Collecting environment information...
PyTorch version: 2.1.0a0
Is debug build: False
CUDA used to build PyTorch: 12.3
ROCM used to build PyTorch: N/A
OS: Gentoo Linux (x86_64)
GCC version: (Gentoo Hardened 12.3.1_p20240209 p3) 12.3.1 20240209
Clang version: 17.0.6
CMake version: version 3.27.9
Libc version: glibc-2.38
Python version: 3.12.2 (main, Feb 24 2024, 19:52:20) [GCC 12.3.1 20240112] (64-bit runtime)
Python platform: Linux-6.6.21-gentoo-x86_64-Intel-R-_Core-TM-_i7-10750H_CPU_@_2.60GHz-with-glibc2.38
Is CUDA available: True
CUDA runtime version: 12.3.107
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce GTX 1650
Nvidia driver version: 535.161.07
cuDNN version: Probably one of the following:
/opt/cuda/targets/x86_64-linux/lib/libcudnn.so.8.8.0
/opt/cuda/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.8.0
/opt/cuda/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.8.0
/opt/cuda/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.8.0
/opt/cuda/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.8.0
/opt/cuda/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.8.0
/opt/cuda/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.8.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: False
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 12
On-line CPU(s) list: 0-11
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
CPU family: 6
Model: 165
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 1
Stepping: 2
CPU(s) scaling MHz: 60%
CPU max MHz: 5000.0000
CPU min MHz: 800.0000
BogoMIPS: 5199.98
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi pku ospke md_clear flush_l1d arch_capabilities
Virtualization: VT-x
L1d cache: 192 KiB (6 instances)
L1i cache: 192 KiB (6 instances)
L2 cache: 1.5 MiB (6 instances)
L3 cache: 12 MiB (1 instance)
Vulnerability Gather data sampling: Vulnerable: No microcode
Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Vulnerability Retbleed: Mitigation; Enhanced IBRS
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Vulnerable: eIBRS with unprivileged eBPF
Vulnerability Srbds: Vulnerable: No microcode
Vulnerability Tsx async abort: Not affected
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.1.2
[conda] Could not collect
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
module: buildBuild system issuesBuild system issuesmodule: cudaRelated to torch.cuda, and CUDA support in generalRelated to torch.cuda, and CUDA support in generaltriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module