-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
🐛 Describe the bug
The cmake_windows_gpu job on latest main started failing with:
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1 (found version "10.1")
-- Caffe2: CUDA detected: 10.1
-- Caffe2: CUDA nvcc is: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/bin/nvcc.exe
-- Caffe2: CUDA toolkit directory: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1
CMake Error at C:/tools/miniconda3/Lib/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:42 (message):
PyTorch requires CUDA 10.2 or above.
Call Stack (most recent call first):
C:/tools/miniconda3/Lib/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
C:/tools/miniconda3/Lib/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
CMakeLists.txt:17 (find_package)
It seems that despite defining CUDA10.2 below, something setups 10.1 on the paths:
Lines 1704 to 1707 in c1ddb93
- cmake_windows_gpu: | |
cu_version: cu102 | |
name: cmake_windows_gpu | |
python_version: '3.8' |
This version mismatch was probably always there but the 10.1 version check and enforcement was probably introduced on PyTorch recently because this job passed yesterday.
Versions
latest main a2b4c65