Is darknet a floss program?

1 reply [Last post]
Other_Cody
Offline
Joined: 12/20/2023

Darknet is an open source neural network framework written in C and CUDA.

Is text in the README.md file I got using the

apt-get source darknet
https://wiki.hyperbola.info/doku.php?id=en:philosophy:incompatible_packages
shows that CUDA may not be a floss language.


cuda NVIDIA's GPU programming toolkit Package is completely non-free and therefore violating Hyperbola's standards!

https://en.wikipedia.org/wiki/Draft:Darknet_(software)

https://en.wikipedia.org/wiki/CUDA

may also have information about this program.

In the src folder there is a cuda.c and a cuda.h file in it.

Though https://pjreddie.com/darknet/install/
shows

Darknet is easy to install with only two optional dependancies:

OpenCV if you want a wider variety of supported image types.
CUDA if you want GPU computation.

Both are optional so lets start by just installing the base system. I've only tested this on Linux and Mac computers. If it doesn't work for you, email me or something?

But if it is written in C and CUDA does that mean that this program as a whole is not floss software seeing it may have CUDA in it? Or somehow links to CUDA? Or are any files in the apt-get written in CUDA?

Here is the text of apt-get

apt-get source darknet
Reading package lists... Done
Need to get 3,159 kB of source archives.
Get:1 https://archive.trisquel.org/trisquel aramo/main darknet 0.0.0+git20180914.61c9d02e-2build4 (dsc) [2,063 B]
Get:2 https://archive.trisquel.org/trisquel aramo/main darknet 0.0.0+git20180914.61c9d02e-2build4 (tar) [3,148 kB]
Get:3 https://archive.trisquel.org/trisquel aramo/main darknet 0.0.0+git20180914.61c9d02e-2build4 (diff) [9,288 B]
Fetched 3,159 kB in 1s (3,038 kB/s)
dpkg-source: info: extracting darknet in darknet-0.0.0+git20180914.61c9d02e
dpkg-source: info: unpacking darknet_0.0.0+git20180914.61c9d02e.orig.tar.xz
dpkg-source: info: unpacking darknet_0.0.0+git20180914.61c9d02e-2build4.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0001_fix_data_label_path.patch
dpkg-source: info: applying 0002_change_path_for_library.patch
dpkg-source: info: applying 0003-Fix-compilation-with-latest-OpenCV.patch
dpkg-source: info: applying 0004-Enable-C-11-for-OpenCV-4.patch
dpkg-source: info: applying 0005-Fix-1421-use-after-free.patch

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Darknet looks free software. It optionally depends on CUDA, but Trisquel's package does not.