cudart64_xxx.dll not found 에러 해결

cudart64_xxx.dll not found 에러 해결

TensorFlow 설치 후 이용 시, cudart64_xxx.dll을 찾지 못하는 오류를 해결하는 방법에 대해 알아봅니다.


버그 설명§

TensorFlow 2를 설치한 뒤 이용하려 할 때, cudart64_xxx.dll을 찾지 못하는 에러가 발생하는 경우가 있습니다.

error


왜 발생하는가?§

TensorFlow 2로 오면서, GPU 사용이 기본이 되었습니다. 이에 따라, 관련 하드웨어 및 소프트웨어 요구사항이 존재합니다.

자세한 사항은 tensorflow 설치 가이드에서 확인할 수 있습니다.

hw_req

sw_req


해결방법§

NVIDIA 홈페이지의 CUDA Toolkit 다운로드 페이지에서 맞는 버전을 다운받아 설치합니다.

최신 버전을 요구하지 않는 경우가 있으므로, 이 곳에서 해당하는 버전을 찾아 설치하시면 됩니다.

cudart64_xxx.dll에서 xxx 부분이 버전에 해당합니다.

예를 들어, 2020년 10월 기준 TensorFlow 2에서 요구하는 버전은 cudart64_101.dll로, 10.1 버전을 받으시면 됩니다.

아래 그림과 같이 뜨면 성공입니다.

solved

  • 모두 선택
  • Korean
  • 유사도 순
  • 오랜 날짜 순
  • 최근 날짜 순
  • 2020
  • 2021
  • 2022
  • 2023
  • C/C++
  • Geant4
  • Monte Carlo
  • Python
  • TensorFlow
  • VSCode
  • Windows
  • WSL
  • Geant4 무작정 따라하기
  • Geant4 설치 가이드
  • activity history
  • alias
  • Analysis
  • Autocompletion
  • Binary Release
  • BitHacks
  • BugFix
  • C
  • C++
  • ccmake
  • choco
  • Chocolatey
  • CLHep
  • CMake
  • CMakeTools
  • command
  • CPP
  • csv
  • CUDA
  • cudart64
  • cuDNN
  • Debian
  • DetectorConstruction
  • Deterministic
  • dll
  • encoding
  • Event
  • Filter
  • foreach
  • G4Box
  • G4Cons
  • G4Element
  • G4Isotope
  • G4LogicalVolume
  • G4Material
  • G4Orbs
  • G4PVPlacement
  • G4RandomTools
  • G4RotationMatrix
  • G4Sphere
  • G4ThreeVector
  • G4Transform3D
  • G4Tubs
  • G4VPhysicalVolume
  • G4VSolid
  • GCC
  • Geant4
  • Geometry
  • Git
  • Histogram
  • Hit
  • HitsCollection
  • HowTo
  • Install
  • Jupyter
  • libQt5Core
  • library
  • Linux
  • LogicalVolume
  • loop
  • macro
  • Material
  • Monte Carlo
  • MSVC
  • MultiFunctionalDetector
  • NIST
  • not found
  • Ntuple
  • nvcuda
  • ParticleGun
  • PhysicalVolume
  • Pi Calculation
  • plotly
  • Power
  • PowerShell
  • PrimaryGeneratorAction
  • PrimitiveScorer
  • Pylance
  • PyQt5
  • Python
  • Python3
  • Qt platform plugin
  • Qt5
  • QT_QPA_PLATFORM_PLUGIN_PATH
  • qt_qpa_plugin
  • Random Variable
  • recent items
  • Release Note
  • run
  • RunAction
  • Scoring
  • SensitiveDetector
  • Solid
  • strip
  • Tally
  • Template
  • TensorFlow
  • tf
  • timeline
  • Tracking
  • Ubuntu
  • UI
  • User directory
  • venv
  • Verbose
  • Version
  • Visual Studio Code
  • VSC
  • VSCode
  • Windows
  • Winget
  • Writing
  • WSL
  • WSL1
  • WSL2
  • WSLg
  • X server
  • X window
  • Xming
  • 결정론적
  • 몬테카를로
  • 몬테칼로
  • 사용자 폴더
  • 실행
  • 최근 항목
  • 타임라인
  • 한글
  • 활동 기록