![]() ![]() ![]() What is the value of CMAKE_CUDA_ARCHITECTURES in your case? What should it be? (It's empty for me.) Note that cmake fails at CMakeDetermineCUDACompiler.cmake:633: if(NOT CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA" OR _CUDA_CMP0104 STREQUAL "NEW") See also "/tmp/makepkg/python-torchaudio/src/audio/build/temp.linux-x86_64-3.10/CMakeFiles/CMakeError.log".ĬMakeError.log contains the following: Checking whether the CUDA compiler is NVIDIA using "" did not match "nvcc: NVIDIA \(R\) Cuda compiler driver":Ĭhecking whether the CUDA compiler is Clang using "" did not match "(clang version)":Ĭompiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" failed. See also "/tmp/makepkg/python-torchaudio/src/audio/build/temp.linux-x86_64-3.10/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! usr/lib64/cmake/Torch/TorchConfig.cmake:68 (find_package) usr/lib64/cmake/Caffe2/Caffe2Config.cmake:88 (include) usr/lib64/cmake/Caffe2/public/cuda.cmake:41 (enable_language) The CUDA compiler identification is unknownĬMake Error at /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:633 (message):įailed to detect a default CUDA architecture. Found CUDA: /opt/cuda (found version "11.7") Still having the same sort of problems, a month later: - Caffe2: Protobuf version 3.20.1 Maybe that program is somehow missing or broken for you? I got Compiler: /opt/cuda/bin/nvcc but you have Compiler: CMAKE_CUDA_COMPILER-NOTFOUND. var/lib/archbuild/extra-x86_64/yan12125/build/python-torchaudio/src/audio/build/temp.linux-x86_64-3.10/CMakeCache.txt:CMAKE_CUDA_ARCHITECTURES:UNINITIALIZED=52-real 60-real 62-real 70-real 72-real 75-real 80-real 86-real 86 $ grep -r CMAKE_CUDA_ARCH /var/lib/archbuild/extra-x86_64/yan12125/build/python-torchaudio/src/audio/build/temp.linux-x86_64-3.10 Id flags: -keep -keep-dir tmp -ccbin=/usr/bin/g -11 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_72,code=sm_72 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=sm_86 -gencode=arch=compute_86,code=sm_86 -v Here are relevant logs for me: $ grep -A 10 'Checking whether the CUDA compiler' /var/lib/archbuild/extra-x86_64/yan12125/build/python-torchaudio/src/audio/build/temp.linux-x86_64-3.10/CMakeFiles/CMakeOutput.logĬhecking whether the CUDA compiler is NVIDIA using "" matched "nvcc: NVIDIA \(R\) Cuda compiler driver":Ĭopyright (c) 2005-2022 NVIDIA CorporationĬuda compilation tools, release 11.7, V11.7.64īuild cuda_11.7.r11.7/compiler.31294372_0Ĭompiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" succeeded. ( ninja-git, ninja-samurai, python-ninja, ninja-kitware, ninja-mem, ninja-bin) (make) ( git-vfs, git-git, git-run-command-patch-git) (make) ( zlib-static, zlib-ng-compat-git, zlib-git, zlib-ng-compat) ( python-pytorch-mkl-git, python-pytorch-cuda-git, python-pytorch-mkl-cuda-git, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-rocm) ( nogil-python, python36, python32, python39, python38, python37, python312, python311) ( libvorbis-aotuv, libvorbis-aotuv-lancer, libvorbis-git) ( flac-nodocs-git, flac-minimal-git, lib32-flac-git, flac-git, flac, lib32-flac) ( bzip2-git, bzip2-rustify-git, bzip2-with-lbzip2-symlinks) ![]()
0 Comments
Leave a Reply. |