Skip to content

Instantly share code, notes, and snippets.

@AndreasH96
Created June 1, 2022 12:56
Show Gist options
  • Save AndreasH96/6691f412e0dbe1f563b555ff39628e11 to your computer and use it in GitHub Desktop.
Save AndreasH96/6691f412e0dbe1f563b555ff39628e11 to your computer and use it in GitHub Desktop.
Bypasses the cudart64_110.dll not found error when importing tensorflow with cuda 11.2
import os
os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/bin")
import tensorflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment