tinygrad
tinygrad copied to clipboard
error: call to 'sqrt' is ambiguous
I was just testing YOLOv8 with OpenCL using a webcam:
GPU=1 DEBUG=4 python3 examples/yolov8.py webcam n
However, I got OpenCL compile error like this:
<kernel>:103:25: error: call to 'sqrt' is ambiguous
float cast0 = (float)(sqrt(((half)(1.0f)/(val2.x+(half)(0.001f)))));
Always casting before sqrt may be a solution but not sure.
I am having the exact same issue with an unmodified yolov8.py example file on a fresh tinygrad install from the main branch.
what hardware are you running on?
what hardware are you running on?
5900hx + 3080m 16gb + ubuntu 20.04