Can't use chainer in W10 with CUDA 11.1
See original GitHub issueWhen trying to run chainer, I get the following error message:
Traceback (most recent call last):
File "train_dcgan.py", line 178, in <module>
main()
File "train_dcgan.py", line 65, in main
chainer.cuda.get_device_from_id(args.gpu).use()
File "C:\Users\Beri\miniconda3\envs\ganDemo\lib\site-packages\chainer\backends\cuda.py", line 279, in get_device_from_id
check_cuda_available()
File "C:\Users\Beri\miniconda3\envs\ganDemo\lib\site-packages\chainer\backends\cuda.py", line 142, in check_cuda_available
raise RuntimeError(msg)
RuntimeError: CUDA environment is not correctly set up
(see https://github.com/chainer/chainer#installation).No module named 'cupy.util'
This works fine if using CUDA 10.2, but it has no support for the most recent NVIDIA GPUs.
- Conditions:
Platform: Windows-10-10.0.19041-SP0 Chainer: 7.7.0 ChainerX: Not Available NumPy: 1.19.3 CuPy: Not Available iDeep: Not Available
- Chainer version: 7.7.0
- CuPy version: cupy-cuda111==8.1.0
- OS/Platform: Windows 10 x64
- CUDA/cuDNN version: CUDA 11.1/cuDNN 8.0.4.30
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Installation — Chainer 7.8.1 documentation
See CuPy's installation guide to install CuPy. Once CuPy is correctly set up, Chainer will automatically enable CUDA support.
Read more >Setting up the development environment for Chainer with ...
Setting up the development environment for Chainer with CUDA on Eclipse on Windows 10 · The versions we are installing. Visual Studio. 2017...
Read more >Can not import cupy with chainer 4.1.0 - Stack Overflow
i recently encountered this error on windows environment python 3.6 vs 2015 cuda 8.0. i tried. pip install cupy.
Read more >WIndows 10 CUDA installation failure solved
If the installation of CUDA is failing on Windows 10 its most likely failing because you have GeForce Experience installed.
Read more >WSL 2 GPU Support for Docker Desktop on NVIDIA GPUs
Today, everything has changed: On the OS side, Windows 11 users can now enable their GPU without participating in the Windows Insider program....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@DiKorsch ok, thank you for the fast reply. I guess I will open a new issue then.
@iegorval, yes, this is the change, that fixed the problem for me 🤷