본문 바로가기

OS/Windows

[Windows] cudart64_100.dll 문제

Tensorflow 설치 후, python을 실행하고 tensorflow를 import 하면

다음과 같은 에러가 발생하는 경우가 있다.

2019-12-29 18:39:37.326960: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_100.dll'; dlerror: cudart64_100.dll not found

CUDA 10.0 이하에 있는 cudart64_100.dll을 요구하는데 10.1 이상 버전을 설치했을 때 나타나는 문제인 듯 하다.

아래는 참고 원문 링크이다.

참고

 

How to resolve TensorFlow 2.0 Error – Could not load dynamic library ‘cudart64_100.dll’ – Jozef Jarosciak Blog

Recently I came across an issue while building ANN with TensorFlow 2.0, where IntelliJ complained about not being able to load the dynamic library ‘cudart64_100.dll’. The below instructions outline the approach for fixing the issue and would apply also

www.joe0.com

 

Solution

1. cudart64_100.dll을 다운 받는다.

cudart64_100.dll

2. CUDA 설치 경로에 cudart64_100.dll 파일을 넣는다.
   (default : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin)

3. 그리고 나서 다시 python에서 tensorflow를 import 하면 다음과 같은 문구가 뜬다.

2020-08-09 16:24:09.294346: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll

 

References

[Windows] cudart64_100.dll 문제

'OS > Windows' 카테고리의 다른 글

[Windows] Tensorflow 실행시 CUDA DLL 에러 해결  (0) 2020.08.17