Skip to content

Instantly share code, notes, and snippets.

@navinthenapster
Last active August 25, 2021 11:53
Show Gist options
  • Save navinthenapster/36bdea1c47d531ab035c38ef9055ef44 to your computer and use it in GitHub Desktop.
Save navinthenapster/36bdea1c47d531ab035c38ef9055ef44 to your computer and use it in GitHub Desktop.
To configure and connect GPU drivers to tensorflow

https://medium.com/@medasuryatej/install-tensorflow-gpu-2-0-f4e215438199

for libcupti problem

I have encountered this problem before. When you use CUDA 8.0,the file cupti64_80.dll lies in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\CUPTI\libx64. I just fixed the problem by copying the dll into C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin, and the file cupti.lib in the same location into C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64.

On Nvidia Control Panel, there is a Developer-Manage GPU Performance Counters section. Default toggle is to limit access to GPU preformance counters to admin users only. But you must select 'Allow acces to the GPU prformance counters to all users'. Once toggled, access permissions to the cupti dll are resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment