facebookresearch / kill-the-bits

Code for: "And the bit goes down: Revisiting the quantization of neural networks"
Other
636 stars 123 forks source link

footprint memory cost! #21

Closed rafikg closed 5 years ago

rafikg commented 5 years ago

The example given in 4.1(metrics), I think the indexing cost is not well calculated: cost for save the centroid: 9 16(float16)256 / 1024 =4.5kB cost for indexing : 16bits 128(cin subvectors) 128(cout vector) / 1024 =32KB can you confirm?

pierrestock commented 5 years ago

Hey DeeperDeeper,

Thanks for reaching out! The example given in 4.1 is correct.

Hope this helps,

Pierre