n90  
                
                  
                    November 22, 2021,  5:37am
                   
                  1 
               
             
            
              I am working on a server with Tesla M60. When i try running the sample code am getting the following error. Using CUDA.jl I checked the versioninfo() and gpu is recognized and working. What is the cause of this error and possible solution for the error.
WARNING: could not import CUDNN.cudnnTensorDescriptor into CUDNN
             
            
              
            
           
          
            
              
                jw3126  
              
                  
                    November 22, 2021,  7:13am
                   
                  2 
               
             
            
              I don’t know the Yolo.jl package. But the first thing I would guess is that it might be incompatible with the CUDA.jl version installed. Try ]st to find out the CUDA.jl version. Also, you can try ]test CUDA to see if CUDNN workers as expected.
             
            
              
            
           
          
            
              
                n90  
              
                  
                    November 23, 2021, 12:02pm
                   
                  3 
               
             
            
              Hey thanks for the reply. I tried ]test CUDA and it is failing. CUDA.versioninfo() shows CUDNN in its dependencies. I am currently trying to find out what the issue is with CUDA package. Other than ]test CUDA is there a way to check if the CUDA package is initialized properly. Thanks.
             
            
              
            
           
          
            
              
                maleadt  
              
                  
                    November 23, 2021, 12:04pm
                   
                  4 
               
             
            
              If CUDA.versioninfo() works, the package initializes successfully. Try creating a CuArray to verify.
             
            
              
            
           
          
            
              
                n90  
              
                  
                    November 26, 2021,  5:47am
                   
                  5 
               
             
            
              Hey thanks for the reply. I created a CuArray and checked. It is working but ]test is still failing. Is there any other way I can traceback the issue? I am using CUDA v3.5.0.
             
            
              
            
           
          
            
              
                maleadt  
              
                  
                    November 26, 2021,  7:27am
                   
                  6 
               
             
            
              What is the exact failure? There’s thousands of tests, and it’s possible that some fail on an untested platform. You can file an issue for this.
             
            
              
            
           
          
            
              
                n90  
              
                  
                    November 29, 2021, 12:30pm
                   
                  7 
               
             
            
              On running ]test CUDA it fails with this error.
Testing Running tests…#51 #53"{GPUCompiler.CompilerJob{GPUCompiler.PTXCompilerTarget, CUDA.CUDACompilerParams, GPUCompiler.FunctionSpec{typeof(GPUCompiler.Runtime.box_bool), Tuple{Bool}}}, LLVM.Module})(pm::LLVM.ModulePassManager)#51 #53"{GPUCompiler.CompilerJob{GPUCompiler.PTXCompilerTarget, CUDA.CUDACompilerParams, GPUCompiler.FunctionSpec{typeof(GPUCompiler.Runtime.box_bool), Tuple{Bool}}}, LLVM.Module})#186 #188"{Set{VersionNumber}, CUDA.CUDACompilerParams, GPUCompiler.FunctionSpec{CUDA.var"#185 #187", Tuple{}}})(ctx::LLVM.Context)#186 #188"{Set{VersionNumber}, CUDA.CUDACompilerParams, GPUCompiler.FunctionSpec{CUDA.var"#185 #187", Tuple{}}})
             
            
              
            
           
          
            
              
                maleadt  
              
                  
                    November 29, 2021,  1:13pm
                   
                  8 
               
             
            
            
              
            
           
          
            
              
                cirobr  
              
                  
                    April 24, 2022, 11:17am
                   
                  9 
               
             
            
              Had exactly same issue. Found that CUDA was outdated and LLVM not installed. Solution was simply:
]
add LLVM
up CUDA
After that, CUDA testing ran properly.