nicknochnack / TFODCourse

957 stars 924 forks source link

error: Can't find libdevice directory ${CUDA_DIR}/nvvm/libdevice #97

Open giangduong2001 opened 2 years ago

giangduong2001 commented 2 years ago

Hi guys, I have this error while training the model in cmd. image I have searched on the internet for solution but can't fix it. Can anyone help me? Thanks a lot.

yahyahajlaoui commented 2 years ago

you must add the cuda in your path , this is what the error means .

samieeme commented 2 years ago

Add the path of nvvm into the following env variable:

XLA_FLAG = --xla_gpu_cuda_data_dir=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3 XLA_FLAG = --xla_gpu_cuda_data_dir=C:\Users\Anaconda3\nvvm