cupy.cuda.runtime.CUDARuntimeError: cudaErrorInsufficientDriver - chainer

I try to reproduce some codes with chainer. However, there is something wrong with cuda setting.
I used the conda environment with python 3.5 and ubuntu16.04. I used chainer 5.4.0 and cupy 5.4.0.
When I used "cupy.show_config()", the result is:
CuPy Version : 5.4.0
CUDA Root : /usr/local/cuda-10.1
CUDA Build Version : 10010
CUDA Driver Version : 0
CUDA Runtime Version : CUDARuntimeError('cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA runtime version',)
cuDNN Build Version : 7500
cuDNN Version : 7500
NCCL Build Version : None
NCCL Runtime Version : None
there is always a CUDARuntimeError.
I expect to solve the problem of CUDARuntimeError.

I have solved the problem by reinstalling cuda and cudnn.

Related

configuration failed for package ‘units’ on Termius in Windows 10

I have a problem installing R package "units" on Termius. The linux distro and kernel version are CentOS Linux release 7.9.2009 (Core). When "units" was installed, it reported the following error message:
I am using Windows 10 and have to use Termius to run R. Is there a way to resolve this issue in this case?

How to resolve the mismatch between OpenCl Library and OpenCl platform?

Openvino inference crashes. I think the source of issue is the note at the end of clinfo command:
your OpenCL library only supports OpenCL 2.1,
but some installed platforms support OpenCL 3.0.
Programs using 3.0 features may crash or behave unexpectedly
How can I upgrade my OpenCL library to 3.0 to resolve the issue?
OS: Ubuntu 20.04
Kernel: 5.15.2-051502-generic
The content of /etc/OpenCL/vendors/intel.icd file is:
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so
Try installing the latest Intel Compute Engine 21.45.21574 and see if it resolves the issue.

Error when installing PySide on Nvidia Jetson Nano 4gb

This is the error that shows up when I try to run "pip install PySide" on my Jetson Nano. Can someone please let me know how I can fix this error?
CMake Warning at /usr/share/cmake-3.10/Modules/FindQt4.cmake:620 (message):
/usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/aarch64-linux-gnu" but
QtCore could not be found there. Qt is NOT installed correctly for the
target build environment.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.6")
-- Found LibXml2: /usr/lib/aarch64-linux-gnu/libxml2.so (found suitable version "2.9.4", minimum required is "2.6.32")
-- Could NOT find LibXslt (missing: LIBXSLT_LIBRARIES LIBXSLT_INCLUDE_DIR) (Required is at least version "1.1.19")
Qt QTGUI library not found.
Qt QTXML library not found.
Qt QTCORE library not found.
CMake Error at ApiExtractor/CMakeLists.txt:82 (qt4_add_resources):
Unknown CMake command "qt4_add_resources".
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-build-mimaL7/PySide/pyside_build/py2.7-qt4.8.7-64bit-release/shiboken/CMakeFiles/CMakeOutput.log".
error: Error configuring shiboken
PySide does not have official release package for ARM systems. You have to build it yourself. All I can afford is this .whl, but keep in mind that it was built on Ubuntu 20.04 with JetPack 4 and Python 3.6 on board.

Can't install tensorflow in R, my machine is 64 bit but R doesn't detect it

I'm using windows, my problem is that while trying to install tensorflow in R the following error message appears.
Error in install_tensorflow(method = method, conda = conda, version = tensorflow, :
Unable to install TensorFlow on this platform.Binary installation is only available for 64-bit platforms.
My machine is 64 bit, so I don't understand where is the problem.
I've already cheked if my anaconda installation and the python version are 64bit and they are.
I can install tensorflow in python without any error, but i can't in R.
I've tried to redirect the R tensorflow installation to the python environment but i don't know if it can really help.
> library(tensorflow)
> install_tensorflow()
Error in install_tensorflow() :
Unable to install TensorFlow on this platform.Binary installation is only available for 64-bit platforms.
Can you try to install older version of tensorflow which is 1.5.0 using command pip install tensorflow==1.5.0

reinstall keras. tensorflow in R on Win10

I have r-keras and r-tension CPU version installed on Win10. It works good until i received a warning message of Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2.
Besides, I hv Nvidia GeForce MX150.
When I tried to re-install tensor/keras GPU version by library(tensorflow)
install_tensorflow(version = "gpu")
it shows Error: Error 1 occurred installing packages into conda environment r-tensorflow
Please advise how I can hv the GPU version installed. Thanks.

Resources