The current default network nn-c157e0a5755b.nnue is 21MB, if we compress it, the size is about 10MB, thus 10MB can be saved or the rate is 50%. That is a very good saving in long term, for downloading and storing.
I suggest SF NNUE:
allowing for compressed files would add more dependencies to the build... not a good idea IMO.
NN files themselves are dependencies already, we have to deal with them anyway
Having some dependencies doesn't mean we should add more.
You can implement a very simple Huffman or LZ codec which is not too long in terms of LOC, self contained and no dependencies needed.
All depends on how we implement it. If we add a 3rdparty library source code (not binary), 1 line or few files are the same. You may consider them (additional codes) are dependencies or not. At the moment, we have a few 3rdparty library source code already: syzygy, some for NN.
Please don't support internal compression, it prevents using actually good, external compression.
There is no need. Networks can be shared as .zip files, or through websites like GitHub, which already transmit content using transparent, HTTP-based compression.
Buy a bigger hard drive if you need to save 11Mb :-)
Buy a bigger hard drive if you need to save 11Mb :-)
It is not a good suggestion: if Syzygy EGTB wouldn't be compressed or had a worse ratio, it was hard to be that success ;)
But nothing is stopping you from compressing the network files. It is just the one you are currently using that needs to be uncompressed.
For TBs this is quite different.
I'll close this for the reasons mentioned.
Most helpful comment
Please don't support internal compression, it prevents using actually good, external compression.