Live data from Hacker News

Tinn: A tiny neural network library written in C99

github.com

11–20 of 62 posts

Re: Tinn: A tiny neural network library written in C99

#11
post #9
post #8

Earlier quoted context omitted.

“Installing a new neural network library is typically a tremendous pain because of onerous dependencies, python version hell, complicated Makefiles, and massive code bloat.” Finally people have started speaking up and doing something about it! May we see more of such mentality in the future, and computer industry will be a better place to work!

Bullshit. These days installing any major NN framework is pretty much just "pip install X". Unless you want GPU support, in which case it's just slightly more complicated.

The page referenced is an April Fools Day joke.

"We are finally at our April 1 Release (v4.1.2018)."

Re: Tinn: A tiny neural network library written in C99

#12
post #7
post #3

Single core? No AVX? What's the point of writing it in C?

Minimal dependencies; people are starting to get fed up with having to bootstrap and/or compile the planet just to be able to run some software. The situation has gotten completely out of hand, especially if one is not on GNU/Linux.

This does nor preclude the use of threads or SIMD.

Essentially this library is a demo toy that will need a lot to work to make useful in real conditions.

Re: Tinn: A tiny neural network library written in C99

#13
post #7

Earlier quoted context omitted.

Minimal dependencies; people are starting to get fed up with having to bootstrap and/or compile the planet just to be able to run some software. The situation has gotten completely out of hand, especially if one is not on GNU/Linux.

This does nor preclude the use of threads or SIMD. Essentially this library is a demo toy that will need a lot to work to make useful in real conditions.

That's exactly the point.

Re: Tinn: A tiny neural network library written in C99

#14
post #7

Earlier quoted context omitted.

Minimal dependencies; people are starting to get fed up with having to bootstrap and/or compile the planet just to be able to run some software. The situation has gotten completely out of hand, especially if one is not on GNU/Linux.

This does nor preclude the use of threads or SIMD. Essentially this library is a demo toy that will need a lot to work to make useful in real conditions.

> Essentially this library is a demo toy

It's 200 lines of C, what were you expecting?

Re: Tinn: A tiny neural network library written in C99

#15
post #10
post #6

Earlier quoted context omitted.

This is a lot more impressive! I'm puzzled by this bit in FAQ though: Q. It seems that it only does 1D feature vectors? A. Convolution and other inductive biases are only necessary when you have small data.

That page is likely not completely serious. They also write that compilers are for losers.

> That page is likely not completely serious.

The third line of the readme says "We are finally at our April 1 Release (v4.1.2018)." The date may be relevant. ;)

Re: Tinn: A tiny neural network library written in C99

#16
post #7

Earlier quoted context omitted.

Minimal dependencies; people are starting to get fed up with having to bootstrap and/or compile the planet just to be able to run some software. The situation has gotten completely out of hand, especially if one is not on GNU/Linux.

This does nor preclude the use of threads or SIMD. Essentially this library is a demo toy that will need a lot to work to make useful in real conditions.

When I'm looking for libraries to use on my Cortex M0 and M3 embedded devices, I prefer small code size to fast execution (as long as it's fast enough) and don't have SIMD and no use for threads. Sometimes size does matter greatly.

Re: Tinn: A tiny neural network library written in C99

#17
post #11
post #9

Earlier quoted context omitted.

Bullshit. These days installing any major NN framework is pretty much just "pip install X". Unless you want GPU support, in which case it's just slightly more complicated.

The page referenced is an April Fools Day joke. "We are finally at our April 1 Release (v4.1.2018)."

The code suggests otherwise...

Re: Tinn: A tiny neural network library written in C99

#18
post #8
post #2

How about in 12 kilobytes of assembly? More featureful implementation here: https://github.com/dfouhey/caffe64

“Installing a new neural network library is typically a tremendous pain because of onerous dependencies, python version hell, complicated Makefiles, and massive code bloat.” Finally people have started speaking up and doing something about it! May we see more of such mentality in the future, and computer industry will be a better place to work!

Developers still underestimate how much code bloat and dependency proliferation harm security and administration. Static linking encourages even more bloat by vendorizing dependencies.

Please make your applications modular. Optional dependencies are there for this reason.

Most good packaging tools support them.

Post reply on HN