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.

cuda_compiler_version is "None" even in cuda builds

See original GitHub issue

cuda_compiler_version correctly gets inserted correctly into the CI jobs of staged-recipes:

++ cat /home/conda/staged-recipes-copy/.ci_support/linux64_cuda110.yaml
c_compiler:
- gcc
cxx_compiler:
- gxx
fortran_compiler:
- gfortran
c_compiler_version:
- 9
cxx_compiler_version:
- 9
fortran_compiler_version:
- 9
cudnn:
- 8
cdt_name:
- cos7
target_platform:
- linux-64
channel_sources:
- conda-forge
docker_image:
- quay.io/condaforge/linux-anvil-cuda:11.0
cuda_compiler_version:
- 11.0

but when the meta.yaml is rendered, the value isn’t there.

I puzzled for a while why

  skip: true  # [not linux]
  skip: true  # [cuda_compiler_version == "None"]

ended up skipping all cuda builds, until I removed the second line and ran into resolver errors:

Mamba failed to solve:
 - nvcc_linux-64 None.*
 - python 3.8.* *_cpython
 - glog
 - gxx_linux-64 9.*
 - pybind11
 - gflags 2.2.*
 - gflags
 - python
 - cmake >=3.12
 - glog 0.5.*

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
h-vetinaricommented, Feb 12, 2022

Edit: You should also be able to choose a blank issue if nothing fits.

Never noticed that one, cool thanks!

And also for adding the bug template! 🙃

1reaction
h-vetinaricommented, Feb 11, 2022

How about “bugs in staged-recipes” or “staged-recipes CI issues”?

Read more comments on GitHub >

github_iconTop Results From Across the Web

CUDA incompatible with my gcc version - Stack Overflow
gcc 4.5 and 4.6 are not supported with CUDA - code won't compile and the rest of the toolchain, including cuda-gdb, won't work...
Read more >
CUDA Compiler Driver NVCC - NVIDIA Documentation Center
Disable nvcc check for supported host compiler versions. Using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use ......
Read more >
Building issues [no CUDA toolset found] #103 - GitHub
I have building issues with the following system settings: Windows 10. Visual Studio 2019 (Community Edition) Version 16.5.4 cmake 3.17.1
Read more >
Installation — CuPy 11.4.0 documentation
When installing CuPy from source, features provided by additional CUDA libraries will be disabled if these libraries are not available at the build...
Read more >
CUDA: Escape comma in compile definitions for NVCC - GitLab
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ... CXX CUDA) cmake_minimum_required(VERSION 3.22) ...
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