Successful in porting and fully functional "pjreddie/darknet" YOLO 3 on FreeBSD 13.1 uses AMD GPU.

Hello,

If this brings interests to you, then its means you are looking to get YOLO machine vision, AI/ML working on FreeBSD which utilizes GPU.

We all know that Nvidia CUDA is not supported on FreeBSD and AMD's ROCm has not been ported yet.

So after doing months (2.5 months) of intense research on google, I stumbled upon a github which is a fork of pjreddie/darknet:

The great thing about this darknet github fork is that it makes use of all types of GPUs and not solely locked to Nvidia GPUs.
It is able to do so thanks to the gentlemen named Piotr Sowa who with great joy ported the CUDA code into pure and proper OpenCL from scratch.

Here is his blog describing how everything works:

So I spent the last 5 days on porting it to FreeBSD 13.1 with the great help from Sowa:

Everything is documented and I also included a patch for FreeBSD.

It's super fast too, I get "0.345936 seconds." For predictions with large sums of people in one image.

So finally, we can use AMD GPUs (literally any GPU which has OpenCL support) on FreeBSD to do accelerated YOLO 3 machine vision AI/ML tasks:
Best of all would not need to use ROCm reliance.


darknet_opencl_people_r.jpg


darknet_opencl_3.jpg



darknet_opencl_b_r.jpg


:)
 
Back
Top