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.

CPU environment has CUDA?!

See original GitHub issue

Describe the bug The PyTorch version that is being used for CPU only quick tests seems to be 1.9.0+cu102, which is a cuda version. https://github.com/Project-MONAI/MONAI/runs/3667531453#step:9:435 https://github.com/Project-MONAI/MONAI/runs/3667531453#step:10:10

Also the installed torchvision: TorchVision version: 0.10.0+cu102 https://github.com/Project-MONAI/MONAI/runs/3667531453#step:10:29

This is causing issue with cucim: https://github.com/Project-MONAI/MONAI/pull/2987/checks?check_run_id=3669657801#step:10:10852 since cucim is not working in cuda<11.0 and this test environment is supposed to be CPU only where cuCIM should work but seems to be a CUDA 10.2 environment.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Nic-Macommented, Sep 22, 2021

Hi @drbeh ,

I will submit a PR to skip cuCIM tests if CUDA < 11.0 today.

Thanks.

0reactions
drbehcommented, Sep 22, 2021

Hi @drbeh ,

I will submit a PR to skip cuCIM tests if CUDA < 11.0 today.

Thanks.

Hi @Nic-Ma , have you been able to submit a PR to skip cucim when cuda<11? It is a blocking factor in testing cucim and releasing monai. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Virtual Environments with CPU and GPU Support - Medium
First of all, we need to have a GPU that supports the CUDA library. The list of the CUDA supported GPUs can be...
Read more >
CUDA Installation Guide for Microsoft Windows
The CPU and GPU are treated as separate devices that have their own memory ... CUDA installation environment is managed via pip and...
Read more >
CUDA Simply Explained - GPU vs CPU Parallel Computing for ...
04:59 - benefits of using CUDA 06:03 - verify our GPU is capable of CUDA ... python3 -m venv my_env activate working environment...
Read more >
Managing GPU dependencies – Introduction to Conda for ...
The NVIDIA CUDA Toolkit provides a development environment for creating high performance GPU-accelerated applications. The toolkit includes GPU-accelerated ...
Read more >
Not working with CPU getting error "OSError: CUDA_HOME ...
Not working with CPU getting error "OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root."
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