CP.AI check what GPU have and if it is in the list of GPU the do not support half-precision it will disable half-precision automatically.
023-02-11 21:02:59: Video adapter info:
2023-02-11 21:02:59: NVIDIA GeForce RTX 2060:
2023-02-11 21:02:59: Adapter RAM 4 GiB
2023-02-11 21:02:59: Driver Version 31.0.15.1694
2023-02-11 21:02:59: Video Processor NVIDIA GeForce RTX 2060
2023-02-11 21:02:59: ------------------------------------------------------------------
2023-02-11 21:02:59: ROOT_PATH = C:\Program Files\CodeProject\AI
2023-02-11 21:02:59: MODULES_PATH = C:\Program Files\CodeProject\AI\AnalysisLayer
2023-02-11 21:02:59: DOWNLOADED_MODULES_PATH = C:\Program Files\CodeProject\AI\modules
2023-02-11 21:02:59: PYTHON_BASEPATH = C:\Program Files\CodeProject\AI\AnalysisLayer\bin\windows\%PYTHON_RUNTIME%\venv
2023-02-11 21:02:59: PYTHON_PATH = C:\Program Files\CodeProject\AI\AnalysisLayer\bin\windows\%PYTHON_RUNTIME%\venv\scripts\Python
2023-02-11 21:02:59: Temp Dir: C:\Windows\TEMP\
2023-02-11 21:02:59: Data Dir: C:\ProgramData\CodeProject\AI
2023-02-11 21:02:59: ------------------------------------------------------------------
2023-02-11 21:02:59: ModuleRunner Start
2023-02-11 21:02:59: Starting Background AI Modules
2023-02-11 21:03:00: Starting C:\Program Files...ws\python37\venv\scripts\Python "C:\Program Files...tectionYolo\detect_adapter.py"
2023-02-11 21:03:00:
2023-02-11 21:03:00: ** Module 'Object Detection (YOLOv5 6.2)' (ID: ObjectDetectionYolo)
2023-02-11 21:03:00: ** Active: True
2023-02-11 21:03:00: ** GPU: Support enabled
2023-02-11 21:03:00: ** Parallelism: 0
2023-02-11 21:03:00: ** Platforms: all
2023-02-11 21:03:00: ** FilePath: detect_adapter.py
2023-02-11 21:03:00: ** ModulePath: ObjectDetectionYolo
2023-02-11 21:03:00: ** Install: PreInstalled
2023-02-11 21:03:00: ** Runtime: python37
2023-02-11 21:03:00: ** Queue: objectdetection_queue
2023-02-11 21:03:00: ** Start pause: 1 sec
2023-02-11 21:03:00: ** Valid: True
2023-02-11 21:03:00: ** Environment Variables
2023-02-11 21:03:00: ** APPDIR = %CURRENT_MODULE_PATH%
2023-02-11 21:03:00: ** CPAI_CUDA_DEVICE_NUM = 0
2023-02-11 21:03:00: ** CPAI_HALF_PRECISION = Enable
2023-02-11 21:03:00: ** CPAI_MODULE_SUPPORT_GPU = True
2023-02-11 21:03:00: ** CUSTOM_MODELS_DIR = %CURRENT_MODULE_PATH%/custom-models
2023-02-11 21:03:00: ** MODELS_DIR = %CURRENT_MODULE_PATH%/assets
2023-02-11 21:03:00: ** MODEL_SIZE = Medium
2023-02-11 21:03:00: ** USE_CUDA = True
2023-02-11 21:03:00: ** YOLOv5_AUTOINSTALL = false
2023-02-11 21:03:00: ** YOLOv5_VERBOSE = false
2023-02-11 21:03:00:
2023-02-11 21:03:00: Started Object Detection (YOLOv5 6.2) module
2023-02-11 21:03:02: Starting C:\Program Files...ws\python37\venv\scripts\Python "C:\Program Files...tectionYolo\detect_adapter.py"
2023-02-11 21:03:02:
2023-02-11 21:03:02: ** Module 'Object Detection (YOLOv5 6.2)' (ID: ObjectDetectionYolo)
2023-02-11 21:03:02: ** Active: True
2023-02-11 21:03:02: ** GPU: Support enabled
2023-02-11 21:03:02: ** Parallelism: 0
2023-02-11 21:03:02: ** Platforms: all
2023-02-11 21:03:02: ** FilePath: detect_adapter.py
2023-02-11 21:03:02: ** ModulePath: ObjectDetectionYolo
2023-02-11 21:03:02: ** Install: PreInstalled
2023-02-11 21:03:02: ** Runtime: python37
2023-02-11 21:03:02: ** Queue: objectdetection_queue
2023-02-11 21:03:02: ** Start pause: 1 sec
2023-02-11 21:03:02: ** Valid: True
2023-02-11 21:03:02: ** Environment Variables
2023-02-11 21:03:02: ** APPDIR = %CURRENT_MODULE_PATH%
2023-02-11 21:03:02: ** CPAI_CUDA_DEVICE_NUM = 0
2023-02-11 21:03:02: ** CPAI_HALF_PRECISION = Enable
2023-02-11 21:03:02: ** CPAI_MODULE_SUPPORT_GPU = True
2023-02-11 21:03:02: ** CUSTOM_MODELS_DIR = %CURRENT_MODULE_PATH%/custom-models
2023-02-11 21:03:02: ** MODELS_DIR = %CURRENT_MODULE_PATH%/assets
2023-02-11 21:03:02: ** MODEL_SIZE = Medium
2023-02-11 21:03:02: ** USE_CUDA = True
2023-02-11 21:03:02: ** YOLOv5_AUTOINSTALL = false
2023-02-11 21:03:02: ** YOLOv5_VERBOSE = false
not sure why it shows enable in the logs even though it sees the correct gpu and that gpu is on the list of not supported...i had to manually set it to disable just now, rebooted, and it shows disabled for half-precision in the log