question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CI `cmake_windows_gpu` job failing due to dependencies

See original GitHub issue

🐛 Describe the bug

The job cmake_windows_gpu started failing with:

Package vc conflicts for:
numpy -> vc[version='14.*|9.*|>=14.1,<15.0a0']
cudatoolkit=11.3 -> vc[version='>=14.1,<15.0a0']
python=3.7 -> vc[version='14.*|>=14.1,<15.0a0']
python=3.7 -> openssl[version='>=1.1.1e,<1.1.2a'] -> vc=9
pytorch=1.13.0.dev20220822 -> cudatoolkit[version='>=11.3,<11.4'] -> vc[version='>=14.1,<15.0a0']

Package mkl conflicts for:
numpy -> mkl_random -> mkl[version='>=2020.1,<2021.0a0']
numpy -> mkl[version='>=2018.0.0,<2019.0a0|>=2018.0.1,<2019.0a0|>=2018.0.2,<2019.0a0|>=2018.0.3,<2019.0a0|>=2019.1,<2021.0a0|>=2019.3,<2021.0a0|>=2019.4,<2021.0a0|>=2021.2.0,<2022.0a0|>=2021.3.0,<2022.0a0|>=2021.4.0,<2022.0a0|>=2019.4,<2020.0a0']

Package intel-openmp conflicts for:
pytorch=1.13.0.dev20220822 -> mkl[version='>=2018'] -> intel-openmp[version='2021.*|2022.*']
pytorch=1.13.0.dev20220822 -> intel-openmp
numpy -> mkl[version='>=2021.4.0,<2022.0a0'] -> intel-openmp[version='2021.*|2022.*']

Package vs2015_runtime conflicts for:
cudatoolkit=11.3 -> vc[version='>=14.1,<15.0a0'] -> vs2015_runtime[version='>=14.15.26706|>=14.27.29016|>=14.16.27012']
cudatoolkit=11.3 -> vs2015_runtime[version='>=14.16.27012,<15.0a0']

Package ca-certificates conflicts for:
python=3.7 -> openssl[version='>=1.1.1n,<1.1.2a'] -> ca-certificates
numpy -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates

The issue first appeared on 20220823.

Versions

Latest main TorchVision.

cc @seemethere

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
atalmancommented, Aug 23, 2022

I am looking into this issue now, this looks like cudatoolkit=11.3 is pulled for some reason where it should not be pulled. It happens also with cuda 11.7 installs. Here is the reference workflow: https://app.circleci.com/pipelines/github/pytorch/vision/19672/workflows/e43e0f19-7fef-4dba-bf8d-d35497890542/jobs/1593994

After research, this is found to be different issue. Please see @malfet comment

0reactions
datumboxcommented, Aug 25, 2022

@atalman The problem seems to persist. I’m also worried because cmake_windows_cpu is also failing but with a non-zero status and I don’t know if that could be related or there is a breaking change on Core that affects it. Any thoughts on how we can fix it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't use CUDA build with CMake on Windows #6026 - GitHub
I've built LLVM with CUDA support on Windows and used the resulting ... "gpu success" : "gpu failure") << std::endl; // run kernel...
Read more >
CUDA/Makefiles: CMake 3.20.0 detects dependencies without ...
A build where clang was identified failed with an error about gcc . gcc: error: unrecognized command line option '-fopenmp=libomp'. Short ...
Read more >
CUDA CXX CMAKE: nvlink error : Undefined reference
For a large CUDA and CXX project, I am using CMake for dependency handling/compilation settings. I am working on Windows 11 using MSVC2019....
Read more >
Managing dependencies in a C++ project with vcpkg
More than half a year ago I was trying out Conan package manager for resolving dependencies in our C++ project. The research went...
Read more >
NVIDIA CUDA Installation Guide for Linux
Note: This guide covers installation only on systems with X Windows installed. ... on certain distributions due to software dependency limitations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found