You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logw "XILINX/XMA drivers not found, skipping preload."
264
+
logi "Xilinx/XMA driver not found. hardware acceleration is not supported"
261
265
fi
262
266
}
263
267
264
268
preload_nvidia_driver() {
265
-
logi"Checking for NVIDIA/CUDA drivers to preload..."
269
+
logd"Checking for NVIDIA/CUDA drivers to preload..."
266
270
267
-
# CUDA 10.x libraries. It will be deprecated soon.
271
+
# Deprecated
272
+
# CUDA 10.x libraries.
268
273
local lib_files_10=(
269
274
"libnvidia-ml.so.1"
270
275
"libcuda.so.1"
@@ -298,18 +303,22 @@ preload_nvidia_driver() {
298
303
)
299
304
300
305
if load_library_set_if_complete "NVIDIA/CUDA 12.x""${lib_files_12[@]}";then
306
+
logi "NVIDIA/CUDA 12.x drivers are installed. hardware acceleration is supported"
301
307
return
302
308
fi
303
309
304
310
if load_library_set_if_complete "NVIDIA/CUDA 11.x""${lib_files_11[@]}";then
311
+
logw "NVIDIA/CUDA 11.x drivers are installed. hardware acceleration is supported. However, Some features may not be supported. it is recommended to update to CUDA 12.x for better performance and compatibility.."
305
312
return
306
313
fi
307
314
308
-
if load_library_set_if_complete "NVIDIA/CUDA 10.x""${lib_files_10[@]}";then
309
-
return
310
-
fi
315
+
# Deprecated
316
+
#if load_library_set_if_complete "NVIDIA/CUDA 10.x" "${lib_files_10[@]}"; then
317
+
# logw "NVIDIA/CUDA 10.x drivers are installed. hardware acceleration is supported. However, Some features may not be supported. it is strongly recommended to update to CUDA 12.x for better performance and compatibility. "
318
+
# return
319
+
#fi
311
320
312
-
logd "No complete NVIDIA/CUDA library set found. Skipping NVIDIA preload."
321
+
logi "NVIDIA/CUDA driver not found. hardware acceleration is not supported"
0 commit comments