yambda / benchmarks /models /sansa /README.md
ploshkin's picture
Add code for benchmarking
1be89f3 verified
|
raw
history blame
779 Bytes

SANSA

Training SANSA on Yambda-500M with Listens, on Yambda-5B with Likes and on Yambda-5B with Listens is infeasible due to the memory explosion during sparse matrix multiplication.

For example, given the base weights density of $5e-5$, the sparse matrix multiplication for Yambda-500M with Listens requires $466512103 * (3004578 ^ 2 * 5e-5) = 2.1e17 $ operations.

One may observe that the good solution is to try to reduce the weights density. However given the results on Yambda-50M with Listens, further reducing density would collapse the model’s capacity, it becomes obvious that it is just practically futile.

Unfortunately the main SANSA repository is not optimized for large datasets, so even on the Yambda-50M with Listens at least 100GB of RAM is required.