fo40225 / tensorflow-windows-wheel

Tensorflow prebuilt binary for Windows
3.67k stars 1.53k forks source link

tensorflow - 2.0.0 / py37 / GPU /cuda101cudnn76avx2/ . Gpu is being ignored. #121

Open hariroshan opened 4 years ago

hariroshan commented 4 years ago

Even after installing the required versions. TF still ignores the graphics card. Also I installed AVX2 wheel, but it says to use AVX2 version. Can you help me solve this issue. Look at the output from console.

Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2019-12-06 06:26:10.892782: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
>>> tf.test.is_gpu_available()
2019-12-06 06:26:53.979935: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2019-12-06 06:26:54.241067: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2019-12-06 06:26:55.473908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce GTX 765M major: 3 minor: 0 memoryClockRate(GHz): 0.8625
pciBusID: 0000:01:00.0
2019-12-06 06:26:55.484913: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2019-12-06 06:26:55.492009: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1700] Ignoring visible gpu device (device: 0, name: GeForce GTX 765M, pci bus id: 0000:01:00.0, compute capability: 3.0) with Cuda compute capability 3.0. The minimum required Cuda capability is 3.5.
2019-12-06 06:26:55.650514: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-12-06 06:26:55.656973: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165]      0
2019-12-06 06:26:55.661613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0:   N
False
fo40225 commented 4 years ago

Please pip uninstall first